Using nVelocity to access collection item by index
Posted: Tue Nov 11, 2008 10:59 am
Wondering if something like this is possible (without iterating the collection):
#if ($Product.TemplateFields[0].InputValue == "VALUE")
[[ConLib:Custom/MyConditionalProductControl]]
#end
The above statement throws the error: "Encountered "[" at line 51, column 29. Was expecting one of: ..."
#if ($Product.TemplateFields[0].InputValue == "VALUE")
[[ConLib:Custom/MyConditionalProductControl]]
#end
The above statement throws the error: "Encountered "[" at line 51, column 29. Was expecting one of: ..."