- 1 Minute to read
- Print
- DarkLight
ecx:productCatalog
- 1 Minute to read
- Print
- DarkLight
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')}%>
Wishlist
This function fetches all products on the contact's wishlist. The product to be fetched must be in the product catalog and on the wishlist under the same product SKU.
<%ForEach var='wishlistProduct' items="${user.wishlistProducts}" %>
<%${wishlistProduct['productName']}%>
<%/ForEach%>
Abandoned Cart
This function fetches all products in the contact's abandoned cart. The product to be fetched must be in the product catalog and in the abandoned cart under the same product SKU.
<%ForEach var='abanonedCartProduct' items="${user.abandonedCartProducts}" %>
<%${abanonedCartProduct['productName']}%>
<%/ForEach%>
Available Properties
Name | Type |
---|---|
| String |
| String |
| Map<String, String> |
| Float |
| Map<String, Float> |
| Map<String, String> |
| Integer |
| String |
| String |
| String |
| String |
| String |
| Float |
| Map<String, Float> |
| String |
| Map<String, String> |