Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Search by category name


freakystreak

Recommended Posts

Posted

Not sure if this is possible but can you complete a search by not only using the product title and description but by also using the category name which the product is placed under? For example: a T0481 ink cartridge is placed under an Epson main category with a Styls R300 subcategory. If I search for T0481 I find the product but what if the user doesn't know the product model and just searches Styles R300? Where does the search query take place? I have looked in advanced_search.php and search.php but can't find where it gathers the search term and uses it to run the query.

Ah, the world wide web. What a wonderful place.

Posted

Sorted it myself, all I needed to do was change the query built in 'advanced_search.php' to fit my needs. Seems to be working fine.

Ah, the world wide web. What a wonderful place.

Archived

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

×
×
  • Create New...