Show Totals On Top Cart

Is possible to show totals in the top cart content?
I have tried copy the code of the cart content but I have the result in the attached image.

Any solution?

Best regards

Sem Título.jpg


You should use the {$smarty.session.cart.subtotal} and {$} variables on the code for displaying the right values.


I think that you should connect with smarty hook "checkout:minicart_product". This hook is located in file /design/themes/responsive/templates/blocks/cart_content.tpl

There you can easily get information about the basket from the session.

Best regards


Question solved,

I put the following code:

  • {__("cart_subtotal")} {include file="common/price.tpl" value=$smarty.session.cart.display_subtotal}