urosg Posted January 30, 2012 Share Posted January 30, 2012 Hi! I made an override class for CartController in which I've overriden the "preProcess" function and after I call the parent "preProcess" I modify the cart with self::$cart->addDiscount(1); the discount is visible in cart (looking at returning JSON) but the SUM of the cart is not updated until I refresh the page. How can I "force" cart SUMs to be updated or is there somewhere else I should place this code? Thank you! Kind regards, Uros Link to comment Share on other sites More sharing options...
Kower Posted July 29, 2012 Share Posted July 29, 2012 (edited) hi i have almost same problem ... in my case SUM is updating but discount is not showing in cart untill i refresh page ... have u found solution already? Edited July 29, 2012 by Kower (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