Support for custom parameters

minor version 1.0.1, relase date 2016-11-24

Since this version you can define custom parameters and used them anywhere in your XML templates. Your XML templates can therefore be much more generic.

Parameters can be used in any expression, including filter expressions. Parameters are replaced by constant values that are provided during runtime, for example via url parameters.

use case

I need XML file containing only products with quantity below some threshold:

  1. define custom parameter quantityBelow of type number
  2. create product condition product.quantity < runtime.quantityBelow
  3. associate xml with url check-quantity, and map quantityBelow parameter to url parameter named below
  4. open www.yourshop.com/endpoint/check-quantity?below=100 or www.yourshop.com/endpoint/check-quantity?below=8
Update your privacy settings