bright-cloud-studio/isotope-spec-sheet-pdf
Composer 安装命令:
composer require bright-cloud-studio/isotope-spec-sheet-pdf
包简介
Generates a PDF Spec Sheet when clicking a link on an Isotope Product Reader page within Contao
README 文档
README
Generates a PDF Spec Sheet when clicking a link on an Isotope Product Reader page within Contao.
This package adds a link to Isotope's Product Reader which when clicked will generate a PDF "spec sheet" file containing information found on the page. Typically, our clients are always creating PDF spec sheets that need to be updated. This will instead create the spec sheets on the fly, always containing the latest information.
Templates
Each product type will need it's own template. In the 'system/modules/isotope_spec_sheet_pdf/assets/templates' folder make a new template with the title "product_type_ID.html" where ID is the numeric ID of the product type within Isotope.
Templates - Tags
Within each template you can use tags that will be replaced with the product data when the PDF is generated. Here is a list of manual tags that have hard-coded uses
{{img_src}} - This tag will be replaced with the main image's source.
If you want to include a product's attribute in the template use the following tag
{{product::ATTRIBUTE}} where ATTRIBUTE is the internal name of that product's attribute.
统计信息
- 总下载量: 22
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2023-06-16