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: 
- When adding a product to the basket from an ... (2008-08-27 19:02)
- I have the module configured to add the key ... (2008-08-13 14:50)
- What is the format for the htaccess file if ... (2008-08-12 14:50)
- Is there any way to look up a customer's ... (2008-08-06 18:04)
- I am looking for a module that will allow ... (2008-08-06 18:00)
Top 10 
- 2843 views:
Adding Tokens to Evaluate Expressions - 2779 views:
Is there a way to "Limit" the number of ... - 2723 views:
Why won't you call me for technical support? I ... - 2615 views:
Are license keys valid for more than one store? ... - 2509 views:
I'm trying to enter a license key and get ... - 2495 views:
How do I install a module? - 2346 views:
How do I check for a module upgrade? - 2312 views:
How can display and change the parameters of an ... - 2160 views:
The total on my checkout pages are not correct. ... - 1973 views:
I have select and radio type attributes in my ...
















