He all, Im implementing in oc 2 an invoice sistem.I have a problem when trying to get the order details.For example in the admin panel ---> view order(admin/view/template/sale/order_info.tpl), I inserted on the bottom of the page this code to generate the "payment city" <?php echo $payment_city; ?> and I'm getting this error Notice: Undefined variable: payment_city in.In oc 1.6 that code works ..
I checked the controller file and there seems to be these codes:
$data['payment_city'] = $order_info['payment_city'];
$data['payment_city'] = '';
'city' => $order_info['payment_city'],
Is there a way from the order to get the city,country etc..? In oc 2 all the order details for the location of the order are in one single function $payment_address; but i need payment_city,payment_country etc...
Code: Select all
$data['payment_city'] = $order_info['payment_city'];
$data['payment_city'] = '';
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
$data['payment_city'] = $order_info['payment_city'];
$data['payment_city'] = '';
This code in in the default opencart order.php admin controler....
$data['payment_city'] = '';
This code in in the default opencart order.php admin controler....
Who is online
Users browsing this forum: No registered users and 49 guests