Akopia Akopia Services

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

Re: [mv] mv_unique not working ?



******    message to minivend-users from Ed LaFrance <newmedia@newmediaems.com>     ******

At 08:04 PM 3/24/00 -0600, you wrote:
>******    message to minivend-users from "josh" 
><josh@paducahonline.com>     ******
>
>Here's my problem...I have a very large amount of  "products" in multiple
>tables (each table being a seperate 'category'), some products are in more
>than one category(table) but are the same product, just a different sku
>because it is listed in multiple categories/tables. Whenever I perform a
>search on all the categories(tables), it will return all the products
>matching the input that I specified, but...if it finds a product that is in
>multiple categories it lists the product over and over because each instance
>of it has a different sku number. Is there anyway to limit the results to a
>different field other than sku? I can do this using "[item-change
>1][condition][item-field stock][/condition]" but all that it does is not
>print out the product on results page, but the results page still sees it as
>a match because the more lists says "matches 1-50 of 200" but only like 20
>will be printed on the page. From what I've seen in the docs, mv_unique will
>solve my problem, but I can't get it to work, is there some kind of voodoo

Josh -

I am going to guess that the docs means binary true, so try mv_unique=1. It 
also seems to me, from the docs, that mv_unique AND's all fields in 
mv_returns fields, so if two items have the same price, one will be omitted 
even though all other information between the two is different?  I have no 
first-hand experience with mv_unique.  You might want to try it the first 
time and set mv_return_fields="stock", just to see if it works in its most 
basic form.  Then add more fields to mv_return fields, one at a time, and 
observe what happens.

- Ed L.

>magic I'm not doing or what?. I've tried using:  mv_unique=true
>mv_return_fields="0,stock" mv_sort_field=stock and still no luck. Keep in
>mind that "stock" is dif than "sku" and this is using a form search. Help me
>:-)
>
>Josh
>
>
>-
>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

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