Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] category conversion



******    message to minivend-users from "Ed LaFrance" <edl@newmediaems.com>     ******



> ******    message to minivend-users from Victor Nolton <ven@pragakhan.com>     ******
> 
> customer has given me a database. Each category is a number 
> (10,20,30,...all the way up to 340).
> 
> I want to do a browse page and of course a custom results page.
> 
> How can I customize the pages so that [on-change] i can convert the 
> 10,20.. into titles like Supplies, Hardware, Software.
> 

Create a new database called catnames, with contents like:

code   catname
10       Supplies
20       Hardware
30       Software

and put the appropriate Database entry in your catalog.cfg and do a reconfig.  Then you can acccess the name for the category
number in search results and flypages with [data base=catnames field=catname key=[item-category]], assuming that the category
numbers are in the category field of your products file.

- Ed L.



> I dont want it to say
> 
>          10
> Mousepad
> wristpad
> 
>         20
> monitor
> keyboard
> 
> I'd like the 10 to be converted to  Supplies, 20 to be converted to hardware.
> I DO NOT want to do a bunch of If category eq "10" then print 
> Supplies (not real code...
> 
> Suggestions?
> 
> Ven
> 
> Ven's News (Bookmark It) : http://www.vensnews.com
> 
> Ven (ven@pragakhan.com) _________________ http://ven.pragakhan.com __
> AOL: WebmstrVen     Praga Khan's Official Website        ICQ: 8321393
>                        http://www.pragakhan.com
> -
> To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
> 
> 
> 

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
New Media E.M.S.
Software Solutions for Business
edl@newmediaems.com
http://www.newmediaems.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: