Cart
The cart allows you to handle cart operations. Shopware's cart is a central part of the checkout process. The cart has a defined cart process.
Besides, the cart gives various options to change a price of an item in the cart using a cart collector and processor, adding cart items, discounts, customizing price calculations, splitting cart line items, etc.
Changing the cart behavior
Using App Scripts (cart scripts), you can manipulate your cart details to:
- Calculate cart
- Add line items
- Define prices
- Add custom data
- Add errors and notifications
- Run rule-based cart scripts
Refer to cart manipulation services that allows you to make these changes.
Usings Plugins also, you can
- Add cart collector/processor
- Add cart items
- Add cart discounts
- Add cart validator
- Change price items
- Customize price calculation
Changing the look
The appearance of the cart can be changed in multiple ways.
With template extensions, you can extend or override the cart look of our default storefront. However, remember that the template extension will only be available for merchants that use our default storefront. Some merchants who build their projects upon custom frontends will not be able to benefit from your extension.