Hello forum:
I am trying to create a Miva variable from this statement in a template email:
<mvt:if expr="l.settings:order:net_capt NE l.settings:order:total">
<mvt:else>
<span style="color:red; font-size:36px; font-weight:bold;">PAID</span>
</mvt:if>
I tried putting it into a mvt:assign statement like this:
<mvt:assign name="paid" value=" <mvt:if expr="l.settings:order:net_capt NE l.settings:order:total">
<mvt:else>
<span style="color:red; font-size:36px; font-weight:bold;">PAID</span>
</mvt:if>
" />
The variable must include the inline CSS.
That doesn't work. Is there a way to create the "paid" variable from this conditional using Miva template code?
Thanks, Larry
I am trying to create a Miva variable from this statement in a template email:
<mvt:if expr="l.settings:order:net_capt NE l.settings:order:total">
<mvt:else>
<span style="color:red; font-size:36px; font-weight:bold;">PAID</span>
</mvt:if>
I tried putting it into a mvt:assign statement like this:
<mvt:assign name="paid" value=" <mvt:if expr="l.settings:order:net_capt NE l.settings:order:total">
<mvt:else>
<span style="color:red; font-size:36px; font-weight:bold;">PAID</span>
</mvt:if>
" />
The variable must include the inline CSS.
That doesn't work. Is there a way to create the "paid" variable from this conditional using Miva template code?
Thanks, Larry
Comment