Skip to main content
added 4 characters in body
Source Link
Sumit
  • 5k
  • 2
  • 20
  • 35

You can override these template on your theme, so

app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html

app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html

You can't directly use a block since here we have html template. But you can configure a block via layout.xml and call it on email template.

You can check for example the email layout of a new order where you can find something like

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

and if you search in the layout folder you'll find "sales_email_order_items.xml" with the block passed to the template. In here you can call your static block.

You can override these template on your theme, so

app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html

You can't directly use a block since here we have html template. But you can configure a block via layout.xml and call it on email template.

You can check for example the email layout of a new order where you can find something like

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

and if you search in the layout folder you'll find "sales_email_order_items.xml" with the block passed to the template. In here you can call your static block.

You can override these template on your theme, so

app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html

You can't directly use a block since here we have html template. But you can configure a block via layout.xml and call it on email template.

You can check for example the email layout of a new order where you can find something like

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

and if you search in the layout folder you'll find "sales_email_order_items.xml" with the block passed to the template. In here you can call your static block.

added 1 character in body
Source Link
Alex
  • 81
  • 4

You can override these template on your theme, so

app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html

You can't directly use a block since here we have html template. But you can configure a block via layout.xml and call it on email template.

You can check for example the email layout of a new order where you can find something like

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

and if you search in the layout folder you'll find sales_email_order_items"sales_email_order_items.xml widthxml" with the block passed to the template. In here you can call your static block.

You can override these template on your theme, so

app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html

You can't directly use a block since here we have html template. But you can configure a block via layout.xml and call it on email template.

You can check for example the email layout of a new order where you can find something like

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

and if you search in the layout folder you'll find sales_email_order_items.xml width the block passed to the template. In here you can call your static block.

You can override these template on your theme, so

app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html

You can't directly use a block since here we have html template. But you can configure a block via layout.xml and call it on email template.

You can check for example the email layout of a new order where you can find something like

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

and if you search in the layout folder you'll find "sales_email_order_items.xml" with the block passed to the template. In here you can call your static block.

added 490 characters in body
Source Link
Alex
  • 81
  • 4

You can override these template on your theme, so

app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html

You can't directly use a block since here we have html template. But you can configure a block via layout.xml and call it on email template.

You can check for example the email layout of a new order where you can find something like

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

and if you search in the layout folder you'll find sales_email_order_items.xml width the block passed to the template. In here you can call your static block.

You can override these template on your theme, so

app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html

You can override these template on your theme, so

app/design/frontend/YourVendor/yourtheme/Magento_Email/email/header_template.html

You can't directly use a block since here we have html template. But you can configure a block via layout.xml and call it on email template.

You can check for example the email layout of a new order where you can find something like

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

and if you search in the layout folder you'll find sales_email_order_items.xml width the block passed to the template. In here you can call your static block.

Source Link
Alex
  • 81
  • 4
Loading