Wishlist
Describes Wishlist pipelines in Optimizely Configured Commerce.
CreateGetWishListLineResults
Order | Pipe | Description |
---|---|---|
100 | CreateGetWishListLineResults | Call GetProductCollection product service with EnforceRestrictions set to false (so restricted products that were added while signed in can be viewed in the wishlist even while signed out.) and other parameters. Iterate over WishListProducts parameter and fill GetWishListLineResults property with GetWishListLineResult objects created during iteration. Note IsVisible property is being set only when GetHiddenProducts parameter is true. |
CreateGetWishListResult
Order | Pipe | Description |
---|---|---|
100 | CreateGetWishListResult | If ShareOption equals WishList.ShareOptionType.IndividualUsers, then get count of WishListShares If ShareOption equals WishList.ShareOptionType.AllCustomerUsers, then get customer userprofiles number minus current user Initiate GetWishListResult properties using CreateGetWishListResultParameter parameter. The most non trivial property is IsSharedList what is checking that ShareOption is WishList.ShareOptionType.Static or ShareOption is not equal to WishList.ShareOptionType.Private and user is not owner. |
Updated over 1 year ago