Using opencart 4, pretty vanilla setup. When i go to view an invoice it looks fine, but when i actually print its no longer in the template format but just an ugly data dump. This is happening in all browsers ive tried, chrome, firefox, edge. Is there something special i need to do to get it to look the same when it actually prints?
view of print page...
I would strongly advise against using OpenCart 4.0 for a live store. There are still some bugs in the latest version, including a major one where order information is displayed from the product's current data, instead of the data at the time the order was placed. Until that is fixed, I would recommend using 3.0.3.8 for new installations, or sticking with the version you are using if you have an existing store.
If you need a PHP 8 compatible version of OpenCart 3.0, you can find one here: https://github.com/opencart/opencart/tr ... aintenance
If you're stuck with OpenCart 4.0, then you should make sure to try and update as soon as 4.0.2.0. Nobody knows when that will be, but we're all hoping it's soon.
If you need a PHP 8 compatible version of OpenCart 3.0, you can find one here: https://github.com/opencart/opencart/tr ... aintenance
If you're stuck with OpenCart 4.0, then you should make sure to try and update as soon as 4.0.2.0. Nobody knows when that will be, but we're all hoping it's soon.
Do you have a backup of the database and files from before the upgrade? Most hosts usually take a daily backup. If not much has changed and no new orders have been place you could restore from a backup.
Hi!
In your admin/view/template/sale/order_invoice.twig
Replace media="screen" to media="all"
This way not solve problem with grid.
In your admin/view/template/sale/order_invoice.twig
Replace media="screen" to media="all"
This way not solve problem with grid.
My extensions in marketplace. [ security | flexibility | speedup ]
Who is online
Users browsing this forum: No registered users and 85 guests