Unwanted Duplicating

RonaldWaters
New Member
4 0 0

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?

0 Likes
Jivan_Suhagiya
Shopify Partner
485 64 102

Hi,
Its strange! May be calling twice? can you please share link where you added code?

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
0 Likes
Jivan_Suhagiya
Shopify Partner
485 64 102

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  

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
0 Likes
RonaldWaters
New Member
4 0 0

So is the code solid and is there anything I can add to it to make it call once on the first visit ?

0 Likes
Jivan_Suhagiya
Shopify Partner
485 64 102

code is fine, I'm not sure why its calling twice when going to back page

If helpful then please Like and Accept Solution.
Email: suhagiyajivan1992@gmail.com
Skype: jivan.suhagiya
First kind of Checkout Reminder APP: https://apps.shopify.com/checkout-reminder
0 Likes
RonaldWaters
New Member
4 0 0

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.

0 Likes