Jump to content

Edit History

TimonP

TimonP

The shopping cart is to display the net and gross price, for this to happen I have to add to the file cart-detailed-totals.tpl

<div class="card-block">
    <div class="cart-summary-line clearfix cart-total">
      <span class="label">{$cart.totals.total_excluding_tax.label}</span>
      <span class="value price fs_lg font-weight-bold">{$cart.totals.total_excluding_tax.value}</span>
    </div>

    <div class="cart-summary-line clearfix">
      <span class="label">{$cart.subtotals.tax.label}</span>
      <span class="value price">{$cart.subtotals.tax.value}</span>
    </div>

    <div class="cart-summary-line clearfix cart-total">
      <span class="label">{$cart.totals.total_including_tax.label}</span>
      <span class="value price fs_lg font-weight-bold">{$cart.totals.total_including_tax.value}</span>
    </div>
  </div>

https://ibb.co/WsT9HH6

However, during checkout, the gross price is no longer displayed, as well as when the product is added to the cart in the pop-up window.

https://ibb.co/nf9CfxX

https://ibb.co/2P82551

Can anyone help me to deal with this problem.

TimonP

TimonP

The basket is to display the net and gross price, for this to happen I had to add to the file cart-detailed-totals.tpl

<div class="card-block">
    <div class="cart-summary-line clearfix cart-total">
      <span class="label">{$cart.totals.total_excluding_tax.label}</span>
      <span class="value price fs_lg font-weight-bold">{$cart.totals.total_excluding_tax.value}</span>
    </div>

    <div class="cart-summary-line clearfix">
      <span class="label">{$cart.subtotals.tax.label}</span>
      <span class="value price">{$cart.subtotals.tax.value}</span>
    </div>

    <div class="cart-summary-line clearfix cart-total">
      <span class="label">{$cart.totals.total_including_tax.label}</span>
      <span class="value price fs_lg font-weight-bold">{$cart.totals.total_including_tax.value}</span>
    </div>
  </div>

https://ibb.co/WsT9HH6

However, during checkout, the gross price is no longer displayed, as well as when the product is added to the cart in the pop-up window.

https://ibb.co/nf9CfxX

https://ibb.co/2P82551

Can anyone help me to deal with this problem.

×
×
  • Create New...