
Document Generator .docx for OpenCart 4 — delivery notes, acts and invoices from your own Word blank
Upload your own .docx blank with placeholders and the module gives every order a button for the finished document: delivery note, act, invoice, contract. No composer and no external service. Pro adds own numbering and a bulk zip. Perpetual licence.
- Compatibility
- OpenCart 4.0.2+ and 4.1.x (tested on 4.1.0.3) · PHP 8.0+ with the zip extension · database drivers mysqli and pdo · admin languages: Ukrainian, Russian, English · no builds for OpenCart 3 or 2.3
- Licence
- a site + a staging copy, lifetime
- Trial
- 7 days, no card, one per site
- Updated
- 06.11.2026
What Free has,
and what Pro adds
The free version works with no time limit. Pro adds the rest of the features in the table.
Key points
What the buyer sees
Nothing: the admin makes the documents in the back office and the module shows nothing on the storefront.
What the admin gets
Extensions → Modules → Document Generator .docx. The Templates tab takes a .docx and shows next to each file the placeholders the module found in it.
How much it costs
The base version costs 0 UAH. Pro costs 1,290 UAH, a one-time payment with a perpetual licence.

The trial starts when you ask
A fresh install is the free version, nothing switches on by itself. The “Try Pro for 7 days” button → e-mail → the key right in the window and by e-mail.

One key — a site and a staging copy
Moving the site? Unlink the licence on the old domain and activate it on the new one yourself. A staging copy (staging., dev.) works with the same key and does not take a site slot. For studios — keys for 5 or 25 sites, or unlimited.
Technical requirements
OpenCart 4.0.2+ and 4.1.x. Tested on 4.1.0.3. There are no builds for 3.x or 2.3.
PHP 8.0+ with the zip extension: if it is missing, the settings page says so.
Files: .docx only.
Version history
Templates tab at 1280 px: the template name and the numbering fields no longer get squeezed.
Before updating to this version, note the settings and the licence key, or replace the files over FTP without uninstalling: later updates keep them.
For OpenCart 4: .docx templates, placeholders for the order, customer, addresses, shop and totals, the line-item row, amount in words, the Orders tab.
Frequently bought with Document Generator .docx


Cart Discounts (Amount-Based and N+1) for OpenCart

CatCode SEO Pack — SEO Module for OpenCart 2.3, 3.x and 4.x

AI Product Descriptions for OpenCart 2.3, 3.x and 4.x — description generator
Full module description
Document Generator .docx for OpenCart 4 fills your own blank with the data of an order. Take the delivery note, act or invoice your accountant already uses, type placeholders such as {{order.number}} or {{customer.full_name}} into the text, upload the file, and the Orders tab of the module gets a button. The result is still a Word file, so anything left can be finished by hand.
What the buyer sees
Nothing: the admin makes the documents in the back office and the module shows nothing on the storefront. The finished file can be printed or sent to the buyer by hand.
What the admin gets
Extensions → Modules → Document Generator .docx. The Templates tab takes a .docx and shows next to each file the placeholders the module found in it. The Placeholders tab is a reference of all groups. The Orders tab is a list with filters by number, customer, status and date, with one button per template on every row.
A table row holding at least one line-item placeholder repeats for every product. The OpenCart placeholders cover the payment and shipping method names, product options and any order total row by its code.
How it works, step by step
- In Word, LibreOffice or Google Docs type the placeholders into your blank and save it as .docx.
- Upload the file on the Templates tab and check the list of placeholders found.
- On the Orders tab find the order and press the template button.
- The module fills a copy of the blank, repeats the line-item row and fills the headers and footers.
- The browser downloads the .docx.
Under the hood
- No composer, no PHPWord, no external service: ZipArchive and the module’s own XML handling. Order data does not leave your server.
- A value takes the place of its placeholder with the same formatting, and the neighbouring text does not change.
- An issued number stays with the order, so generating again gives the same number.
- Templates and temporary files sit in storage/cc_docgen, not in the open folder of the shop.
- The module makes no PDF and keeps no archive of finished documents.
Installation
- Extensions → Installer: upload cc_docgen.ocmod.zip and keep the file name.
- Extensions → Modules → Document Generator .docx → Install → Edit.
- Enable the module and upload a blank on the Templates tab.
- Open the Orders tab and press the template button.
- For Pro: paste the key on the Licence tab or start the 7-day trial.
Questions
about the module
Didn't find the answer? Message us on Telegram and we'll reply within a business day.
Why was a placeholder not replaced?
Almost always a typo in the name. An unknown placeholder simply becomes empty, so check the list of placeholders next to the template: it shows what the module read from the blank.
Where will a placeholder not work?
Inside a text box or a Word field (MERGEFIELD) it is no longer plain text. A placeholder spread over two paragraphs is not collected either. A table nested inside a cell of another table does not work for the line-item row.
Does the module make PDF?
No. Turning .docx into PDF on a server needs LibreOffice or a paid service. Word, LibreOffice and Google Docs export PDF themselves.
Can the same blank be used for WooCommerce?
Not one to one. The placeholder sets differ: OpenCart has order.payment_method, order.invoice, total.CODE and item.model, WooCommerce has order.status_name, order.payment_title, order.items_qty and meta.*. Without an edit the blank will have empty spots.
What stays after uninstalling?
The template and numbering tables and the storage/cc_docgen folder stay on purpose, so a blank does not vanish on a stray click. They can be removed by hand.
No reviews yet. Be the first.
No questions yet. Ask one — we answer within 24 hours.
Not quite what you are looking for?
We build custom modules for WordPress, WooCommerce, OpenCart and Shopify. Tell us about the task and we'll prepare an estimate.
Order a custom module
Buying the module
—
Charged in UAH; your bank converts it to your currency. EUR price is approximate.



















