Hello community, been a while. So i have been struggling with this one for a few months and now i seriously need some help, hoping you guys can support.
So i have tried to get the ".yml" files to work, without any luck what so ever!
Because we are a pizza shop with deliveries, i would very much like to add in some way for the delivery boys and girls to be able to call up the customers when they are not around when they are there. Which files should i edit? And what should i edit? Exactly? I have tried the order_invoice.twig and also the order.php files in controller. After editing any of them, nothing happens
Ideas? Really need this done as soon as possible
Any help, thanks in advance!
Bug found. The telephone array key is defined in the admin/controller/sale/order.php file but not in the admin/view/template/sale/order_invoice.twig file. I will address it on GitHub shortly.
To rectify the issue, in your admin/language/en-gb/sale/order.php file,
find:
add below:
In your admin/view/template/sale/order_invoice.twig file,
find:
add below:
For now, this should do it. However, there are more info that were not added to the TWIG file. This will be addressed. Thanks for addressing this.
To rectify the issue, in your admin/language/en-gb/sale/order.php file,
find:
Code: Select all
$_['text_telephone'] = 'Telephone';
Code: Select all
$_['text_customer_telephone'] = 'Customer Telephone';
find:
Code: Select all
<b>{{ text_order_id }}</b> {{ order.order_id }}<br />
Code: Select all
<b>{{ text_customer_telephone }}</b> {{ order.telephone }}<br />
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester