Prestashop Not display your shipping address in final step of payment.
To add Your Shipping Address in payment steps first you have to modify
controllers/front/OrderController.php
For Best Practice first you can copy this file and paste into
override/controllers/front/OrderController.php
First you have to get Address Information and then assign it into smarty template.
Add below code Just above
$this->_assignSummaryInformations();
// assign some informations to display cart $cart_address_id = $this->context->cart->id_address_delivery; $language_id = $this->context->language->id; $address = new Address($cart_address_id, intval($language_id)); $result = (array)$address; $this->context->smarty->assign(array( 'address' => $result ));
Now you can easily access your $address array in smarty template file.
To add Shipping Address into your Payment steps modify
themes/yourtheme/order-payment-classic.tpl
0 Comments