Closed BruceKristelijn closed 6 months ago
The reason this happens is because of this:
var product_category = $thisbutton.data('category');
The button does not contain the required information. This information can be retrieved from the parent "li" element.
The "add_to_cart" event is called in two ways:
The JS Event however misses the product categories: