Click or drag to resize
EcommerceTransformationFunctionsGetAddToShoppingCartLink Method (Object, Object, String)
Returns link to "add to shopping cart".

Namespace: CMS.Ecommerce.Web.UI
Assembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 10.0.0
Syntax
C#
public static string GetAddToShoppingCartLink(
	Object productId,
	Object enabled,
	string imageUrl
)

Parameters

productId
Type: SystemObject
Product ID
enabled
Type: SystemObject
Indicates whether product is enabled or not
imageUrl
Type: SystemString
Image URL

Return Value

Type: String
See Also