Domanda

I need to change the content of printed form of the order. (My Account-> My Orders -> View Order ->Print Order). Which file is to be edited for the changes?

È stato utile?

Soluzione

On the Front page, the print order action will not generate the PDF like Admin does. It will generate the HTML.

We should take a look the print layouts under vendor/magento/module-sales/view/frontend/layout.

For example:

  • vendor/magento/module-sales/view/frontend/layout/sales_order_print.xml
  • vendor/magento/module-sales/view/frontend/layout/sales_guest_print.xml
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top