Shopify themes, liquid, logos, and UX
Hello guys,
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
Dear KetanKumar,
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
User | RANK |
---|---|
125 | |
98 | |
74 | |
72 | |
40 |
Learn these 5 things I had to learn the hard way with starting and running my own business
By Kitana Jan 27, 2023Would you love to unleash the unbridled power of the Google Shopping Channel into your sho...
By Gabe Jan 6, 2023How can you turn a hobby into a career? That’s what Emmanuel did while working as a wa...
By Skye Dec 30, 2022