Upsell - excluding items from search

Miscellaneous Actinic / SellerDeck patches and anything not covered above.
Post Reply
sbutton
Posts: 12
Joined: Fri May 06, 2005 11:05 am
Location: Suffolk, UK
Contact:

Upsell - excluding items from search

Post 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
must fill in this sig some time.
sbutton
Posts: 12
Joined: Fri May 06, 2005 11:05 am
Location: Suffolk, UK
Contact:

sorted it.

Post 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
must fill in this sig some time.
Post Reply