Ecommerce: allow to track the same product SKU several times in an ecommerce order #10290
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
c: Data Integrity & Accuracy
c: Documentation
For issues related to in-app product help messages, or to the Matomo knowledge base.
c: Ecommerce
For issues related to Ecommerce analytics within Matomo https://matomo.org/guide/reports/ecommerce/
c: Tracking
For issues related to getting tracking data into Matomo.
Milestone
Ecommerce orders has a cart which contains Items, where an Item is defined with a Product SKUs, product name, product category, product price, product quantity.
Issue
The JS client wrongly implements the Ecommerce cart update method, and stores the items in a javascript array indexed by product SKUs:
ecommerceItems[sku] = [ sku, name, category, price, quantity ];
-> this bug means orders with duplicate skus (eg. with different prices) will be missed.Bug reported in #10252 (comment) by @Slowlearneruk 👍
Use case
Steps
The text was updated successfully, but these errors were encountered: