App reviews, troubleshooting, and recommendations
I've been using Klaviyo BiS functionality on my Minimal store and it's been great. I've just rebuilt on Impulse, and adding BiS is my last task.
Unfortunately it appears that the standard code that Klaviyo supply for theme.liquid doesn't work on a third party theme.
Can anyone help me out and let me know what I need to do please?
Thank you 🙂
You need to follow the instructions on this page as you did for your previous theme.
For unsupported (custom) themes - you need to add a class "klaviyo-bis-trigger" to the add to cart button when your item is out of stock.
Something like the below should work;
<button type="submit class="btn {% if product.selected_or_first_available_variant.inventory_quantity <= 10 %}klaviyo-bis-trigger{% endif %}">
Add to Cart
</button>
Where do we paste this code? thanks
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024