A user needed to change the ‘Add to Cart’ button text to ‘Pre-order Now’ for products using a specific template (pre-order-2) on a Shopify store running Prestige 7.3.6 theme.
Solution provided:
Modify the product section file (sections/main-product.liquid)
Use conditional Liquid code to check if the template name matches ‘product.pre-order-2’
Display custom button text (‘Pre-order Now’) for that template, otherwise show default ‘Add to Cart’
Code structure:
{% if template.name == 'product.pre-order-2' %}
[Pre-order button]
{% else %}
[Add to Cart button]
{% endif %}
Outcome:
The solution was successfully implemented and resolved the issue. The helper also offered guidance on making the text dynamic (e.g., ‘Order for May 15th’) based on product data if needed.
Summarized with AI on October 29.
AI used: claude-sonnet-4-5-20250929.
Hello, I’m working on a client’s site: maisonmargauxltd.com and have created a template for products that are available to pre-order (pre-order-2). Site is built with the Prestige 7.3.6 theme.
Client would like me to change the wording on the button from ‘add to cart’ to “Pre-order Now” / “Reserve Yours” / “Order for May 15th” or similar.
Could anyone help with the code required for this please? I’m familiar with implementing code but less so with writing it!