The following table describes the collection properties for the Cart microservice.
| S. No. | Attribute | Default Value | Description |
|---|---|---|---|
| 1 | allowedEventName | NA | List of possible actions for which events are triggered. The possible values are createCart, updateCart, deleteCart, createCartItem, updateCartItem, deleteCartItem, createCartPayment, updateCartPayment, deleteCartPayment, createCartPromotion, updateCartPromotion, and deleteCartPromotion. |
| 2 | allowGuest | True | Guest users can add products to cart only when it is set to true. The possible values are true and false. |
| 3 | allowGuestCheckout | True | Guest users can check out products added to cart only when it is set to true. The possible values are true and false. |
| 4 | allowPriceOverride | False | Indicates the price which can be overriden when set to true. |
| 5 | maxBagCount | 50 | Contains the maximum number of items that can be added to a shopping cart at a time. |
| 6 | cartCheckoutPlugin | com.skava.cart.checkout.strategyimpl.DefaultCheckoutStrategyServiceImpl | Holds a plugin that contains the validation and calculation logic for the cart. |
| 7 | requiredBundleMainProduct | false | Indicates that the bundle product should have at least one main product when it is set to true. The possible values are true and false. |
| 8 | requiredBundleMandatoryProduct | false | Indicates that the bundle product should have at least one mandatory product when it is set to true. The possible values are true and false. |
| 9 | cartShippingValidators | NA | Indicates a class, which contains the validations while adding shipping details in a cart and cart item(s). |
| 10 | cartValidators | NA | Indicates a class, which contains the validations on a cart. |
| 11 | cartPropertiesValidators | NA | Specifies a class, which contains the validations while adding custom cart properties. |
| 12 | cartPromotionValidators | NA | Specifies a class, which contains the validations while adding promotion(s) in a cart. |
| 13 | cartPaymentValidators | NA | Indicates a class, which contains the validations during payment operations in a cart. |
| 14 | cartMergeValidators | NA | Specifies a class, which contains the validations while merging a cart. |
| 15 | cartItemValidators | NA | Specifies a class, which contains the validations on cart item(s). |
| 16 | cartItemPropertiesValidators | NA | Indicates a class, which contains the validations on cart item(s) properties. |
| 17 | cartCommunicationPreferenceValidators | NA | Indicates a class, which contains the validations on contact preference of a cart. |
| 18 | cartAddressValidators | NA | Indicates a class, which contains the validations while adding address details in a cart and cart item(s). |
| 19 | customchargesconfiguration | {"name":"csrdefinedcharges","configuration":[{"name":"displayName","type":"String"},{"name":"chargeAgainst","type":"List","values":"RETURNS, SALES, BOTH"},{"name":"chargeValue","type":"Number"},{"name":"taxable","type":"Boolean"}],"definition":{"type":"ORDER","chargeType":"FLAT","chargeSource":null,"chargeValueOverridable":true,"waivedByDefault":true,"waiveOverridable":true}} | Holds the other charges configuration, which can be customized based on the business need. |
| 20 | otherchargesconfiguration | | Holds the configuration details of other charges of a cart. |
| 21 | returnwindowconfiguration | [ | Holds a list of return window configurations of each order. |
| 22 | maxItemQuantityLimit | 0 | This property limits the maximum quantity for an item in a cart. |
| 23 | noOfDays | 5 | This property determines after how many days cart reminder e-mail can be sent to the customer. |
| 24 | reminderAfter | 1 | This property is used for how frequent the reminders to the customers must be sent. |
| 25 | reminderCount | 5 | This property is the reminder count to determine after how many reminder count an email has to be sent to the customer. |
Revision History
2024-03-05 | SD – Updated collection properties.
2023-01-12 | AN – Updated content for 8.13 release.
2020-01-14 | AM – Content updated for February 2020 release.
2019-06-08 | PLK – Minor copyedits.
2019-05-05 | PLK – Updated to a new table tool.
2019-04-17 | AN – Content updated for the April 2019 release.
2019-01-21 | PLK – Page created and content uploaded.