MiniVend Akopia Services

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

Re: quantity of accessories/sizes



******    message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>     ******

At 08:39 PM 6/9/99 , Edward Mack wrote:
>******    message to minivend-users from "Edward Mack" <emack@mackcom.com>
    ******
>
>I am using the item attributes tags effectively to make a drop down list of
>the different sizes that we offer for various items.  However I am
>interested in doing something that will show the quantity of sizes an item
>is available in.  For example:  "This item is available in 4 sizes", where
>the "4" would be generated based on the number of sizes (or commas) in the
>sizes attribute field of the products database.  i.e.: 7", 8", 9", 10"
>
>Does anyone know how this can be accomplished.  Thank you for your help.

I'm not sure if this first line is needed, puts null into sizeloopcount.

[set sizeloopcount][/set]
   [loop arg=[item-field size]]
					[perl arg=scratch interpolate=1]
					$Safe{'scratch'}{'sizeloopcount'} ++;
					return '';
				[/perl]
   [/loop]
There are [sizeloopcount] sizes available.

I'm not sure I have the syntax for increment on sizeloopcount correct, your
results may vary.

>
>____________________________________________
>Trust Mack Communications for:
>* Great Computer Deals
>   http://www.handtech.com/com_asp/public/catalog/tcweb.asp?host=1839
>* Web site design and Palm Pilot development:
>   http://www.mackcom.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
> 

Ryan Hertz                                              tel  520-645-3812
Webmaster                                               tel  800-645-BAIT
Advertising Director                                    fax  520-645-2588
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.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: