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

Created by Robin Hoang, Modified on Mon, 16 Apr 2018 at 02:46 PM by Nicole Le

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.

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

Feedback sent

We appreciate your effort and will try to fix the article