Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Filter products by URL query


Bob-O

Recommended Posts

I want to make a clickable link that would filter products by some attribute such as price:

<a href="default.php?filter_query=price<150.00">Products Under $150.00</a>

When the user clicks the link, they see a table of products as if they clicked on a category in the Categories box.

 

I have tried to edit the queries used by the Manufactures box in catalog/default.php , but I havent figured it out yet.

 

Can anyone point me in the right direction?

Perhaps this has been done already.

 

thanx

Link to comment
Share on other sites

checkout advanced_search.php

see the output url and use that.

donm't forget to link it through tep_href_link() to append the

session...

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...