You are here: Commerce Process > Shopping Carts > Shopping Carts Overview

Shopping Carts Overview

OVERVIEW

The shopping cart displays the total number of items in the cart and the total cost for those items. Users can add multiple products to a shopping cart before checking out. Users can selectively checkout items from the shopping cart. Upon checkout, all data is carried into the newly created commerce transaction, where the products added to the shopping cart show up as line items. Users can also add items to existing quote from the shopping cart, similar to the ‘Add from catalog’ functionality in commerce.

A shopping cart is available per Commerce Process. The FullAccess user can enable the shopping cart for a Commerce Process in the Shopping Cart Editor. By default, this functionality is disabled.

ClosedExample of the User-Side Shopping Cart

ADMINISTRATION

ClosedEnabling the Shopping Cart

  1. Navigate from the Admin Home Page > Commerce and Documents > Process Definition > Select a Process > Shopping Cart > List.
  2. Verify that Enable Shopping Cart is selected.
  3. Modify the Shopping Cart properties: 

    Property Description
    Check Out Button Label Enter text that will display on the button users will click to perform the checkout action.
    Display Cart Total
    • No
    • Display Above Cart Item
    • Display Below Cart Item
    Items Selected by Default Select the Items Selected by Default box if you would like the items in the shopping cart to automatically be selected for check-out when they are added to the cart. If this is not selected, the user will have to manually select items for checkout.
    Remove Items on Checkout Select to have the selected items removed from the cart when they are added to a transaction.
    Display Clear Cart Button Select the Display Clear Cart Button if you would like that option. When users choose to clear the cart, all items will be removed from the cart.
    Clear Cart Button Label Enter the text that will be displayed on the Clear Cart button.
    Hide Cart Button Label Enter the text that will be displayed on the Hide Cart button.
    Shopping Cart Columns You can edit the text and the layout of the shopping cart. Columns can be dragged and dropped into the order you would like to have them appear. Under the Shopping Cart Columns header, there are four editable columns: Label, Editable, Alignment and Width. Under Label, you can click on the column label and edit its text.
    Quantity Select the checkbox under Editable if you would like the user to be able to edit the quantity of items within the shopping cart. In the Alignment column, click on a label for the appropriate shopping cart column. A drop-down will appear and you can choose Left, Right or Center for the alignment of each column.
    Description In the Alignment column, click on a label for the appropriate shopping cart column. A drop-down will appear and you can choose Left, Right or Center for the alignment of each column. You have two choices for setting the Width of each column: Auto and Pixel. If you click the checkbox under Auto, that column will auto-size.
    Price
    Description
  4. Click Save to save your changes.
  5. Click Back to return to the Processes List page.

ClosedInvoking the Shopping Cart

Commerce Invocation from the Shopping Cart is similar to invocation in other areas of the application. After enabling the Shopping Cart for a process, the FullAccess user must set up the Shopping Cart invocation in the Process Invocation section. Invocation rules are evaluated on adding items to the cart and not on checking out. If the shopping cart for a process is disabled, the invocation buttons for it will also be disabled to make administration easier.


ClosedShopping Cart and Navigation Menus

Also upon enabling a shopping cart within a Commerce Process and deploying the process, a navigation menu link is automatically created. It is labeled ‘View <Commerce Process name> Shopping Cart’. The number of items in the shopping cart is displayed right next to the link for the end-user. The FullAccess user can customize this link to be whatever they want. Also, like invocation, these view cart links disappear once the shopping cart is disabled for a process to make administration easier.


NOTES

RELATED TOPICS

Related Topics Link IconSee Also