How to change Add to Cart button to Preorder on Dawn theme when inventory is zero?

Hi,

I am using the Dawn theme.

I wanna replace the ADD TO CART button to PREORDER when the inventory reaches 0.

Please help.

Thanks

1 Like

What will happen when someone clicks the pre-order button? Will they place an order?

I mean - only the text changes. All functionality remains the same. Correct?

@Lucid_Polygon , the PREORDER button should not remove the ADD TO CART button. The PREORDER button will only show up when the inventory is zero. When a visitor clicks on the PREORDER button, he/she should be able to place the order just like the add to cart button.

@Saad_bin_naeem , thanks. I will try this. Will this not remove the ADD TO CART button?

Hi @EdgarPateno ,

If you are looking to sell Preorder when inventory reaches 0 without having to touch theme code, you can use a free pre-order app like DC Preorders. There’s a help doc that walks through the setup for selling the pre-order when they are out of stock: https://help.dashcheckout.io/article/29-sell-pre-orders-only-when-out-of-stock.

Hope this helps!

Hello!

Can you update this post on the new version of Dawn theme?

I im trying to find “product-form_submit” but its not inside main-product.liquid.

Thanks!