This is an issue with the Buy Button. I do not have a full shop and relying on the embedded code from Shopify.
Any time I paste in the code for the 'basic' layout [which is just the Add to Cart button] into my site, it's duplicating the button once underneath. Upon saving, its only one, but the moment I reload the page it turns into two versions. Reloading once more removes the second one.
It just seems to be glitching out no matter what I try and my site support does not provide insight ti 3rd party embeds and recommended using <iframe>.
Is this possible?
Its strange! May be calling twice? can you please share link where you added code?
I think its page cache issue
If I refresh, then its showing only once but when I press back button its coming twice. maybe html load old page and again script loading another time
code is fine, I'm not sure why its calling twice when going to back page
I've consulted with the site support [cargo.site]
This was their response to the issue :
Iframe is more stable within our site. When we remove the code, save, then readd the code and save- the issue is temporarily resolved. Unfortunately we do not offer support for 3rd party embeds. If you can take advantage of iframe embeds, it is much more stable.