Click or drag to resize
EcommerceTransformationFunctions Class
Summary description for Functions.
Inheritance Hierarchy
SystemObject
  CMS.EcommerceEcommerceTransformationFunctions

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.2.23
Syntax
C#
public class EcommerceTransformationFunctions

The EcommerceTransformationFunctions type exposes the following members.

Constructors
Methods
  NameDescription
Public methodStatic memberGetAddToShoppingCartLink(Object)
Returns link to "add to shopping cart".
Public methodStatic memberGetAddToShoppingCartLink(Object, Object)
Returns link to "add to shopping cart".
Public methodStatic memberGetAddToShoppingCartLink(Object, Object, String)
Returns link to "add to shopping cart".
Public methodStatic memberGetAddToWishListLink(Object)
Returns link to add specified product to the user's wish list.
Public methodStatic memberGetAddToWishListLink(Object, String)
Returns link to add specified product to the user's wish list.
Public methodStatic memberGetDepartment
Gets object from the specified column of the department with specific ID.
Public methodStatic memberGetDocumentName
Gets document name of specified node id.
Public methodStatic memberGetEproductUrl
Returns e-product download URL.
Public methodStatic memberGetInternalStatus
Gets object from the specified column of the internal status with specific ID.
Public methodStatic memberGetManufacturer
Gets object from the specified column of the manufacturer with specific ID.
Public methodStatic memberGetProductUrl(Object)
Returns product URL.
Public methodStatic memberGetProductUrl(Object, Object)
Returns user friendly URL of the specified SKU.
Public methodStatic memberGetProductUrl(Object, Object, Object)
Returns user friendly URL of the specified SKU and site name.
Public methodStatic memberGetProductUrlForFeed
Returns URL of the specified product with feed parameter.
Public methodStatic memberGetPublicStatus
Gets object from the specified column of the public status with specific ID.
Public methodStatic memberGetRemoveFromWishListLink
Returns link to remove specified product from the user's wish list.
Public methodStatic memberGetSKUImageUrl
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.
Public methodStatic memberGetSKUIndicatorProperty
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.
Public methodStatic memberGetSKUNode
Gets the SKU node. If there are multiple nodes for this SKU the first occurrence is returned.
Public methodStatic memberGetSKUNodeAlias
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.
Public methodStatic memberGetSKUOriginalPrice
Returns SKURetailPrice or price before discounts if saving is bigger. Returns zero if price saving is zero.
Public methodStatic memberGetSKUPriceSaving
Returns amount of saved money based on the difference between product seller price and product retail price or price before discount.
Public methodStatic memberGetSupplier
Gets object from the specified column of the supplier with specific ID.
Public methodStatic memberMarkEnabledAndDisabledItems(DropDownList, String, String)
Sets different css styles to enabled and disabled dropdownlist items.
Public methodStatic memberMarkEnabledAndDisabledItems(DropDownList, String, String, String, String)
Sets different css styles to enabled and disabled dropdownlist items.
Public methodStatic memberShoppingCartURL
Returns URL to the shopping cart.
Public methodStatic memberWishlistURL
Returns URL to the wish list.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
See Also