我如何在 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.

  • 来自 handle="sales_email_order_items"

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

  • 您将看到此布局“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>

也许,您会在文件中找到它

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

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

祝你有愉快的一天!!