EcommerceTransformationFunctions Class |
Namespace: CMS.Ecommerce
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.
| |
GetDocumentName |
Gets document name of specified node id.
| |
GetEproductUrl |
Returns e-product download URL.
| |
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) |
Returns user friendly URL of the specified SKU.
| |
GetProductUrl(Object, Object, Object) |
Returns user friendly URL of the specified SKU and site name.
| |
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.
| |
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.
| |
GetSKUPriceSaving |
Returns amount of saved money based on the difference between product seller price and product retail price or price before discount.
| |
GetSupplier |
Gets object from the specified column of the supplier with specific ID.
| |
MarkEnabledAndDisabledItems(DropDownList, String, String) |
Sets different css styles to enabled and disabled dropdownlist items.
| |
MarkEnabledAndDisabledItems(DropDownList, String, String, String, String) |
Sets different css styles to enabled and disabled dropdownlist items.
| |
ShoppingCartURL |
Returns URL to the shopping cart.
| |
WishlistURL |
Returns URL to the wish list.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |