An extension for OpenCart that allows you to save a standard invoice for order to PDF document. The module adds its "PDF" button next to the invoice button in Orders in admin-side. By clicking on this button - an invoice is generated in PDF format, which can be downloaded to your computer.
The module does not replace the standard invoice generation function in OpenCart, but only complements it with the ability to save the account in pdf. This way you can personally send PDF invoices to customers or attach their printed or electronic copies to documents.
If your standard invoice has been changed - all these changes will also apply to the pdf invoice.
Module installation instructions:
Download the PDF library and unzip it to the site folder /system/library/ (place "mpdf" folder from the archive there) Or download the same PDF library in ocmod format and upload it to the site via the admin installer like an extension.
Upload the module in the admin panel in the "Extensions" : "Install".
Go to the "Modifications" section and update the cache.
Go to the "Dashboard" section and update the template cache.
Check module operation in Orders section.
Bingo!
You must be logged in to view the files!
Роман Роздобудько
28 February 2023
Використовую щоб відправляти віддаленому менеджеру дані про клієнта і товар в замовленні. Просто, зручно і недорого.
How to build a variable name or array key in Twig: attribute(context, 'var'~id), square brackets, the .() operator from Twig 3.15, interpolation, and OpenCart compatibility.
An analysis of OpenCart 4.2.x.x development plans: the switch to jQuery 4.0.0, changes to `oc_product_code`, a 15–20 MB reduction in the distribution size, and the module adaptation process.
Daniel Kerr has announced the static OpenCart 5 and the opencart.js project. We analyze the advantages and limitations of this concept, as well as the development of PHP branches 3.0, 4.1, and 4.2.