Jump to content

Edit History

Fletsch

Fletsch

In cace anyone has the same need: After a lot of trying and going threw files in /adapter I found a working variables for the templates files. (Prestashop 1.7.5)

in order_detail_no_return.tpl and order_detail_return.tpl change the variables to:

<tr class="text-xs-right line-{$order.totals.total.type}">
          <td colspan="3">{$cart.totals.total_including_tax.label}</td>
          <td>{$order.totals.total_paid.value}</td>
        </tr>

in history.tpl change the variables to:

<th scope="row">{$order.details.reference}</th>
            <td>{$order.details.order_date}</td>
            <td class="text-xs-right">{$order.totals.total_paid.value}</td>
            <td class="hidden-md-down">{$order.details.payment}</td>

Now it's the total including taxes. :)

Fletsch

Fletsch

In cace anyone has the same need: After a lot of trying and going threw files in /adapter I found a working variables for the templates files.

in order_detail_no_return.tpl and order_detail_return.tpl change the variables to:

<tr class="text-xs-right line-{$order.totals.total.type}">
          <td colspan="3">{$cart.totals.total_including_tax.label}</td>
          <td>{$order.totals.total_paid.value}</td>
        </tr>

in history.tpl change the variables to:

<th scope="row">{$order.details.reference}</th>
            <td>{$order.details.order_date}</td>
            <td class="text-xs-right">{$order.totals.total_paid.value}</td>
            <td class="hidden-md-down">{$order.details.payment}</td>

Now it's the total including taxes. :)

×
×
  • Create New...