Klaviyo 'Notify me when back in stock' button on Dawn 4.0.0

Hello!

I’m having trouble getting the Klaviyo ‘Notify me when back in stock’ button to appear on Dawn (version 4.0.0). I tried using the default code provided by Klaviyo (Dawn is not listed at their supported themes page), but I can’t get it to show up. Here is the code:


Googling the issue I found an article that suggested replacing the:


to include the alternate anchor ID in the main-product.liquid file:


However, it doesn’t show up. Disabling/enabling the dynamic check out buttons makes no difference.

Any help would be greatly appreciated!

having the same issue :disappointed_face:

Hello. I am using Dawn 5.0 so you might need to update.

What I did was replaced this line

product_page_class: 'button button--full-width',

to

product_page_class: 'button',

and change this one

replace_sold_out: false

to true, this will replace the “sold out” button to “notify me”, but it is the only way that I could make it work, otherwise the “notify me” button is showing up under price and no matter what I tried I could not make it show under the sold out button. Hope it helps.