SuiteCommerce InStore Components for Cart Management

SuiteCommerce InStore (SCIS) expands capabilities for managing carts with efficient components for item handling and user interactions.

·2 min read·View Oracle Docs

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 NameDescription
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 NameDescription
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?
The article does not specify any permissions required to use the SuiteCommerce InStore components for cart management. It's recommended to consult NetSuite's official documentation or your NetSuite administrator for accurate permissions guidance.
Is there a feature within SuiteCommerce InStore to apply both global discounts and line discounts concurrently?
Yes, the SuiteCommerce InStore Cart component allows for both `addGlobalDiscount()` to apply global discounts and `addLineDiscount()` for applying discounts to specific line items.
How can I restore a previously voided line item in SuiteCommerce InStore?
You can restore a previously voided line item in the SuiteCommerce InStore Cart component by using the `unvoidLine()` method.
How does the Cart component handle the return of line items to inventory?
The Cart component includes the `returnLine()` method, which returns a line item to inventory. This action can be tracked through `beforeReturnLine` and `afterReturnLine` events.
Source: SuiteCommerce InStore (SCIS) Components Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Commerce

View all Commerce articles →