Cart button show the cart total price instead of product count

Have the cart button show the cart total price instead of product count

By default we print how many products exist in the cart, if you'd like to dynamically show the total price of these items instead (or aswell), then you can use the code below.

Coding instructions

<div class="total-text">
    Total:
    <strong>
      <span rel="a2c_sub_total" id="header-subtotal">
          [%format type:'currency'%][%cart id:'product_total'/%][%/format%]
      </span>
    </strong>
</div>

Was this article useful?

Be notified when this page is updated. Optional.