Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Custom db field search filtering


eforer

Recommended Posts

Posted

Hi All,

 

We are using the advanced_search_result.php and I want to exclude from my search results anything items that have a custom field in the products table set to true. I expected to see a "Select from" type of thing in the script where it would run through the database, but I didn't see anything like that. I just need some help getting started and I know this must be something that has been done before. I didn't have much luck searching the forum, so any help would be greatly appreciated.

 

Thanks

Posted

Hi All,

 

We are using the advanced_search_result.php and I want to exclude from my search results anything items that have a custom field in the products table set to true. I expected to see a "Select from" type of thing in the script where it would run through the database, but I didn't see anything like that. I just need some help getting started and I know this must be something that has been done before. I didn't have much luck searching the forum, so any help would be greatly appreciated.

 

Thanks

 

Never mind, I just modified the $listing_sql to have a "and where." Easy fix.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...