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
-->
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 Version | Miva Version | Result |
---|---|---|
ry_toolbelt.mvc | 5.5 | Works |
ry_toolbelt.mvc | 9 | Doesn't Work |
ry_toolbelt_miva_9.mvc | 9 | Doesn't Work |