The order numbers are numbered correctly, but when generating invoices for printing the invoice numbers are showing as "#%s", instead of the order number. This numbering is at the top left of the invoice. This happens whether printing single or multiple invoices for printing.
Also when multiple invoices are generated the order webpage also turns into print format and you must 'page back' to the Orders list to view them. This page also shows as symbols instead of order numbers. (When using Chrome, in Safari it stays as Order list)
Any ideas please?
The only OC error reported is this from another of my posts, which I cannot correct.
2021-03-01 22:36:15 - PHP Warning: Division by zero in /home/customer/www/kenwoodchefrestore.co.uk/public_html/shop/catalog/controller/product/manufacturer.php on line 311
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
311
$data['results'] = sprintf($this->language->get('text_pagination'), ($product_total) ? (($page - 1) * $limit) + 1 : 0, ((($page - 1) * $limit) > ($product_total - $limit)) ? $product_total : ((($page - 1) * $limit) + $limit), $product_total, ceil($product_total / $limit));

A clue ...
In catalog/controller/account/order.php file, find:
Code: Select all
$this->document->setTitle($this->language->get('text_order'));
Code: Select all
$this->document->setTitle(sprintf($this->language->get('text_order'), $order_id));
Code: Select all
'text' => $this->language->get('text_order'),
Code: Select all
'text' => sprintf($this->language->get('text_order'), $order_id),
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
straightlight wrote: ↑Tue Mar 02, 2021 11:05 pm![]()
A clue ...
In catalog/controller/account/order.php file, find:
replace with:Code: Select all
$this->document->setTitle($this->language->get('text_order'));
Then, find:Code: Select all
$this->document->setTitle(sprintf($this->language->get('text_order'), $order_id));
replace with:Code: Select all
'text' => $this->language->get('text_order'),
This should resolved the issue.Code: Select all
'text' => sprintf($this->language->get('text_order'), $order_id),
Unfortunately I still get the error:
2021-03-09 9:15:35 - PHP Warning: Division by zero in /home/customer/www/kenwoodchefrestore.co.uk/public_html/shop/catalog/controller/product/manufacturer.php on line 311
Any other files to check / amend?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Apologies, never used github before.straightlight wrote: ↑Tue Mar 09, 2021 9:19 pmIssue already fixed on the master branch and on the maintenance branch.
These are the relevant changes I must make to my install?
https://github.com/opencart/opencart/co ... 9795035222
Are these 6x changes relevant to my install: Version 3.0.3.7
https://github.com/opencart/opencart/co ... b2e0372a4f
Thank you.
So would to keep my Open cart up to date and resolve any issues, I would update files from here.xxvirusxx wrote: ↑Wed Mar 10, 2021 10:51 pmThis branch...
https://github.com/opencart/opencart/tr ... intenance/
Upload - resolved language issue - its just that it is 75 changes to make.
Can you confirm these changes will fix my issue of the Order numbering?
Thanks
Users browsing this forum: No registered users and 10 guests