Miva - mvt:call Search Spring API
<mvt:comment><!-- https://searchspring.zendesk.com/hc/en-us/articles/201185019-SearchSpring-API-Search-and-Navigation --></mvt:comment>
<mvt:comment><!-- https://searchspring.zendesk.com/hc/en-us/articles/201184849-SearchSpring-Catalog-init-function-and-options --></mvt:comment>
<mvt:assign name="g.url" value="'http://api.searchspring.net/api/search/search.json'" />
<mvt:assign name="g.bgfilter.hierarchy" value="'Dirt Bike Gear & Parts/Dirt Bike Parts/Body'" />
<mvt:assign name="g.filter.facet_hierarchy" value="'Dirt Bike/Dirt Bike Parts/Body'" />
<mvt:assign name="g.format" value="'json'" />
<mvt:assign name="g.intellisuggest" value="1" />
<mvt:assign name="g.method" value="'search'" />
<mvt:assign name="g.page" value="1" />
<mvt:assign name="g.q" value="''" />
<mvt:assign name="g.resultLayout" value="'grid'" />
<mvt:assign name="g.resultsFormat" value="'html'" /> <mvt:comment><!-- native|html --></mvt:comment>
<mvt:assign name="g.resultsPerPage" value="24" />
<mvt:assign name="g.sort.salesrank" value="'desc'" />
<mvt:assign name="g.v" value="s.dyn_time_t" />
<mvt:assign name="g.websiteKey" value="'KEY'" />
<mvt:assign name="g.searchspring:json" value="''" />
<mvt:call action="g.url" method="'GET'" fields="'bgfilter.hierarchy,filter.facet_hierarchy,format,intellisuggest,method,page,q,resultLayout,resultsFormat,resultsPerPage,sort.salesrank,v,websiteKey'">
<mvt:assign name="g.searchspring:json" value="g.searchspring:json $ s.callvalue" />
</mvt:call>
<mvt:assign name="g.searchspring:json" value="glosub( glosub( g.searchspring:json, '\n', '' ), '\t', '' )" />
<mvt:item name="ry_toolbelt" param="assign|g.searchspring:parsed|Json_Parse(g.searchspring:json, 0)" />
&mvt:global:searchspring:parsed:results;