简体   繁体   English

我如何在 magento 2.4.3 中编辑此布局

[英]how can i edit this layout in magento 2.4.3

{{layout handle="sales_email_order_items" order_id=$order_id area="frontend"}

I want to remove this line form email confirmation but I don't know where this html located.我想删除此行表格 email 确认,但我不知道此 html 位于何处。 在此处输入图像描述

  • From handle="sales_email_order_items"来自 handle="sales_email_order_items"

{{layout handle="sales_email_order_items" order_id=$order_id area="frontend"} {{layout handle="sales_email_order_items" order_id=$order_id area="frontend"}

  • you'll see this layout "sales_email_order_items"你会看到这个布局“sales_email_order_items”
 <block class="Magento\Sales\Block\Order\Email\Items" name="items" template="Magento_Sales::email/items.phtml" cacheable="false"> <block class="Magento\Sales\Block\Order\Totals" name="order_totals" template="Magento_Sales::order/totals.phtml"> </block>

Maybe, you'll find it in file也许,你会在文件中找到它

vendor/magento/module-sales/view/frontend/templates/email/items.phtml供应商/magento/module-sales/view/frontend/templates/email/items.phtml

or或者

vendor/magento/module-sales/view/frontend/templates/order/items.phtml供应商/magento/module-sales/view/frontend/templates/order/items.phtml

have a nice day !!祝你今天过得愉快 !!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM