creation-handicap Posted October 16, 2017 Share Posted October 16, 2017 I show the cart summary on my product page. When I add something into the cart and then click "continue shopping" in the following popup, the cart disappears. Somebody has a solution for that? Link to comment Share on other sites More sharing options...
creation-handicap Posted November 21, 2017 Author Share Posted November 21, 2017 It seems, there is an error in the themes/core.js on line 1730. The resp returns the HTML of all the page. So the variable e.g. resp.cart_detailed_totals is undefined. But i don't know how to fix that... Link to comment Share on other sites More sharing options...
creation-handicap Posted November 21, 2017 Author Share Posted November 21, 2017 (edited) Update: It seems that the cart is not build to put it on every page. This is why, my guess, that it doesn't work. I fixed it with an hardcoded URL for the getCartViewUrl variable. It's not a good soluation, but it works now... Here's the code i put into the core.js on line 1724: if (getCartViewUrl === undefined) { getCartViewUrl = '{URL-to-your-page}/de/warenkorb?ajax=1&action=refresh'; } This is most probably different in other languages... Edited November 21, 2017 by creation-handicap (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now