Miva Merchant Development by Scot's Scripts

DEBUG: Manual SMT DebugArray / VarValues

Miva Knowledge Base
DEBUG: Manual SMT DebugArray / VarValues
Important Notice: This information is for internal reference only. Use at your own risk.
Does Google actually understand your Miva Merchant store? Our JSON-LD schema generator makes sure it does. Contact us to get started. (more info)

DEBUG: Manual SMT DebugArray / VarValues

Scot Ranney • February 22, 2024


<mvt:assign name="l._array" value="miva_Array_serialize(l.settings:image_info)" />
<mvt:assign name="l._pos" value="1" />
<mvt:assign name="l._text" value="gettoken(l._array,',',l._pos)" />

<mvt:while expr="len(l._text) GT 0">
	  <mvt:eval expr="encodeentities(decodeattribute(l._text)) $ '<br>'" />
	  <mvt:assign name="l._pos" value="l._pos + 1" />
	  <mvt:assign name="l._text" value="gettoken(l._array,',',l._pos)" />
</mvt:while>

https://www.scotsscripts.com/mvblog/debug-manual-smt-debugarray-varvalues.html

mvkb_debug