menu

SiteGenesis / Server-side JS / Module: controllers/Wishlist

This controller implements the functionality for wishlists.

Source:

Members

(static) Add

Source:
See:
  • module:controllers/Wishlist~Add

(static) LandingForm

Source:
See:
  • module:controllers/Wishlist~LandingForm

(static) ReplaceProductListItem

Source:
See:
  • module:controllers/Wishlist~ReplaceProductListItem

(static) Search

Source:
See:
  • module:controllers/Wishlist~Search

(static) SetShippingAddress

Source:
See:
  • module:controllers/Wishlist~SetShippingAddress

(static) Show

Source:
See:
  • module:controllers/Wishlist~Show

(static) ShowOther

Source:
See:
  • module:controllers/Wishlist~ShowOther

(static) WishListForm

Source:
See:
  • module:controllers/Wishlist~WishListForm

Methods

(inner) add()

Adds a product given by the HTTP parameter "pid" to the wishlist and displays the updated wishlist.

Source:

(inner) addProduct()

Uses request parameters to add a product.

Source:

(inner) landingForm()

Forms handling for the landing page

Source:

(inner) replaceProductListItem()

Replaces an item in the wishlist.

Source:

(inner) setShippingAddress()

Set the shipping address for the wishlist. Expects AddressID to be already stored in the httpParameterMap.

Source:

(inner) show()

Renders the wishlist page.

Source:

(inner) showOther()

TODO Expects: UserID

Source:

(inner) wishListForm()

Forms handler for processing wish lists.

Source: