PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Monday, August 22, 2022

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

 August 22, 2022     frontend, javascript, magento, magento2, php     No comments   

Issue

{{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. enter image description here


Solution

  • From handle="sales_email_order_items"

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

  • you'll see this layout "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

or

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

have a nice day !!



Answered By - alan.D
Answer Checked By - Mary Flores (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing