Cart_SaveCartPopup Widget

The Cart_SaveCartPopup widget lets a shopper name a saved cart. It is loaded automatically by the Shopping Cart control when the shopper chooses Save Cart.

Save Cart dialog over the Shopping Cart page.

Save a cart

The dialog asks the shopper for a cart name, saves the name with the cart details, and returns the shopper to the Shopping Cart page. The name can contain any characters and is limited to 50 characters.

Widget options

Use the following options to control the dialog text and dimensions.

Option Default Valid values or format Effect
popupTitle
String
'Save Cart' Text Sets the dialog title.
popupWidth
Number
450 Pixels Sets the dialog width.
popupHeight
Number
250 Pixels Sets the dialog height.
nameFieldWidth
Number
400 Pixels Sets the width of the cart-name field.
instructionText
String
'Enter the name you would like to assign to your Saved Cart.' Text Sets the instruction displayed above the cart-name field.

For the cart rules that apply after a shopper saves or restores cart contents, see Shopping Cart Logic.

Validate the dialog

  1. Open the Shopping Cart page and select Save Cart.
  2. Confirm the dialog displays the configured title, instruction, and dimensions.
  3. Save a cart using a 50-character name.
  4. Confirm the saved cart is available when the shopper returns to the Shopping Cart page.

This site uses Just the Docs, a documentation theme for Jekyll.