Please don’t spam the same support ticket @sefid-par
These topics are different.
The other is about changing the total.
But this is about new feature.
New feature like add product to cart (+1).
But this for minus product from cart (-1).
I just don’t follow your feature request.
Can you provide more details as to this feature.
What is different than changing the item quantity in the cart that is already available in CoCart?
It’s just about update using product_id rather than item_key.
Now, I have added the item_key as data in quantity. and whenever I plus a new item, I add the item_key to quantity data, in order to use doing minus.
But if we have an api route to minus item with product_key, it would reduce some code.
Again I see nothing different in this feature request other than to use the product ID as the parameter instead of cart item key. This would require refactoring the API for this to work.