If you have placed a button in your Free Shipping Bar or have made the bar clickable, but clicking the button/bar does not work, you may need to add a line of code to fix the issue.
First, let's prepare the line of code we need to insert.
We'll start with this template:
<script type="text/javascript" src="https://cdn.hextom.com/js/freeshippingbar.js?shop=example.myshopify.com"></script>
Notice a part of that line, toward the end, that reads "example.myshopify.com". You'll need to replace that part with your shopify URL.
Make sure there are still quotation marks after the .com section.
Next, you'll need to get into the code editing space. For that click on:
1 ) Online Store
2) Themes
3) Then click Actions drop down(on the right side of the page) and click 'Edit Code'
Next click on theme.liquid
In the window with the code, scroll all the way down to the bottom. You'll see '</body>' in the code. Just above that is where you'll paste the line of code you prepared earlier.
It should look like this after pasting:
Then, click "Save" in the top right.
Check out your site to see if it's working correctly.
Comments
0 comments
Article is closed for comments.