How to empty an ecommerce item


#1

Hi!

I’m a newbie in Piwik and I just want to ask on how to empty or remove an ecommerce item. We have an addEcommerceItem which basically adds an item. But do we have something like “removeEcommerceItem”? Is there any workaround on this?


(Matthieu Aubry) #2

There is no remove because you should not need it.

The Ecommerce cart including all products must be sent on every update. If someone deletes product from cart, then please on the Cart page send all remaining items in the cart.