We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation
  • Status: Closed
  • Closed by: Marek (marek)
  • Closed on: 15.12.17, 12:21
  • Reason: Closed
  • Comment: Glad to help!

Ticket #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 )

Schermata 2017-12-07 alle 00.... (31.1 KiB)

This ticket does not depend on any other tickets.

mirko (mabdes) 07 Dec 2017, 00:32

also this part of the order confirmed,

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

Schermata 2017-12-07 alle 00.... (325.5 KiB)
Marek (marek) 07 Dec 2017, 11:20

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) 07 Dec 2017, 11:57

sorry man maybe the screenshot it's not clear:

i search > order confirmation > http://zoecosmetics.it/conferma-ordine?id_cart=43&id_module=159&id_order=15&key=b1c21cf4ebf9242b76e5b26fce5ce96f

Schermata 2017-12-07 alle 11.... (127.6 KiB)
Marek (marek) 07 Dec 2017, 12:05

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

mirko (mabdes) 07 Dec 2017, 13:05

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) 08 Dec 2017, 13:44

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

mirko (mabdes) 08 Dec 2017, 13:53

ok work fine

This in screenshot, where i find in template?^

Schermata 2017-12-08 alle 13.... (134.3 KiB)
Marek (marek) 09 Dec 2017, 13:02

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

mirko (mabdes) 09 Dec 2017, 14:40

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) 09 Dec 2017, 14:48

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) 10 Dec 2017, 11:41

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

Loading...