We offer professional Design CustomizationCreate a Ticket
  • Status: Waiting on customer

FS#11226 - Product summary add field

hello staff,
what’s the file that manage the cart summary?

i would like to add this

TOTAL ( NO TAX )
TAX
TOTAL ( WITH TAX )

This ticket does not depend on any other tickets.

14.12.17, 17:36: A ticket closure has been requested.
mirko (mabdes)
Thursday, 07 December 2017, 00:32 GMT+1

also this part of the order confirmed,

can i edit the order of element, it's a prestashop option or customization of theme?

Marek (marek)
Thursday, 07 December 2017, 11:20 GMT+1
Support Team

1. Shopping cart file is /themes/alysum/modules/ps_shoppingcart/ps_shoppingcart.tpl
2. the sile is /themes/alysum/templates/checkout/_partials/order-confirmation-table.tpl

mirko (mabdes)
Thursday, 07 December 2017, 11:57 GMT+1
Marek (marek)
Thursday, 07 December 2017, 12:05 GMT+1
Support Team

you can edit order confirmation page here /themes/alysum/templates/checkout/_partials/order-confirmation-table.tpl

mirko (mabdes)
Thursday, 07 December 2017, 13:05 GMT+1

ok, it's right
do you have a simple ready code to add a price without tax?

I have this:
<td>{$subtotal.label}</td>
<td>{$subtotal.value}</td>

i would like: price without tax

Marek (marek)
Friday, 08 December 2017, 13:44 GMT+1
Support Team

try {$subtotal|print_r} and see what's data is available there

mirko (mabdes)
Friday, 08 December 2017, 13:53 GMT+1

ok work fine

This in screenshot, where i find in template?^

Marek (marek)
Saturday, 09 December 2017, 13:02 GMT+1
Support Team

themes/alysum/templates/checkout/_partials/cart-summary.tpl

mirko (mabdes)
Saturday, 09 December 2017, 14:40 GMT+1

i find this code in
themes/alysum/templates/checkout/_partials/cart-summary-total.tpl

in this block i would like to add a price without tax

<div class="cart-summary-line cart-total">
      <span class="label">{$cart.totals.total.label} {$cart.labels.tax_short}</span>
      <span class="value">{$cart.totals.total.value}</span>
</div>

if i add {$subtotal|print_r} i see the array code

mirko (mabdes)
Saturday, 09 December 2017, 14:48 GMT+1

i try to add same code in order-page box right

<div class="cart-summary-line"> 
      <small class="label">{$cart.totals.total.label} (Iva esclusa) {$value_tax_excl}</small>
      <h6 class="value">{$cart.totals.total.amount-$cart.subtotals.tax.amount}€ </h6>
</div>

i see one decimal after comma

Marek (marek)
Sunday, 10 December 2017, 11:41 GMT+1
Support Team

I don't know how to change one decimal to two

Loading...