SuiteCommerce InStore Components for Cart Management
SuiteCommerce InStore (SCIS) expands capabilities for managing carts with efficient components for item handling and user interactions.
TL;DR
SuiteCommerce InStore (SCIS) components enhance the cart management functionalities in SuiteCommerce, allowing developers to efficiently add, remove, and update items. This article details the available components and their methods, crucial for creating a seamless retail experience.
Overview of SuiteCommerce InStore (SCIS) Components
The SuiteCommerce InStore (SCIS) components in the extensibility API provide a suite of tools designed to help you create dynamic retail experiences by adding, removing, or updating items in the cart. These components make it easier for developers to manage the shopping cart and engage users effectively, enhancing the overall shopping experience.
Cart Component
The Cart component in SCIS provides an array of methods that enable functionalities such as adding, removing, and updating lines in the cart alongside applying promotions and discounts.
ID
Cart
Available Since
SuiteCommerce 2018.2
Methods
| Method Name | Description |
|---|---|
| addGlobalDiscount() | Adds a global discount to the cart. |
| addLine() | Adds a line item to the cart. |
| addLines() | Adds multiple line items to the cart. |
| addLineDiscount() | Adds a discount to a specific line item. |
| addPromotion() | Applies a promotion to the cart. |
| getLines() | Retrieves all the lines currently in the cart. |
| getSummary() | Provides a summary of the cart’s contents. |
| removeLineDiscount() | Removes a discount from a specific line item. |
| removePromotion() | Removes a promotion from the cart. |
| returnLine() | Returns a line item for exchange or refund processes. |
| setCustomer() | Associates a customer with the cart. |
| unvoidLine() | Restores a previously voided line item. |
| voidLine() | Marks a line item as void. |
Events
- beforeAddGlobalDiscount
- afterAddGlobalDiscount
- beforeAddLine
- afterAddLine
- beforeAddLineDiscount
- afterAddLineDiscount
- beforeRemoveLineDiscount
- afterRemoveLineDiscount
- beforeReturnLine
- afterReturnLine
- beforeSetCustomer
- afterSetCustomer
- beforeUnVoidLine
- afterUnVoidLine
- beforeVoidLine
- afterVoidLine
SCISLayout Component
The SCISLayout component provides functionality for displaying modal dialogs to users, enhancing user interaction and experience.
ID
SCISLayout
Available Since
SuiteCommerce 2018.2
Methods
| Method Name | Description |
|---|---|
| showConfirmationPopup() | Displays a confirmation popup for user actions. |
| showMessagePopup() | Displays a message popup to inform users of activities. |
Events
- None
Who This Affects
- Developers: Enhances the ability to implement flexible cart functionalities.
- Administrators: Increases control over retail processes and user interactions.
Key Takeaways
- SCIS components provide powerful methods to manage cart operations.
- Integrates user confirmation dialogs to improve user experience.
- Supports efficient handling of promotions, discounts, and customer associations.
Frequently Asked Questions (4)
What permissions are required to use SuiteCommerce InStore components for cart management?
Is there a feature within SuiteCommerce InStore to apply both global discounts and line discounts concurrently?
How can I restore a previously voided line item in SuiteCommerce InStore?
How does the Cart component handle the return of line items to inventory?
Was this article helpful?
More in Commerce
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
- Commerce Extensions in NetSuite 2026.1
Commerce Extensions in NetSuite 2026.1 enhance performance and user experience in eCommerce.
- Convert Multiple Transaction Line Items into Configured Items in
Enhance transaction processing in NetSuite by converting multiple line items into configured items with improved session handling.
- New SuiteCommerce Features in NetSuite 2026.1
New SuiteCommerce features in NetSuite 2026.1 enhance user experience and improve eCommerce efficiency.
