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

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
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