I have looked in themes.js under assets to find $.post(params) but couldn't find it (I've used ctrl-f quick search function). I am using Debut as well. Is there any other way? I have fallowed the steps recommended by Shopify at this link: https://help.shopify.com/en/themes/customization/products/add-to-cart/stay-on-product-page-when-item... as an alternative... it did not work, upon adding everything I still get taken to the cart page after adding product to cart from the product page.
Your method seamed more straight-forward, but alas I can't find that line of code in theme.js, as I mentioned.
Then i have to check in code. add me as staff(firstname.lastname@example.org) i will check
I have checked you not ajax cart functionality on your store its general add to cart using page reload. you have to implement ajax cart functionality first.
You can do it by this doc.
If want my help then let me know.
Yes I have done that but reverted to normal after seeing it didn't work, I have done so as in the link mentioned and that can be found at the:
"Debut Ajax Cart Modifications Fail" (- Copy)
I have also tried building on that with what was proposed on this thread. But to no avail. Also worth mentioning as per what Jason said, I did not add a new JQuery but went with removing the defer="defer", but yes not working in the end.
If you could please check out the mentioned saved Copy of the Theme, as that has the Ajax modifications that are mentioned in that article (not the ones mentioned in the thread)
UPDATE: I just realized that you pointed me to another link than the general how to set Ajax on Shopify
Will take a look.
|22 seconds ago|