For some reason, I am not able to get vquick to return a value for pcount in the following code which is located in the Related Content section for products (I plan to use the alsobought items in this section instead of the related products):
<mvt:item name="customfields" param="Read_Product_Code( l.settings:product:code, 'alsobought', l.settings:customfields)" />
<mvt:if expr="NOT ISNULL l.settings:customfields">
&mvt:customfields;
<mvt:item name="toolkit" param="vquick|pcount|l.settings:customfields" />
<mvt:if expr="pcount GT 0">
The customfields variable does have the correct data (160-4579,160-17728,931-1612,160-17928,) and is returned as expected by line #3. I would expect pcount to EQ 4, but it has no value when evaluated. I also tried the same code in the Product Display layout and had the same issue.
Any ideas would be greatly appreciated.
Thanks,
Paul
<mvt:item name="customfields" param="Read_Product_Code( l.settings:product:code, 'alsobought', l.settings:customfields)" />
<mvt:if expr="NOT ISNULL l.settings:customfields">
&mvt:customfields;
<mvt:item name="toolkit" param="vquick|pcount|l.settings:customfields" />
<mvt:if expr="pcount GT 0">
The customfields variable does have the correct data (160-4579,160-17728,931-1612,160-17928,) and is returned as expected by line #3. I would expect pcount to EQ 4, but it has no value when evaluated. I also tried the same code in the Product Display layout and had the same issue.
Any ideas would be greatly appreciated.
Thanks,
Paul
Comment