Show Totals On Top Cart

Hi,
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

Hello,

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

Hello

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

Robert

Question solved,

I put the following code:

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