Behaviour of commerce add to cart functionality is not same for all products

2 posts / 0 new
Last post
sakar
sakar's picture
Behaviour of commerce add to cart functionality is not same for all products

HI,

I have integrated Commerce Add to cart module and it is working fine for home products as well as products which are on first page.

But when we scroll down the page for more products and products are getting load Problem comes in.

That means new products which are loaded, for that products if i click on "Add to cart" button again page is getting refresh.

Why this is happening..??

For First some products its working and next products its not.. Even i am not able to figure out problem statement.

Please give me solution.

support
support's picture
Hi there Sakar:

Hi there Sakar:

I think the issue may be caused by the following:

The infinite scroll works by asynchornously loading the next page of the View you are exploring. I honestly have no idea on how to change it, but surely it has to be an issue related with the HTML IDs and setup of the Buttons loaded in the second, third .... pages.

I suggest you to explore the layour with firebug or Google Chrome Element Inspector and check for issues also in the Java Script console.

Let me know.

Best!!!

Log in to post comments