- Updates a cart item (quantity)
- See ShopUtil.updateItemQuantity()
- NOTE: Items in the Magnolia shopping cart have been referenced with the product id... and the index. Product id is usually good enough to identify the cart item. But since the Magnolia shop allows options (e.g. size, color...) two products with different options configuration can be added and will produce separate cart items. To simplify we're using the itemIndex now.
- removes a cart item from the cart
- See ShopSigletonParagraphTemplateModel.updateItemQuantity()
- probably not needed > updating the quantity to 0 does exactly the same