DOCS

Is greater & Is less than mods

Is greater mod checks the value of a dynamic tag if it is greater than a provided value. While Is less than checks the opposite.

As other conditional mods, these can be used for dates as well. In terms of dates, Is greater than means after provided date, and Is less than means before the provided date

Example

In the example below, we are pulling the price dynamic tag, and if the output is greater than 1000, we display “Too expensive” text

@post(product.min_price).is_greater_than(1000).then(Too expensive)

Continue reading