Miva Merchant Modules and Development
Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.

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