Changing the Email Me When Available button on the dawn theme

Hello,

First time posting here and hoping someone can help me find the place in the code or give me a direction in changing the Email Me When Available button on the product page for the new DAWN theme.

Any help is much appreciated!

Hi @BrianUpsaint ,

Please provide more information. Are you trying to remove the add to cart button and replace it with “Email me” text?

Thanks for your reply! When the product selected is out of stock there is a button that shows up that says Email Me When Available and I want to update the style of that button

Hi @BrianUpsaint ,

More like a pre-order kindda thing. One more question, is your product have multiple variants? The reason I am asking is, this will change the code big time, since you will need a javascript code.

If not, you can use the code below.

  1. From your Admin store, go to Online store > Themes > Click Actions > Edit code
  2. Open the Section folder, and find the main-product.liquid file.
  3. Find the {{ ‘products.product.sold_out’ | t }}, and replace it with the text you want. In my case, I place “Email me!”