Conflict between Ajax Add to Cart and Configurable Product Matrix View for Magento 2

Created by Nicole Le, Modified on Thu, 21 Jan, 2021 at 10:52 AM by Jane D

Question:

We find that the Ajax Add to Cart extension is not working with the Configurable Product Matrix View extension. When enabling Ajax Add to Cart, we are not able to add product to cart anymore.


Answer:

We have checked and found that the root of the issue is due to a conflict between the Ajax Add to Cart extension and Configurable Product Matrix View extension.

To solve this conflict, could you please follow the below guide:

In file /app/code/Bss/AjaxCart/view/frontend/web/js/ajax.js , add line 47: if ($(this).parents('form').find('#bss-matrixview').length) return;



Please note that it's just the solution for your reference.


For more information about product, please refer Configurable Product Matrix View and Ajax Add To Cart pages.

If you need any further assistance, please feel free to contact us.

Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html

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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article