Total Posts:
25
Karma:
185
Joined:
3/8/2011
Location:
Indonesia
Hi, I have a problem with NOP 3.0. Header shopping cart total is not updating when i add item to cart on my test site. However, total in mini shopping cart is updated. However when I refresh the page totals is fine. I'm using default code for header links : <div class="header-links-wrapper"> @Html.Action("HeaderLinks", "Common") @Html.Action("FlyoutShoppingCart", "ShoppingCart") </div> Please tell me which controller i should check to solve this problem? Thank you.
Total Posts:
25
Karma:
185
Joined:
3/8/2011
Location:
Indonesia
I just found the cause, it was because i changed the attribute class name on file HeaderLink.chtml. from: <div class="header-links"> to <div class="header-menu-link">. if i want keep this change, which file i should modify to make updating total product on header link working? i guest it should be js script file. thank you. *sorry for my english.
Total Posts:
25
Karma:
185
Joined:
3/8/2011
Location:
Indonesia
yes.. finally i found it. i need also to modify that class name when initiate AjaxCart at _Root.chtml. <div class="master-wrapper-content"> <script type="text/javascript"> AjaxCart.init(false, '.header-menu-link .cart-qty', '.header-menu-link .wishlist-qty', '#flyout-cart'); </script> Sorry to bother all of you with this silly thing. thank you. please close this topic.