Page 1 of 1

Upsell - excluding items from search

Posted: Wed Feb 22, 2006 10:03 pm
by sbutton
Hi,

I'd like to be able to exclude upsell items from the actinic search results, but I can't see an easy way to achieve this.

If you look at http://rainbowapothecary.co.uk/acatalog/ and type in incense in the quick search box, you'll see what I mean. You get loads of duplicate results in the search and they appear to be in the wrong store sections (because it's found the upsell items).

Anyone know how to do this?

Thanks,

Steve

sorted it.

Posted: Wed Feb 22, 2006 11:32 pm
by sbutton
I found your post (Norman) on Actinic Community here http://community.actinic.com/showthread.php?t=13259 and put in the code and that's fixed it.

I used a slightly different piece of Perl, so it just reads....

Code: Select all

next if $$rarrResults[$nCount] =~ /#/;# STEVE - Skip if product code contains a hash sign.
but the effect is the same.

Thanks,

Steve