dawn theme - 'add to cart' button

Topic summary

A store owner using the Dawn theme wants to change the ‘Add to Cart’ button text to ‘Pre-Order Now’ for two specific products tagged ‘mothers day’. These products are temporary (will be moved to drafts by month’s end), and the change should only affect tagged items while leaving other products unchanged.

Proposed Solution:
A developer provided custom Liquid code to conditionally display button text based on product tags:

  • Insert code in buy-buttons.liquid file
  • Uses conditional logic: {% if product.tags contains 'mothers day' %}
  • Shows ‘Pre-Order’ for tagged products, ‘Add to Cart’ for others

Implementation Issue:
The store owner reports not finding the buy-buttons.liquid file in their theme, only main-product.liquid. The developer confirmed this file should exist in Dawn and provided instructions to locate it via the theme code editor.

Additional Recommendation:
A pre-order app developer suggested considering more comprehensive pre-order functionality (clear communication throughout checkout, automated management) rather than just button text changes, offering a free plan option. The store owner declined, preferring to trial manually first.

Status: Unresolved - awaiting file location confirmation or alternative implementation approach.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Hi, I am wondering if anyone can help me please.

I have two products in my drafts that have tags ‘mothers day’ as these products will be moved back to drafts in a few weeks. I am doing pre-orders and want the button on the two pages from this tag to show the button ‘pre-order now’ instead of ‘add to cart’

This is only for the products on this tags as my website has a form for other products and I need the ‘add to cart’ button for those. Is this possible to do?

Thank you!

If there’s a pre order button created by Shopify already, yes you can choose to hide or show the button checking for the mother’s day tags on products.

Hi, as per the attached image, it says add to cart. I am looking to amend that wording for the pages using the mother’s day tag only. Thank you

Ohh okay. Yeah its possible as well

Ok, are you able to help with this? Thanks

Yeah, i can. What theme are you using?

Thank you.

I am using Dawn! I have created two products with one tag. So I only want the tagged products to have the button amended as these will be moved to ‘drafts’ by the end of the month so I don’t want the rest of the website to be amended only the tagged products.

Since you are using dawn, i can try this on my dev store and update the code with you. second option is if you can give me collab access it would just make things easier for the both of us.

If you could try it on your side first that would be helpful. As I said I am only looking for this on two products I have with a specific tag. Thanks so much!

Okay, no worries. I will update the code. You can take it from there. Just to confirm you just need the words from add to cart to preorder for the tagged products?

Thank you so much! Yes thats correct only for two products using a tag.

Kindly share your store url

Hi @Ankita31 !,

What you’re asking for is possible with some custom coding in your theme files. However I would also suggest considering more than swapping the button text if you’re going to run pre-orders.

You want to make sure the customers clearly know that they are purchasing a pre-order, and when they can expect it to ship. Additionally, they should be able to see that it’s a pre-order product through the entire checkout process and in any order confirmation emails/order status pages etc. I run a pre-order app (Early Bird) for context, so I know how important it is to communicate this clearly to avoid customer complaints or refunds.

You can also automate a lot of this functionality without having to add/remove tags if you used a pre-order app to manage things, but I understand if you’re just trialing the pre-order process and want a simple approach. We do have a back-order feature which covers the basic functionality you’re wanting here, and is available on our Free plan if you wanted to test it out and avoid editing any theme files.

Let me know if you want to chat pre-orders, happy to help!

Hey @Ankita31 Got this. So open your buy-buttons.liquid file add this code.

{% if product.tags contains ‘mothers day’ %}
{{ ‘Pre-Order’ }}
{% else %}
{{ ‘products.product.add_to_cart’ | t }}
{% endif %}

I have highlighted the code i have given for the position of where to insert the code. Please help yourself on that. I would definitely also suggest you to consider @JayAdra comments here. If there’s no such change in functionality then there’s no problem but when it comes to client satisfaction we should focus on that, after all no clients no business, right??

Hi, thanks for reaching out. Most apps on Shopify have a small amount of pre-orders that can be used on free trials. I am aware that you can change the button and the pre-order info will be in the description. This is the first time and I am trialling it and not sure if I will be looking to continue them, it all depends. However, I have used tags for my two products as they will be archived by the end of the month so I don’t want anything interfereing with my live site and my other products. Thank you :slightly_smiling_face:

Hi

Thanks so much for this, I do not have buy buttons liquid file, only the main product liquid. Thanks

What version of dawn theme are you using??

Nevertheless you should have a buy-buttons.liquid file on the dawn theme.

Click the three dots on your live theme and click on edit code. On the theme code editor look for this file.

No worries at all - hope the trial goes well for you. Feel free to reach out if you were interested in running a bigger pre-order campaign and wanted to try an app out.

@Korede-Agency

Are you able to help with this please? Thank you in advance!