jaimex8
12/9/2015 - 11:00 PM

Serialize an array and print to page

Serialize an array and print to page

<!-- Serailize an array and print to page -->
<mvt:assign name="g.var" value="miva_array_serialize(array)" />
<!-- @@ &mvt:global:var; -->

ex:
<mvt:assign name="g.var" value="miva_array_serialize(l.settings:readytheme:navigationitems)" />
<!-- @@ &mvt:global:var; -->

<mvt:assign name="g.DEBUG" value="miva_array_serialize( variable )" />
<!--
@@ variable
===========
&mvt:global:DEBUG;
-->

<!-- @@ :canonical=1,:cat_id=14,:id=2883,:page_id=0,:product_id=0,:status=200,:store_id=1,:uri=%2F05_bs%2Four-best-selling-products -->