EKM Conditional Tokens

Conditional tokens allow you to output only the markup you need when outputting data in a tag. They around an attribute tag and any accompanying markup and if the attribute tag isn't output, neither is the markup.

The example below shows a typical [ekm:showdata]output_item with a name, price, rrp and short description.

This is exactly how we want to display this information if the product can output it. The problem comes however when some products have RRPs and some products do not. If a product didn't have a short description or an RRP for example you would see the markup shown below.