Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rehan Zahid 31 posts 52 karma points
    Nov 06, 2012 @ 10:01
    Rehan Zahid
    0

    My basket items on product site

    Hi There,

    On my specific product site i have a control that shows my basket item (Indkøbsliste),

    http://teacommerce.klikdagligvarer.dk/dk/products/frugt-groent/frugt.aspx (Look at rigth side)

    what i have done is i took the code from cart_step01.xslt, and create a new xslt and added the code there and just edit the style, but the thing is when I add a product to the basket I can see that my MiniCart is updating with new item but not my Basket item control, but when refresh the site then it take effect, also when i click on +/- on basket item control the price is changing for specific item and quantity also on MiniCart, but not subtotal and totals in Basket item control, do i missing something here... any suggestion..?

  • Anders Burla 2560 posts 8256 karma points
    Nov 06, 2012 @ 16:17
    Anders Burla
    0

    Hi Rehan

    The out of the box mini cart is using javascript to be updated. Try look in teaCommerce_Simple.js line 20 - there the minictart is updated using JavaScript. The method is called from teaCommerce_Advanced.js in line 142. So you should extend this code. Remember the starter kit is just a great start. If you change anything or add new stuff - you have to do some work to get it working :)

    Kind regards
    Anders

Please Sign in or register to post replies

Write your reply to:

Draft