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

Created by Support Agent, Modified on Mon, 13 Apr at 2:52 AM by Support Agent

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 53: if ($(this).parents('form').find('#bss-matrixview').length) return;


image


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.


We'd like to help. Don't forget that we are a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.


BSS Commerce specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.


Looking for more at https://bsscommerce.com/magento-2-extensions.html 

Here are some extensions that your store might need:


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