module - edit invoice template in module prestashop
问题描述
I'm using press the shop version 1.7. I'm about to make a small module/add on, that will give border in product quantity cell in invoice if quantity is greater than 1. What are the possible ways to do this?
解决方案
使用 Hook actionPDFInvoiceRender 拦截模板值并在模块中添加 PDF 覆盖以管理渲染。
推荐阅读
- php - 如何使用xampp将sql server与php连接起来?
- javascript - MediaEvent:MEDIA_ERROR_LOG_ENTRY {“错误”:“FFmpegDemuxer:打开上下文失败”}
- javascript - 难以在 php 中显示不同的标记颜色
- javascript - 如何将 localStorage 迁移到 AsyncStorage
- python - 带有 plac 的可选参数的默认值和非默认值
- jquery - 在jquery中单击按钮时添加元素并增加索引值
- python - 如果行存在,Django 更新行
- html - 在 HTML 中,div 标签如何用空格替换换行符和制表符空格/空格键
- android - 如何以编程方式检测android中的袖珍模式
- linux - 无法在 CentOS 中使用 docker run 命令