for internal purpose i need to print the shipping price costs (4,90€) into a custom tracking script in these following pages
checkout/_partials/order-confirmation-table.tpl and checkout/cart.tpl
Why the code below works only into cart.tpl?
{$cart.subtotals.shipping.value}
PS 1.7.6.3
Thanks for help
It is because that variable came from the CartController.php if you are in the order area you should call the variable $order not the $cart variable.
Do a
<pre>{$order|print_r}</pre>
To see what you will get.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.