I am trying to add Klaviyo code for back in stock button/flow into Prestige theme followed instructions to add to liquid theme and it didn’t work tried adding to main product liquid and I cant get it in the right place it always ends up at very top of the page or under my social media share buttons does anyone have any ideas? I have googled and youtube’d and cant find an answer any help would be appreciated thank you Kelsey
This is Noah from PageFly - Shopify Page Builder App
To add Klaviyo’s “Back In Stock” code to the Prestige Shopify theme, you can follow these steps:
Log in to your Shopify admin panel.
From the sidebar, go to “Online Store” and select “Themes.”
In the “Themes” section, locate the Prestige theme and click on “Actions” > “Edit code.”
Now, you’ll need to make changes to the theme code files:
In the list of theme files, navigate to “Snippets” and click to open the “product-form.liquid” file.
Look for the “{% section ‘product-template’ %}” code within the file.
Below this line, you can add the Klaviyo “Back In Stock” code provided by Klaviyo’s documentation.
After adding the Klaviyo code, save the changes to the file.
Note: It’s recommended to backup your theme before making any modifications, so you can easily revert to the previous version if needed. Also, ensure that you have properly set up your Klaviyo account and have obtained the necessary code snippet from Klaviyo’s documentation.
After completing these steps, the Klaviyo “Back In Stock” code should be added to the Prestige Shopify theme, specifically on the product page. This will enable the “Back In Stock” functionality provided by Klaviyo for your products.
Remember to test the functionality to ensure that it’s working as expected by subscribing to email notifications for product restocks and verifying the process on your storefront.
If you encounter any issues or require further assistance, it’s advisable to consult Klaviyo’s documentation or reach out to their support for specific guidance related to integrating their “Back In Stock” functionality with the Prestige Shopify theme.
thank you so much for your super fast response I have gone to this section but there is no “{% section ‘product-template’ %}” in this snippet or anything similar I have looked through all of it and cant find anything that seems like it may be this can I post the code from this snippet in here?
Hi @themountmerch There must be the different file name because of the theme structures.
If your theme doesn’t have this file, I think you should contact for theme support, and ask for the file name that has the same functionality as the {% section ‘product-template’ %}