Radi Posted September 9, 2013 Share Posted September 9, 2013 (edited) Hello I'm trying to get Address delivery, address invoice, Delivery method, payment method on /module/cashondelivery/validation (validation.tpl)payment page. On PS 1.4 it can be done by $address = new Address($cart->id_address_delivery, intval($cookie->id_lang));$address_invoice = new Address($cart->id_address_invoice, intval($cookie->id_lang));$carrier = new Carrier($cart->id_carrier, intval($cookie->id_lang));$state = State::getNameById($address->id_state);$state_invoice = State::getNameById($address_invoice->id_state);$smarty->assign('state', $state);$smarty->assign('state_invoice', $state_invoice);$smarty->assign('address', $address);$smarty->assign('address_invoice', $address_invoice);$smarty->assign('carrier', $carrier); <p>{$address->firstname} {$address->lastname}</p><p class="payment_data">{$address->company}</p><p class="payment_data">{$address->address1}</p><p class="payment_data">{$address->postcode} {$address->city}</p><p class="payment_data">{$state}</p> <p class="payment_data">{$address->country}</p><p class="payment_data">{$address->phone}</p><p class="payment_data">{$address->phone_mobile} But PS1.5.4.1 have no assigned template variables. How to get required variables ? Please, examples and suggestions. Edited September 9, 2013 by Radi (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now