Skip to main content
Contributor IV
February 23, 2023
Solved

Back in stock button DO NOT APPEAR as a BUTTON on Dawn Theme

  • February 23, 2023
  • 14 replies
  • 1314 views

Hello Everyone!

I have new theme Dawn, and now when I install back in stock button, it’s not a button anymore 😃

It is just a piece of text. I cannot access any support as my account is older than 60 days, but I am also not a developer to fix it myself. I would be very thankful is someone from our community would be able to help me to fix the damaged code Klavyio provides for back in stock button. 

I want it to be as before - instead of ADD TO CARD → Notify Me

I also do not want to have this button ON when product is in stock. 

It worked very well before but now it is al messed up and for person without coding skills not possible to fix. 

This topic has been closed for replies.
Best answer by Brian Turcotte

Hi @cardsjcsb!

 

Understood - here’s how I would respond to these two issues:

  1. The link vs. button display will likely come down to the CSS (“design” files) of your site. Since Dawn is not a Klaviyo-supported platform, Support will not be able to troubleshoot custom CSS, but you could always reach out to one of our wonderful Official Klaviyo Partners for extra development help if desired. Here’s another Community thread discussing the same topic:
  2. Per this reply from my colleague David, two common reasons why the back in stock button is displaying for products that are in stock (or vice versa) is due to either the theme’s variant selector not properly updating, or it’s because you have the “continue selling when out of stock” option enabled in your Shopify backend:

 

Thanks again for using the Community!

- Brian

14 replies

Omar
Partner - Platinum
2025 Champion
April 16, 2023

If you really want to learn how to do this yourself I suggest these resources as good starting points:

To troubleshoot your current button:

I hope this helps.

 

Omar Lovert // Polaris Growth // Klaviyo Master Platinum Partner

We help with e-commerce growth through CRO, Klaviyo and CVO

 

Helping E-commerce brands maximize Lifetime Value & Profits with Klaviyo, CRO & CVO - Get your free Audit - https://link.polarisgrowth.com/free-audit
cardsjcsbAuthor
Contributor IV
April 24, 2023

Is there any chance I can contact you and your team to help with this issue?

Contributor I
May 30, 2023

Is there any chance I can contact you and your team to help with this issue?

 

I found a solution 

Replace this in the klaviyo snippet

product_page_class: 'btn',

to

product_page_class: 'button',

 

and change this one 

replace_sold_out: false

to ‘true’

 

 

Contributor I
January 26, 2024

Is there any chance I can contact you and your team to help with this issue?

 

I found a solution 

Replace this in the klaviyo snippet

product_page_class: 'btn',

to

product_page_class: 'button',

 

and change this one 

replace_sold_out: false

to ‘true’

 

 

BLESS YOU! I’ve also been trying to figure this out for hours. Thanks so much! Such a simple solution ha.