How to fix conflict with module Order Attributes from Amasty?

Created by Rosa Truong, Modified on Thu, 30 Sep 2021 at 01:45 PM by Rosa Truong

Issue: 

We are using module version 1.3.4 on M2.4.2 but we are facing an issue.

If we enable your Bss Customer Attribute extension it creates an issue with our Order Attribute extensions from Amasty.

In the Admin order page, it doesn't show the additional attributes of the order but if we disable your extension it works.


Solution:


The root of the issue is from the conflict between our module with the 3rd-party module Amasty Order Attributes on the site.

The module Customer Attributes overwrites the order_infor block in the file /Bss/CustomerAttributes/view/adminhtml/layout/sales_order_view.xml so the Amasty module cannot add the block.

To solve this conflict, we have created three files as below

app/code/Bss/ConflictAmastyOrderattr/etc/module.xml 

app/code/Bss/ConflictAmastyOrderattr/registration.php

app/code/Bss/ConflictAmastyOrderattr/view/adminhtml/layout/sales_order_view.xml


Please apply these files on the site to solve the issue.


If you have any issues, please feel free to contact us.

We'd like to help.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article