EcommerceTransformationFunctions Class |
Namespace: CMS.Ecommerce.Web.UI
public class EcommerceTransformationFunctions
The EcommerceTransformationFunctions type exposes the following members.
Name | Description | |
---|---|---|
EcommerceTransformationFunctions |
Name | Description | |
---|---|---|
GetAddToShoppingCartLink(Object) |
Returns link to "add to shopping cart".
| |
GetAddToShoppingCartLink(Object, Object) |
Returns link to "add to shopping cart".
| |
GetAddToShoppingCartLink(Object, Object, String) |
Returns link to "add to shopping cart".
| |
GetAddToWishListLink(Object) |
Returns link to add specified product to the user's wish list.
| |
GetAddToWishListLink(Object, String) |
Returns link to add specified product to the user's wish list.
| |
GetDepartment |
Gets object from the specified column of the department with specific ID.
| |
GetDiscountCouponCodeRemoveButton |
Returns button usable for removing shopping cart coupon code.
| |
GetDocumentName |
Gets document name of specified node id.
| |
GetEproductUrl |
Returns e-product download URL.
| |
GetFormattedWeight |
Returns formatted weight, based on mass unit format configuration.
| |
GetGtmProductJson(Int32, Object, String) |
Generates Google Tag Manager product object in JSON format for SKUInfo identified by skuId.
| |
GetGtmProductJson(SKUInfo, Object, String) |
Generates Google Tag Manager product object in JSON format for given sku.
| |
GetInternalStatus |
Gets object from the specified column of the internal status with specific ID.
| |
GetManufacturer |
Gets object from the specified column of the manufacturer with specific ID.
| |
GetProductUrl(Object) |
Returns product URL.
| |
GetProductUrl(Object, Object, Object) |
Returns user friendly URL of the specified SKU and site name. Does not uses hash tables to create URL.
| |
GetProductUrlByID |
Returns user friendly URL of the specified SKU and site name. Uses hash tables to create URL.
| |
GetProductUrlForFeed |
Returns URL of the specified product with feed parameter.
| |
GetPublicStatus |
Gets object from the specified column of the public status with specific ID.
| |
GetRemoveFromWishListLink |
Returns link to remove specified product from the user's wish list.
| |
GetSKUImageUrl |
Returns SKU image URL including dimension's modifiers (width, height or maxsidesize) and site name parameter if product is from different site than current. If image URL is not specified, SKU default image URL is used.
| |
GetSKUIndicatorProperty |
Returns value of the specified product public status column.
If the product is evaluated as a new product in the store, public status set by 'CMSStoreNewProductStatus' setting is used, otherwise product public status is used.
| |
GetSKUListPrice |
Returns an SKU list price based on the SKU data and the data of the current shopping cart.
| |
GetSKUNode |
Gets the SKU node. If there are multiple nodes for this SKU the first occurrence is returned.
| |
GetSKUNodeAlias |
Gets the SKU node alias. If there are multiple nodes for this SKU the first occurrence is returned.
If there is not a single one node for this SKU, empty string is returned.
| |
GetSKUOriginalPrice |
Returns SKURetailPrice or price before discounts if saving is bigger.
Returns zero if price saving is zero.
| |
GetSKUPrice |
Returns an SKU catalog price based on the sku data and the data of the current shopping cart.
Taxes are included based on the site settings.
| |
GetSKUPriceSaving |
Returns amount of saved money based on the difference between product seller price and product retail price or price before discount.
| |
GetSKUTax |
Returns tax for given product.
| |
GetSupplier |
Gets object from the specified column of the supplier with specific ID.
| |
MarkEnabledAndDisabledItems |
Sets different css styles to enabled and disabled dropdownlist items.
| |
ShoppingCartURL |
Returns URL to the shopping cart.
| |
WishlistURL |
Returns URL to the wish list.
|