0

In xml, how can I remove tab of order in sales/order/history? Can't find the referenceBlock

I just need to remove this tab, not the link. To be precise, I'm using an API that will replace this table.

Edit :

When you go to /sales/order/history, usualy you have a table with the history of your order. I need to remove this table

  • Can you please explain a bit more in your question, so that it can be easily understood and people can reply. – Mohit Kumar Arora Dec 5 '18 at 9:44
  • See updated answer, can't be more clear – Morgan Tartreau Dec 5 '18 at 9:48
0

Got it. Just add this in sales_order_history.xml

    <referenceBlock name="sales.order.history" remove="true" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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