You are here

promotionListLength

Used by the following Containers: 
Variable Type: 
Custom Javascript
	// returns the number of distinct products in the productList Object
function() {
var promotionList = {{promotionList}};
  if (promotionList === undefined) {
      return 0;
  } else  if (promotionList === "") {
      return 0;
  } else if (promotionList === []) {
      return 0;
  } else {
      return promotionList.length
  }
}