On store listing, all products add its "Add to cart" button with data-num = internal_products.length - 1, which I think was an error, since this data-num value is later used to find the product in the internal_products array. Previous to this PR, all products in the store would have the same data-num.
On store listing, all products add its "Add to cart" button with
data-num = internal_products.length - 1,
which I think was an error, since thisdata-num
value is later used to find the product in theinternal_products
array. Previous to this PR, all products in the store would have the samedata-num
.