EcommerceTransformationFunctionsGetAddToShoppingCartLink Method (Object, Object, String) |
Returns link to "add to shopping cart".
Namespace: CMS.Ecommerce.Web.UIAssembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 10.0.0
Syntax 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:
StringSee Also