Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将 Magento CMS 静态块的内容添加到发送给客户的发票中。我创建了一个名为 my_invoice_message 的静态块。
如何将内容推送到发票并放置?该模板称为 /sales/order_new.html。
它与在 cms/page 中注入它的语法相同:
{{block type="cms/block" block_id="id-of-your-block" }}