Miva Merchant 4 Module FAQs » Category Page Templates (BROK_CTGYTEMPLATES)


%next% and %previous% Tokens Not Functioning After Changing %prodnameL% Token

I recently changed the %prodnameL% token in the Category Page Templates module with my own html so that I could add an image title:

<a href="merchant.mvc?Screen=PROD&Product_Code=%prodcode%" title="%prodname% %catname%">%prodname%</a>

However, now the %next% and %previous% tokens aren't working in the Product Page Templates module (i.e. they are not appearing). (2003/06/16)

In order for the Product Page Templates module to know which product it is displaying iwth respect to the other products in the category it needs to know what category it is in and which product is on. Your static link lacks both of these values (which the standard %prodnameL% token automatically adds). Change your static link to:

<a href="merchant.mvc?Screen=PROD&Product_Code=%prodcode%&Category_Code=%catcode%&Product_Count=%var|g.Prod_Count|%" title="%prodname% %catname%">%prodname%</a>

and it should fix the problem.

Last update: 2003-07-29 00:07
Author: Support
Revision: 1.0

Print this record Send FAQ to a friend Show this as PDF file
Please rate this FAQ:

Average rating: 0 out of 5 (0 Votes )

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

Records in this category