Functions

Product Catalog

This function fetches a specific product by its product SKU from the product catalog. The product doesn't have to be (but can be) on any wishlist or in the abandoned cart of any user. The product is detached here from any specific user.

<%${ecx:productCatalog('aaa-bbb-ccc','productName')}%>
XML

Wishlist

This function fetches all products which are on the contact's wishlist. The product to be fetched must be both in the product catalog, and on the wishlist under the same product SKU.

<%ForEach var='wishlistProduct' items="${user.wishlistProducts}" %>
<%${wishlistProduct['productName']}%>
<%/ForEach%>
XML

Abandoned Cart

This function fetches all products which are in the contact's abandoned cart. The product to be fetched must be both in the product catalog, and in the abandoned cart under the same product SKU.

<%ForEach var='abanonedCartProduct' items="${user.abandonedCartProducts}" %>
<%${abanonedCartProduct['productName']}%>
<%/ForEach%>
XML

Available properties

NameType
productSKUString
productNameString
localizedProductNamesMap<String, String>
productPriceFloat
localizedProductPricesMap<String, Float>
variantMap<String, String>
stockTotalInteger
productURLString
imageURLString
zoomImageURLString
brandString
categoryString
msrpFloat
localizedMsrpMap<String, Float>
descriptionString
localizedDescriptionsMap<String, String>

Related Topics