 |

IronVictory
User
Jun 30, 2008, 9:56 AM
Post #1 of 4
(865 views)
Shortcut
|
|
Restrict Duplicates
|
Can't Post
|
|
I have a list of products like this: product1 collection=avanti category=kitchen product2 collection=cellum category=bathroom product3 collection=brodi category=kitchen product4 collection=avanti category=kitchen product1 & product4 have the same collection and category but I only want to show one. How can I filter out the products with the duplicate collection/category? I hope this explains what i am trying to do. thanks
|
|
|  |
 |

Dave
Staff
/ Moderator

Jun 30, 2008, 4:05 PM
Post #2 of 4
(853 views)
Shortcut
|
|
Re: [IronVictory] Restrict Duplicates
[In reply to]
|
Can't Post
|
|
Hi IronVictory, Can you just limit your results to 1 with: 'limit' => '1', Do you want to display one one on the website or prevent users from select more than one of the same combination on the backend? Dave Edis - Senior Developer interactivetools.com
|
|
|  |
 |

IronVictory
User
Jul 3, 2008, 7:36 PM
Post #3 of 4
(834 views)
Shortcut
|
|
Re: [Dave] Restrict Duplicates
[In reply to]
|
Can't Post
|
|
hi Dave, What I want to do is only display one for each collection. So in my example, on the live site I want one "avanti" to show along with a "cellum" and "brodi" - even though there are two avanti products. Limiting 1 seems to only show 1 total. Does that make sense?
|
|
|  |
 |

Dave
Staff
/ Moderator

Jul 4, 2008, 11:12 AM
Post #4 of 4
(816 views)
Shortcut
|
|
Re: [IronVictory] Restrict Duplicates
[In reply to]
|
Can't Post
|
|
Hi IronVictory, How many products do you want displayed on a page? And does the viewer need to automatically display new collections or can we hard code it? We could use multiple viewers to show one "avanti cellum", then one to show one "avanti brodi". Would that work for you? Dave Edis - Senior Developer interactivetools.com
|
|
|  |
|