在 OpenCart 中自动生成 PDF 发票并发送电子邮件
OpenCart 的PDF 发票生成器和电子邮件附件扩展可自动生成具有专业外观的PDF 发票和运输标签。它允许您在特定订单状态更新时通过电子邮件将发票作为附件发送。凭借高级自定义选项、多种模板和安全功能,此扩展可确保您的 OpenCart 商店实现无缝发票管理。
问题陈述:
手动管理发票可能既耗时又低效。许多 OpenCart 商店需要自动化解决方案来生成PDF 发票、将其附加到电子邮件中并将其安全地存储在服务器上。此外,企业需要定制发票格式、自动发票号生成以及包含二维码或条形码以便更好地跟踪的能力。
扩展的目的:
此扩展旨在通过自动生成PDF 发票、安全存储发票并通过电子邮件发送给客户来简化 OpenCart 中的发票管理。它确保每张发票都具有专业格式,满足业务需求,并提高订单处理效率。
特征:
- 自动 PDF 发票生成– 下订单或更新订单时生成 PDF 格式的发票。
- 电子邮件附件功能——当选定的订单状态更新时,自动将 PDF 发票作为电子邮件附件发送。
- 多个订单状态触发器——配置扩展以发送多个订单状态的发票。
- 安全的 PDF 存储– 生成的发票安全地存储在服务器上,只有授权用户才能访问。
- 自动生成发票号码– 在生成 PDF 期间自动分配发票号码。
- 可定制的 PDF 模板– 使用内置编辑器创建和管理多个 PDF 发票模板。
- 显示/隐藏产品表中的列- 选择在发票中显示哪些列以实现更好的定制。
- 支持二维码/条形码– 生成并显示发票上的二维码或条形码以便跟踪和验证。
- 运输发票和标签生成——创建带有订单详细信息的运输发票或运输标签。
- 带有发票的自动运输电子邮件- 当选定的订单状态更新时,将运输发票发送到指定的电子邮件地址。
- 可定制的页面格式和方向——为发票布局选择不同的页面大小和方向。
- 水印支持——可选择在发票上添加水印,以用于品牌推广或安全。
- 安全文件存储(可选) ——可选择将 PDF 发票保存在服务器上以供以后访问。
- 支持 PHP 8+ – 完全兼容最新的 PHP 版本以增强性能。
如何使用:
- 安装和配置——安装扩展并设置发票生成规则。
- 自定义发票模板——使用内置模板编辑器修改布局和设计。
- 设置电子邮件触发器- 定义哪些订单状态将触发带有 PDF 发票的电子邮件。
- 启用安全存储– 决定是否在服务器上保存发票以便于检索。
- 自动发送运输发票– 配置在特定状态更新时发送的自动运输发票。
好处:
- 通过自动生成发票和电子邮件附件来节省时间。
- 通过看起来专业的发票增强客户体验。
- 通过确保只有授权用户才能访问发票来提高安全性。
- 通过多种模板、二维码、条形码和自定义布局提供灵活性。
- 通过自动生成发票号码和维护记录来确保合规性。
使用案例:
- 当订单状态改变时,店主希望自动发送发票。
- 企业需要安全存储PDF 发票以供将来参考。
- 需要根据品牌需求定制发票模板的公司。
- 处理批量订单的电子商务平台需要高效的发票管理。
预期成果:
- 更快的发票生成和电子邮件传递。
- 专业、结构良好的发票,具有可定制的模板。
- 通过自动发票处理提高客户满意度。
- 提高工作流程效率并减少人工工作量。
OPENCART |
Compatibility |
3.0.4.0, 3.0.3.9, 3.0.3.8, 3.0.3.7, 3.0.3.6, 3.0.3.5, 3.0.3.3, 3.0.3.2, 3.0.3.1, 3.0.3.0, 3.0.2.0, 3.0.1.2, 3.0.1.1, 3.0.1.0, 3.0.0.0,
2.3.0.2, 2.3.0.1, 2.3.0.0, 2.2.0.0, 2.1.0.2, 2.1.0.1, 2.0.3.1, 2.0.2.0, 2.0.1.1, 2.0.1.0, 2.0.0.0 |
Requirement |
OCMOD |
Core Files Overwrite |
No Core files overwritten |
Multi-store |
Yes, Supports Multi-store |
Multi-lingual |
Yes, Support Multi-language website |
TECHNOLOGIES |
Framework |
OpenCart |
Languages |
PHP, HTML, CSS, AJAX, JQUERY, JAVASCRIPT |
VERSION : 3.0.1 | DATE RELEASED: 16 Dec 2024 |
- Fixed minor bug related to downloading PDF invoice from customer account order page
|
VERSION : 3.0.0 | DATE RELEASED: 03 Sep 2024 |
- Included mPDF library for PHP 8.3+ compatibility
- For OpenCart 3.x.x.x versions with PHP 8.3+ compatibility only
- TCPDF library removed due to PHP 8+ incompatibilty
- Code Optimization
- More samples added
- Text Watermark feature added
- Shortcodes eligibe for header and footer template
- Global Setup for multi-store
|
VERSION : 2.1.4 | DATE RELEASED: 06 Aug 2022 |
|
VERSION : 2.1.3 | DATE RELEASED: 30 May 2022 |
- Fixed issue related to auto invoice generation
|
VERSION : 2.1.2 | DATE RELEASED: 15 Dec 2021 |
- Dynamic Order Total Short-codes
- Hide Packing PDF button on order list page when not enabled in setting
|
VERSION : 2.1.1 | DATE RELEASED: 02 Mar 2021 |
- Header and Footer font to match with the font selection setting of the extension.
|
VERSION : 2.0.1 | DATE RELEASED: 09 Feb 2021 |
- Fixes made to special blocks short-codes
|
VERSION : 2.0.0 | DATE RELEASED: 30 Nov 2020 |
- Extension Redesigned
- Added more customizable and user friendly options to PDF Invoice settings
- Added Packaging slip / Packaging PDF Option. With this new feature you can send a separate email with packaging slip attachment to any desired email address. This email is triggered on the selected Order Status update.
- Easy PDF Font selection in order to support languages like chinese (use kozminproregular font from the dropdown). Also supports languages like arabic or persian.
- Optional HTML Header and HTML Footer
- Add or create any number of PDF templates and easily assign template to be used.
- PDF Invoice preview
- Keep or remove PDF backup from the server directory
- Show PDF Invoice download button to customer only for the selected order status.
- Built-in PDF Invoice Admin button both on order info page as well as on order list page
- Built-in PDF Packaging Slip Admin button both on order info page as well as on order list page
- Option to set Invoice margin
- PDF Invoice watermark support
- PDF Invoice language override option
- Email Content editor for Packing Slip Email
- Updated product table samples (5 samples)
- Product table header color, footer color, content color setup
- Show/Hide columns like image, model, sku, upc, ean, isbn, mpn, weight, dimension, quantity, price
- Supports RTL format
- Short-codes for custom fields
- Special blocks for special condition like downloads, Payment method used, shipping method selected, and customer group
- Pre-loaded PDF template samples
|
VERSION : 1.5 | DATE RELEASED: 17 Feb 2018 |
- Extension for 3.x.x.x released
- File structure changes
- Improved usability
|
VERSION : 1.0 | DATE RELEASED: 22 Apr 2017 |
Product Release |