定制 codilar/pdf-template 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

codilar/pdf-template

最新稳定版本:1.1.8

Composer 安装命令:

composer require codilar/pdf-template

包简介

A module for adding HTML PDF templates to Magento

README 文档

README

This module enables the Admin to easily modify the Invoice, Shipment, and other PDF templates using HTML, right from the Admin Panel!

Installation

composer require codilar/pdf-template

Setup

  • Once the module is installed, go to Stores > Configuration > Sales > PDF Print-outs and under the Invoice and Shipment section, set the Use HTML PDF template to Yes
  • Go to Content > PDF Template and choose either the Invoice Template, or Shipment Template whichever you want to edit
  • Choose the store you want to edit for
  • Modify the template (you can see the changes in real-time on the preview section
  • Save, and we're done!

Now whenever a PDF is requested (in Admin panel, email, etc) Magento will use our newly designed HTML template to generate the PDF.

Templating

The module uses the Handlebars templating engine for designing the templates. For a tutorial on how to get started, head over to Content > PDF Template > Tutorial section.

统计信息

  • 总下载量: 1.12k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2023-06-23