donation
donation copied to clipboard
Product not getting added to cart
Everything seems to be working fine, but then clicking on the donation options (while it does refresh the cart) nothing is added to the cart, the cart page simply refreshes. Any ideas?
did you ever figure out how to fix this? same issue here :(
Hello, I've someone figure out how to resolve the problem ? I'm having the same issue and I haven't been able to debug the code. :/ Thanks
Hey, I had a similar issue with this snippet, but in my case, the cart wouldn't update at all.
In my case, using the Debut theme, I needed to add
{{ '//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js' | script_tag }} {{ 'api.jquery.js' | shopify_asset_url | script_tag }}
Somewhere in the donations.liquid snippet for the theme to load jQuery properly, so the script would run.
Hope this helps!
Hello, I've managed to correct the problem but I don't even remember how since time has past. Thanks for you response !
I have this same issue but the product will not add to the cart in from the first radio box, so I have had to add $0 to the tip menu (https://take.ms/hvdHX). Does anyone know how to fix this? I am using the debut theme as well. I added the ajax code as mentioned above (https://take.ms/L5A5x).
Thanks
Thank you rmykolas this worked for me using Dawn V11. I put it just before the first script in donation.liquid