Avec Posted June 15, 2007 Share Posted June 15, 2007 My store has multiple attributes (size, color, fabric type . . ) but I would like to set up a search on only the size attribute. One the advance search page, is there a simple way to select only one attribute to show in the array of attributes? Quote Link to comment Share on other sites More sharing options...
Avec Posted June 18, 2007 Author Share Posted June 18, 2007 For those interested. change $attributes_query = tep_db_query("select * from " . TABLE_PRODUCTS_OPTIONS . " where language_id = '" . (int)$languages_id . "'"); to $attributes_query = tep_db_query("select * from " . TABLE_PRODUCTS_OPTIONS . " where language_id = '" . (int)$languages_id . "'" . "and products_options_id=2"); Should have seen it earlier. In my case, id=2 is size and I removed all other options such as date, price, etc. Now to fit it in an info box. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.