WhyEs Posted April 17, 2014 Share Posted April 17, 2014 (edited) Hi all, We're in the middle of upgrading our webshop to v1.5.6.2 and I'm having a bit of trouble with the blockcart module. When the customer adds products to the card, blockcart seems to work just fine (see image below). When updating the product quantity in the checkout page however, the counter goes blank and the details are wrong. It says there are no products and shipping is free. If the page is refreshed, everything is fine again. Is this a known issue? Thanks! Edited April 17, 2014 by WhyEs (see edit history) Link to comment Share on other sites More sharing options...
WhyEs Posted April 18, 2014 Author Share Posted April 18, 2014 (edited) I did some debugging and it seems that jsonData.nbTotalProducts in modules/blockcart/ajax-cart.js is undefined. I'm guessing it should get its values assigned from modules/blockcart/blockcart.php and $nbTotalProducts in blockcart.php initially has a value, but after updating product quantity it never gets updated until a hard refresh. So if my product quantity is 5 and I (debug) echo $nbTotalProducts in blockcart.php, it shows a '5'. When I update the quantity to 6, blockcart.php still echoes '5' until I refresh the page. Any help would be greatly appreciated! Edited April 18, 2014 by WhyEs (see edit history) Link to comment Share on other sites More sharing options...
WhyEs Posted April 22, 2014 Author Share Posted April 22, 2014 Any ideas please? Link to comment Share on other sites More sharing options...
WhyEs Posted April 24, 2014 Author Share Posted April 24, 2014 Anybody? I could really use some help with this! Link to comment Share on other sites More sharing options...
WhyEs Posted June 2, 2014 Author Share Posted June 2, 2014 Is this post in the wrong forum? It's been over a month and still no reply... :/ Link to comment Share on other sites More sharing options...
WhyEs Posted June 10, 2014 Author Share Posted June 10, 2014 Bump Link to comment Share on other sites More sharing options...
vekia Posted June 10, 2014 Share Posted June 10, 2014 i see that your theme is customized a little are you able to test it with default theme? Link to comment Share on other sites More sharing options...
WhyEs Posted June 10, 2014 Author Share Posted June 10, 2014 (edited) Thanks for replying. Our theme is customized indeed, but using the default theme the problem still exists. Note that we have multiple shops, and not all of them have this issue. I've installed the default theme in our development shop for testing, so fire away. Edited June 10, 2014 by WhyEs (see edit history) Link to comment Share on other sites More sharing options...
WhyEs Posted June 16, 2014 Author Share Posted June 16, 2014 Vekia, Do you require more information or feedback for this issue? Please let me know so I can take action. Thank you! Link to comment Share on other sites More sharing options...
WhyEs Posted July 7, 2014 Author Share Posted July 7, 2014 Bump. 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