On account pages , In My order section Print order page not showing order detail
-
26-12-2020 - |
Frage
Lösung
It was due to a magento 2.1.7 issue ; and its fix is I think M2 sale module given wrong block class for sales_order_print.xml
Temporary way:
open [module-sale] view -> frontend -> layout -> sales_order_print.xml.
then modify line 20
<block class="Magento\Sales\Block\Order\PrintShipment"
name="order_items" template="order/items.phtml">
to
<block class="Magento\Sales\Block\Order\Items"
name="order_items" template="order/items.phtml">
Then it will be fine.
If you are using custom theme just override the layout file to hotfix it. (no need change M2 source code)
If you have same error in future and didn't solved, kindly ask me.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit magento.stackexchange