- Problem we are having is in Product Page Template
* The actual Miva code for creating the ADD TO CART button MUST be used in the PRODUCT TEMPLATE
* the custom field "Tracklisting" must be used with %OUI1% (not OUI)
and the two will not work together in the same text area
code im using to display the custom field is
%OUI1%
%ACTION(XPFIELDS)%
%IF(g.OUI_Xproducts:TRACKLISTING NE '')%
<table id="product-tracklistings">
<caption>Track Listing</caption>
<tr><td>
%var|g.OUI_Xproducts:TRACKLISTING|%
</td></tr>
</table>
%IFEND%
the only way i know how to output the ADD TO CART is with
%prodqtybox|001|% %attributes%
if i put %OUI1% in that textarea the ADD TO CART it doesnt display at all.
OUI1 is the only way to get the TRACKLISTING (a custom field I need) custom field to work
Also if it helps the only reason i knew to use OUI1 was from the CATEGORY TEMPLATE module documentation pdf
Using OpenTokens
You can use OpenTokens in the Category Page Templates template areas. The very first characters of the
field must be %OUI%. You can also use %OUI1% if necessary – this token tells the module to parse
OpenTokens first.
Any help would be much appreciated!
Thanks!
* The actual Miva code for creating the ADD TO CART button MUST be used in the PRODUCT TEMPLATE
* the custom field "Tracklisting" must be used with %OUI1% (not OUI)
and the two will not work together in the same text area
code im using to display the custom field is
%OUI1%
%ACTION(XPFIELDS)%
%IF(g.OUI_Xproducts:TRACKLISTING NE '')%
<table id="product-tracklistings">
<caption>Track Listing</caption>
<tr><td>
%var|g.OUI_Xproducts:TRACKLISTING|%
</td></tr>
</table>
%IFEND%
the only way i know how to output the ADD TO CART is with
%prodqtybox|001|% %attributes%
if i put %OUI1% in that textarea the ADD TO CART it doesnt display at all.
OUI1 is the only way to get the TRACKLISTING (a custom field I need) custom field to work
Also if it helps the only reason i knew to use OUI1 was from the CATEGORY TEMPLATE module documentation pdf
Using OpenTokens
You can use OpenTokens in the Category Page Templates template areas. The very first characters of the
field must be %OUI%. You can also use %OUI1% if necessary – this token tells the module to parse
OpenTokens first.
Any help would be much appreciated!
Thanks!
Comment