Shopify persitent cart without apps is not working
Agonn opened this issue · comments
Hi, I am having hard time using this snippet on my shopify store. I copied the code and added hmac but it's not working. It's not even sending the request. See Here
Create a test account it's fine, I console logged customer ID and cookie but to no avail. Thanks, hope we can fix this.
Having trouble using the snippet isn't an issue but if you can give some details of what you did and where you went wrong I might be able to give you some tips. It's also possible it just doesn't work anymore so your context will help.
This is a fairly out there idea so comes with risk as noted in the original blog post:
https://freakdesign.com.au/blogs/news/add-a-persistent-cart-to-shopify-without-apps
Hi thank you for your reply, the issue is that it's not pushing the cart when the customer ID match in the if condition, tried playing with it but to no avail.