MiniVend Akopia Services

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

RE: i need help with a pricing scheme



At 04:37 PM 9/2/99 , kenshin wrote:
>******    message to minivend-users from "kenshin"
<kenshin@planetanime.com>     ******
>> [if explicit]
>> [condition]
>> 	$currently = '[loop-field category]';
>> 	return 1 if $currently eq "apparel";
>> 	return 0;
>> [/condition]
>> <TABLE WIDTH="80%"><TR BGCOLOR="blue"><TD ALIGN=CENTER><BR><FONT
>> COLOR="white"><H2>Apparel</H2></FONT></TD></TR></TABLE>

	[else]
		This is not apparel.
		[if condition]
			More conditionals
		[else]
			[if condition]
				It might be bad to nest this many ifs
			[/if]
		[/if]
>> [/if]
>>
>
>I do something similar to this but do you know how i would add more
>if/else/thens inside this [if]?

	I think the above syntax is right for nesting -- however, I think I just
put multiple [if]s end-to-end.

>
>for example i would not only check for apparel but also have different
>output for bags, watches and hosiery.
>
>thanks,
>mike k.
>
>-
>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
> 

Ryan Hertz                                              tel  800-645-BAIT
Webmaster                                               fax  520-645-2588
Advertising Director                            http://www.insideline.net
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.com


Search for: Match: Format: Sort by: