Click or drag to resize
WishlistItemInfoProviderAddSKUToWishlist Method

Note: This API is now obsolete.

Adds product to specified wishlist.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IWishlistItemInfoProvider.Add(int, int, int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - WishlistItemInfo.Provider.")]
public static void AddSKUToWishlist(
	int userId,
	int skuId,
	int siteId
)

Parameters

userId
Type: SystemInt32
User ID
skuId
Type: SystemInt32
Product ID
siteId
Type: SystemInt32
Site ID
See Also