Miva Merchant 4 Module FAQs » Search Manager (BROK_SEARCH)
That probably should NOT work that way (my test stores all have descriptive category codes so I missed the forest for the trees). I definitely see that displaying the category code isn't the way it should be done (at least for most stores). So I have modified the module a bit (in version 4.40c, compiled, and 4.42, uncompiled) and added a token:
I added %begin_catrestrict_name%default|code1|code1|..%end_catrestrict_name% token which is used the same was as the current %begin_catrestrict%...%end_catrestrict% tokens except instead of displaying the category code, it displays the corresponding category name.
I modified%begin_catrestrict%...%end_catrestrict% so that instead of using the form %begin_catrestrict%default|code1|code2|code3|%end_catrestrict% it lets you use teh format:
%begin_catrestrict%default|code1:name1|code2:name2|code3:name3|%end_catrestrict%
when this format is used, the code# is what is added in the form but the name# is what is actually displayed to the customer. Note that this token will default to it's original form of displaying the code if the :name# portion is left off.
Most Recent FAQ Entries:
Top 10
The %begin_catrestrict....%end_catrestrict% token Displays the Category Code to the Customer. Won't that be Confusing?
The %begin_catrestrict....%end_catrestrict% token displays the category code to the customer. Won't that be confusing?
That probably should NOT work that way (my test stores all have descriptive category codes so I missed the forest for the trees). I definitely see that displaying the category code isn't the way it should be done (at least for most stores). So I have modified the module a bit (in version 4.40c, compiled, and 4.42, uncompiled) and added a token:
I added %begin_catrestrict_name%default|code1|code1|..%end_catrestrict_name% token which is used the same was as the current %begin_catrestrict%...%end_catrestrict% tokens except instead of displaying the category code, it displays the corresponding category name.
I modified%begin_catrestrict%...%end_catrestrict% so that instead of using the form %begin_catrestrict%default|code1|code2|code3|%end_catrestrict% it lets you use teh format:
%begin_catrestrict%default|code1:name1|code2:name2|code3:name3|%end_catrestrict%
when this format is used, the code# is what is added in the form but the name# is what is actually displayed to the customer. Note that this token will default to it's original form of displaying the code if the :name# portion is left off.
Last update: 2003-07-31 00:27
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- Alternate ways to display the product and attribute data ... (2008-09-02 18:40)
- Adding both "Add All to Basket" and "Add to ... (2008-09-01 09:46)
- 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)
Top 10 
- 2940 views:
Adding Tokens to Evaluate Expressions - 2872 views:
Is there a way to "Limit" the number of ... - 2793 views:
Why won't you call me for technical support? I ... - 2682 views:
Are license keys valid for more than one store? ... - 2580 views:
I'm trying to enter a license key and get ... - 2569 views:
How do I install a module? - 2413 views:
How do I check for a module upgrade? - 2375 views:
How can display and change the parameters of an ... - 2220 views:
The total on my checkout pages are not correct. ... - 2018 views:
I have select and radio type attributes in my ...
















