Shopify themes, liquid, logos, and UX
Hi, We followed the instructions here to add a gift card option to our cart. (https://help.shopify.com/en/manual/online-store/themes/os/customize/add-gift-wrap-option)
We've found that since adding it, if you check the gift card box, the gift card is added and then the cart keeps refreshing over and over making it impossible to complete checkout.
Can anyone help?
site: 46degrees.com.au
Solved! Go to the solution
This is an accepted solution.
Hi @SB2021,
Please remove this code: https://i.imgur.com/U7kBrGy.png , https://i.imgur.com/7GeUxL9.png
Hope it clear to you.
This is an accepted solution.
Hi @SB2021,
Please remove this code: https://i.imgur.com/U7kBrGy.png , https://i.imgur.com/7GeUxL9.png
Hope it clear to you.
Thank you, that looks like it fixed it. The second screenshot seemed to be included in the first screenshot, so I just deleted everything in the first screenshot.
Do you mind explaining why it was doing what it was doing?
Hi @SB2021,
Screenshot 2 does include screenshot 1, I'll just help you see if you can't find the code for screenshot 1.
With this code, it will make the page always catch giftwrap event when page reload and checkbox is checked. So when reloading selected checkbox it will default to add giftwrap with ajax and make endless loop.
Hope it clear to you.
Yes that's clear. So does this mean I only needed to remove the first screenshot and not the entire 4 commented sections in the second screenshot?
Hi @SB2021,
Screenshot 2 is the overall code, if possible you should delete according to screenshot 2.
It will be the best.
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024