Akopia Akopia Services

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

[mv] mv3.11 [item-next] in [search-list] and [item-increment]



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

I'm trying to "hide" items from the search results page where the price 
equals zero.
This code works:

[search-list][sort products:description]
[item-next][calc][item-price] == 0[/calc][/item-next]
<B>[item_increment].</B> ([item-code]) <I>[page [item-code]][item-field 
description][/page]</I>
[if-field price] - <B>Price:&nbsp;$[item-price]</B> - [item-field 
qty][/if-field]
<BR><BR>
[/search-list]

It successfully skips items with a zero cost, however, the [item-increment] 
still counts the zeros, as well as [matches].

So I figured I could just change all my one-click searches to ignore zero 
priced items:

scan/co=yes/sf=description/se=line/sf=price/se=0/op=gt

This is supposed to be "search descriptions for the word 'line' and return 
those where the price is greater than 0."  Alas, I can't get it to work.

Anyone have any ideas before I throw out all the results counting on my 
results page?  ;-)

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

-
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: