PDA

View Full Version : Exlcuding Companies With AWS



cameron
02-04-2004, 03:00 PM
Yet another AWS thread!

I was just wondering if it's possible exclude certain companies from your results. I have a skateboarding site, and it's a topic I'm fairly serious about. While I'd be willing to sell some products through it, there are some companies which I don't want to help out in any way.

Mike
02-04-2004, 03:03 PM
I would have thought that you could do an if statement, like if the manufactuer array held a certain manufactuer, echo nothing. That's how to do it in PHP I would have thought.

GCT13 will have more idea tho:)

GCT13
02-04-2004, 03:31 PM
That's pretty much it. Wrap your echoed AWS values around an if statement, if Manufacturer doesn't contain company BlahBlah, then display the skateboard.

if(!strstr($Manufacturer, "BlahBlah")){
// display skateboard info
}

If Amazon has a limited number of skateboards, you may have product pages with very little products though.

cameron
02-04-2004, 04:12 PM
Alright. Thanks.