Поделиться через


Working With the My Lists Web Part

The My Lists Web Part provides shoppers with a way to manage all their lists from one location on the Web site.

From this list, shoppers can access the detail page of each list, delete a list, create a new empty list, and set a default list. List functionality is restricted to authenticated shoppers. Shoppers can access this page from a "My Profile" page or menu.

Web Part

The following figure shows the My Lists Web Part.

Dd452244.vugmywishlist(en-US,CS.90).gif

Selecting a list from the List Name column will direct the shopper to the List Detail page.

The Save Default button will save the currently selected list as the shopper's default list.

The Create List button will create a new empty list with the name entered by the shopper. List names have to be unique.

The Delete link beside each list will delete the selected shopper list.

Property Sheet

The following figure shows the My Lists Web Part property sheet. The My Lists Web Part property sheet lets site designers control some aspects of the Web Part's behavior and appearance. The property sheet is displayed by selecting the edit option on the Web Page (in Edit Page mode) and then selecting Modify Shared Web Part. This displays the property sheet. Expand the sections to see the relevant properties.

Dd452244.Vug_MyWishLists_WP_Properties(en-US,CS.90).gif

Properties

The following table lists and describes the properties of the My Lists Web Part.

Property

Type

Description

Default value

Template To Display

String

Template file to use to render the lists in the browser.

Sample_MyWishLists

List Detail Page

String

Page where the details of a shopper list are displayed.

category

Columns

String

List of column names.

The default column names. See table below.

"List Id" URL parameter

String

URL key where the List ID will be retrieved.

listId

The following table lists and describes the Columns that can be displayed.

Property

Description

Preview

Displays an image of the product.

Product ID (optional)

The product identifier property, retrieved from the catalog.

Name

The name of the product, retrieved from the catalog.

Description

Description of the product, retrieved from the catalog.

Options

Variant options (color, size), retrieved from the product definition.

Availability

Inventory status.

Quantity

Changing the quantity of a line item does not trigger the recalculation of the line item price or the removal of the item if the quantity is set to zero. Instead, the shopper manually selects the "Update Cart" link or button to limit the number of server callbacks and improve performance.

Price

Total price per line item (quantity * unit price)

Total

Total price per line item (quantity * unit price)

Toolbox

Displays links and icons to perform various options. (Deleting the Line Item, Add to a Shopping list).

See Also

Other Resources

Working With the Web Parts

Orders Web Parts

My Lists Web Part