[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Item Features List
****** message to minivend-users from cfm@maine.com ******
On Sun, Jun 25, 2000 at 08:13:54PM -0400, Victor Nolton wrote:
> ****** message to minivend-users from Victor Nolton <venom@inna.net> ******
>
> I have a client who lists any of 24 different features per item.
> I'm setting it up so that only the features the item has are listed.
>
> My boss suggested setting up a table with 4 columns and 6 rows and put
> each feature in there. But it would look incredibly stupid to have the
> features listed 9which he understood after explaining). So then he
> suggested splitting the list into 2 lists. Problem with that is, if the
> item has 3 features from the first and 9 from the second list it looks
> odd.
>
> Has anyone wrote a way to do this where the features are listed equally?
> I'm just using a lof of [if-field] tags.
>
> I know there has been code done for this sort of thing with search
> results. But how about on a flypage.
The [if] chain might be hard to maintain. How about something along
the lines of [some_global_usertag]
{
# in /usr/lib/perl5/MV or your @INC
# @INC is different for MV3 and MV4
require MV:MyLib.pm
; # process it in perl - Output can be interpolated too, if you want
return $my_basket_code;
}
Then you can call same tag from any number of places and you
can work on it without restarting server, etc... For example, it
might replace the [item-list] loop in all your checkout pages.
You will have a lot more flexibility in raw perl (assuming you are
comfortable with it).
We do something like that with our custom "perl basket" code. It
displays arbitrary attributes according to what is actually in the
basket and for what the particular catalog allows.
>
> Suggestions
>
>
> Ven's News (Bookmark It) : http://www.vensnews.com
>
> Ven (ven@lordsofacid.com) _________________ http://ven.lordsofacid.com __
> AOL: WebmstrVen Praga Khan's Official Website ICQ: 8321393
> http://www.pragakhan.com
> Lords of Acid Official Website
> http://www.lordsofacid.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
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.
-
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