0

I need to add text under the logo of print order PDF on success page in magento 2

1 Answer 1

0

On the Frontpage, the print order action will not generate the PDF as Admin does. It will generate the HTML.

We should take a look at the print layouts under

vendor/magento/module-sales/view/frontend/layout

so override below files in your custom module or theme and add your custom text

vendor/magento/module-sales/view/frontend/layout/sales_order_print.xml
vendor/magento/module-sales/view/frontend/layout/sales_guest_print.xml

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.