update cart details div

Hello,



I’ve created a sidebox for the cart content. If the cart is empty it says: “Your cart is empty”. If the cart is not empty the sidebox has 2 divs:

  • the top div shows the number of products and the subtotal;
  • the bottom div shows the Cart Details and Checkout links.



    For design purposes I have these 2 divs. Because I want the bottom div to have the same length as the top one but with a different background color.



    The top div has id=“cart_status”. The bottom div has another id. The problem is that the first time I add a product to the cart the ajax doesn’t refresh the bottom div. Anyone has an idea why?



    Thank you,



    Pedro

it’s solved.