Shopify themes, liquid, logos, and UX
I want to create automatic pre-order when item out of stock.
I have read the instruction change item template from default to pre order one which you have to create. However, this is basically just change from "add-to-cart" to "pre-order "which you have to do it manually.
I'm looking for a way to make automatic switch from "add-to-cart" to "pre-order " when the stock turn to zero.
Anyone have any idea how to edit those code or any other option?
Thank you very much in advance.
sorry for any issue can you please try this code
Thank you for your solution. I've follow the instruction.
My problem is that i want shopify to change from "add to cart" to "Pre order" when the stock is 0.
i just don't want to go changing product template every time for every product when it run out of stock.
My point is when item A has more than 0 , the button should be "Add to Card"; when the same item is sold out, the button turn automatically to "Pre order".
I hope you get my problem.
sorry for that issue yes is possible to custom code work at same template doesn't change
It can be done by doing some code customization. please send me a personal message and we can discuss what you'd like
thanks i will sent
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023
One of the key components to running a successful online business is having clear and co...By Ollie Mar 6, 2023