https://empiricalwater.com/products/bundle
On the above page, I have the dynamic checkout button enabled. I also have a “Notify me when available” button enabled. How do I replace the dynamic checkout button with the “Notify me when available” button when an item is out of stock? I need it to stay sticky in the exact same way as it is now.
Dawn theme.
Thanks!
Hi @empiricalarby
You can add this code to theme.liquid file after in Sale channels > Online Store > Themes > Edit code to hide Buy now button when an item is out of code
Nicely done!! Exactly what I needed. Thanks.
I noticed one weird issue: When I click to that webpage through my own instagram profile (see the link in my profile here: https://www.instagram.com/empiricalwater/), that same page loads a bit differently in instagram’s built-in browser on my phone. This doesn’t seem to be an issue on desktop at all.
The issue is that the add to cart button is present, when it should not be there on this one particular product page. For example in your own screenshot, the add to cart button is not present, and that’s exactly the way it should be.
Any idea how to fix this issue as it appears on instagram’s built-in browser? I would like to mark that as solution as well. Thanks.
That button is there, but you guys add a javascript code to hide it when open on browser URL, and it wont work when you open the product page using Instagram popup window
If you want to hide that button, please update previous code to this