Download PDF
Download page Working with the Cart.
Working with the Cart
Click the cart icon on the top right of the storefront, and then click the View Cart button to view the active cart. You can also go to the My Carts page and click the particular cart name link to view the active cart.
New Cart
You can perform one or more of the following actions from the new cart:
- View the complete list of selected products on the cart or from the mini cart
- Change the cart name: Click the pencil () icon and modify the cart name
- View cart status
- View cart summary
- Search for line items using the search bar
- Clone the cart: Click the Clone Cart button to clone the new cart
- Activate the Cart: Click the Activate Cart button to make the cart an active cart
- Add products to the cart: Click the Add Products button to add more products to the cart
- Add recommended product to the cart: If a recommendation rule is set for the product, you can see the Recommended Products tab next to the Details or Configuration tab to display a list of recommended products. You can add recommended products directly from the list
By default, the recommended products feature is enabled. If you do not want to display the recommended products, disable the feature by setting the EnableProductRecommendation flag in ConfigSystemProperties to false. Use the following API to disable the flag. For more information, see Update Custom Settings associated with a flow.
PUT https://<URL_of_the_Instance>/api/revenue-admin/v1/flows/{flowname}/settings/ConfigSystemProperties
- Change quantities
- Change adjustment type and amount
- Change the start date and end date for Subscriptions
- Delete line item(s). For more information, see Deleting Primary Line Item(s).
- Configure fields on the cart details page in real time. For more information, see Configuring Cart Line Item Fields
- Navigate to the Product Details page: Click on the product name to go to the product details page and also update the configuration
- View product-level price summary and totals
- View cart level price summary and total price
View cart level detailed breakup:
Click the information () icon available next to the Total Price label. A Cart Total popup with the default columns is visible. While reviewing the details, you can also update the editable fields (for example, Charge Type, Frequency, Adjustment Type, Adjustment Amount, etc.) and click Update to update the pricing in the Price Summary section.The implementer first sets up the flow and configures the column display (list and sequence of fields), and then passes the flow name to the default field DefaultFlow of the Storefront, which displays the required columns when you click the View Details icon. If you do not specify a flow name, the application will use system flow by default. The implementor can also set the field as editable while configuring the column display.
For more information on how to create Flow and configure columns, see Configuring the Flows and Configuring Column Settings.
- View/update configuration details: Click on the wrench icon () to view or update the product configuration.
- Create a favorite configuration: Select a particular line item or all line items and use the Save as favorite option. For more information, see Managing Favorites.
- Apply promotions. For more information, see Applying Promotions.
- Request a quote
- If the quote is in the draft status, you can click the edit button from the Quote details page and add, delete, and modify the line items.
- Click Finalize & Submit to apply the changes to the cart and quote.
- Click Discard Changes if you do not want to apply your changes to the cart and quote.
- Place an order
- If the order is in the draft status, you can click the edit button from the Quote details page and add, delete, and modify the line items.
- Click Confirm Changes to apply the changes to the cart and order.
- Click Discard Changes if you do not want to apply your changes to the cart and order.
When you update any of the fields, the following API is used to reflect the changes and reprice the product and cart price. For more information, click here.
PATCH https://<URL_of_the_Instance>/api/cart/v1/carts/{cartId}/items
The following API is used when you delete any product. For more information, click here.
DELETE https://<URL_of_the_Instance>/api/cart/v1/carts/{Id}
If the price process of the cart takes longer than expected, the application attempts to fetch the cart status again for the number of retry attempts and inter-attempt delay specified in the cart status retry settings. If pricing the cart takes longer, these options are presented:
- Check Status: The application retries the cart status fetch, doubling the number of retry attempts specified while configuring cart pricing status retry settings. For example, if you set 5 retry attempts, the application attempts 10 retries.
- Abandon Cart: Deactivates the current cart and creates a new one. You can then add the products again into the new cart.
Finalized Cart
You can perform one or more of the following actions from the finalized cart:
- View the complete list of selected products on the cart
- Change the Cart name: Click the Pencil () icon and modify the Cart name
- View cart summary
- Search for line items using the search bar
- Use the Associate to link to review the Order or Quote record associated with the cart
- View cart level price summary and total price
- View cart level detailed breakup: Click the information () icon available next to the Total Price label under the Price Summary section
- Create a favorite configuration: Select a particular line item or all line items and use the Save as favorite option. For more information, see Managing Favorites