steveosoule
1/15/2015 - 7:49 PM

Miva - Troubleshooting Toolbelt

Miva - Troubleshooting Toolbelt

<!-- SAMPLE B - Incorrect Results, with basic toolbelt assign -->

<mvt:item name="ry_toolbelt" param="assign|g.foo|'bar'" />

<mvt:assign name="g.Product_Code" value="'miva-test'" />
<mvt:item name="toolkit" param="productincategory|incatcount|g.Product_Code" />
Count: &mvt:global:incatcount;<br>

<!--
OUTPUTS:
Count: 0
-->
<!-- SAMPLE A - Correct Results -->

<mvt:assign name="g.Product_Code" value="'miva-test'" />
<mvt:item name="toolkit" param="productincategory|incatcount|g.Product_Code" />
Count: &mvt:global:incatcount;<br>

<!--
OUTPUTS:
Count: 4
-->

Summary

After updating store to Miva 9, Toolkit's productincategory (and catinfo) function does not work after a Toolbelt item is used. (See example files below).

If you take the contents of the sample files and run them in a Miva 5.5 store with, then both samples will work as expected.

If you take the contents of the sample files and run them in a Miva 9 store, then Sample B will not work correctly.

Toolbelt VersionMiva VersionResult
ry_toolbelt.mvc5.5Works
ry_toolbelt.mvc9Doesn't Work
ry_toolbelt_miva_9.mvc9Doesn't Work