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

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

EdgarPateno
Shopify Partner
59 0 5

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

Replies 4 (4)

Lucid_Polygon
Shopify Partner
349 63 92

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?

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution
EdgarPateno
Shopify Partner
59 0 5

@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?  

Bram2
Tourist
10 0 4

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!

basilkhan
Shopify Partner
49 0 5

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!

Co-founder and Product Developer at Freshly Commerce ️ | Building Simple Bundles, Simple Discounts, and Freshly Inventory