MiniVend Akopia Services

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

Re: Newbie: If loops and prices



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

This could be a syntax/interpolation issue, try this below:

At 05:13 PM 3/23/99 , Ross Olson wrote:
>******    message to minivend-users from "Ross Olson"
<rosso@exactimaging.com>     ******
>The following piece of code works fine in the results page:
>
>[search-list]
>	Our Price: [if-field price][item-price][else]Offer[/else][/if-field]
>[/search-list]
>
<--snip-->
>But I can't seem to make the lines from the results page to work the
>same on the index page:
>
>[loop arg="[random]"]
>	Our Price: [if loop-field price][loop-price][else]Offer[/else][/if]
>[/loop]

Try [if [loop-field price]]...etc

>
>I've tried variation after variation, but I can't seem to grasp how and
>why the same field is referred to in different ways. Shouldn't this be
>the same everywhere? This has been keeping me busy for a couple of days.
>
>...Ross...


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: