Why does the wrong product appear in customer's checkout cart?

When my customers want to check out, the first product in my galary appears in checkout & not the one they chosen.

For instance, the very first image you see in leggings department might be green, but you want to buy the black one & select the black one but in checkout it select the green one.

I then get the incorrect order

Hi @Claydensdesigns ,

You are probably having some console errors. The javascript code is not running as it should