New Template Language Updates with Miva Empresa 5.20 Engine

There are a few Miva Template Language updates in the 5.20 engine.

Ability to Escape Quotes in mvt:assign and mvt:eval

With the 5.20 engine, you can now escape quotes within expressions.

Examples:

New Store Morph Tags for Greater Control in Foreach and While Loops

<mvt:foreachcontinue /> – Returns Program flow to the top of the foreach loop. This allows you to execute only partial code within an iteration of a loop and skip other code. It is used most commonly within an expression. If some condition is true jump back to the top of the loop and begin the next iteration.

Example:

In this example if the color is blue, no code after the foreachconctinue would be executed.

Subscribe to Our Updates

Get regular tips, how-to articles, ecommerce-related news and event updates.