Miva Merchant 4 Module FAQs » Storefront Template (BROK_SFNTTEMPLATE)
This feature was added to the module in (version 4.18c compiled, 4.13 uncompiled).
There are new values you can use in the "type" field of the %random, %list, %rank_sales, and %rank_views tokens:
catname the name of the first category found for that product
catnameL the name linked to the category
catcode the code of the category
catcodeL the code linked to the category
cattitleimage the category's title image
cattitleimageL the title image linked to the category
cattreeimage the category's tree image
cattreeimageL the tree image linked to the category
For example, %random|catname|01|% will display the name of the category for the randomly selected product 01. Note that the category information displayed will be for the FIRST category found associated with that product. So if the product is in multiple categories, the data displayed will before the first one found (as I recall this is in the inverse order of the association with the product; so the last category to which the product was associated should be found first).
Most Recent FAQ Entries:
Top 10
Using a Token to Display a "Randomly" Selected Product's Category
Is it possible to display a "randomly" selected product's category information with a token?
This feature was added to the module in (version 4.18c compiled, 4.13 uncompiled).
There are new values you can use in the "type" field of the %random, %list, %rank_sales, and %rank_views tokens:
catname the name of the first category found for that product
catnameL the name linked to the category
catcode the code of the category
catcodeL the code linked to the category
cattitleimage the category's title image
cattitleimageL the title image linked to the category
cattreeimage the category's tree image
cattreeimageL the tree image linked to the category
For example, %random|catname|01|% will display the name of the category for the randomly selected product 01. Note that the category information displayed will be for the FIRST category found associated with that product. So if the product is in multiple categories, the data displayed will before the first one found (as I recall this is in the inverse order of the association with the product; so the last category to which the product was associated should be found first).
Last update: 2003-07-30 22:34
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- I have the UPS Custom Integration configured so that ... (2008-07-11 10:21)
- I would like to conditionally display something for a ... (2008-07-03 17:37)
- Is there any way to configure specific global headers ... (2008-06-02 18:28)
- I pay my affiliates with gift certificates from your ... (2008-05-29 10:42)
- Is there any way to add a negative number ... (2008-05-22 13:51)
Top 10 
- 2528 views:
Adding Tokens to Evaluate Expressions - 2515 views:
Why won't you call me for technical support? I ... - 2496 views:
Is there a way to "Limit" the number of ... - 2405 views:
Are license keys valid for more than one store? ... - 2313 views:
I'm trying to enter a license key and get ... - 2276 views:
How do I install a module? - 2137 views:
How do I check for a module upgrade? - 2135 views:
How can display and change the parameters of an ... - 1964 views:
The total on my checkout pages are not correct. ... - 1846 views:
I have select and radio type attributes in my ...
















