Rachael w. Posted October 3, 2007 Share Posted October 3, 2007 I am looking for two modifications for manufacturers and I cant seem to find them, I'm not actually sure they even exist. First, I am looking for some type of modification so that manufacturers who have no products in the catalog will not show in the manufacturers drop down on the site. Something similar to the empty categories mod. Second, I am looking for a modification to the manufacturers page where I can add information to the top of the manufacturers page similar to the categories description mod. I searched the forums and the contribs section but didnt see anything similar, maybe I just missed it. Thank you all in advance for your help. Link to comment Share on other sites More sharing options...
Rachael w. Posted October 3, 2007 Author Share Posted October 3, 2007 Well, just in case anyone else out there is looking for the same. Here's a fix for one of my questions above. To prevent your manufacturers box from listing manufacturers who have no products associated with them (empty manufacturers) try this: includes/boxes/manufacturers.php Replace: $manufacturers_query = tep_db_query("select manufacturers_id, manufacturers_name from " . TABLE_MANUFACTURERS . " order by manufacturers_name"); With: $manufacturers_query = tep_db_query("select distinct m.manufacturers_id, m.manufacturers_name from " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS . " p where m.manufacturers_id=p.manufacturers_id order by manufacturers_name");; Now, I am still searching for some way to add manufacturers information to the top of the page (above the products). Something that will allow a lot of text and possibly html. Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 3, 2007 Share Posted October 3, 2007 The Header Tags Controller contribution will do that for you. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Rachael w. Posted October 4, 2007 Author Share Posted October 4, 2007 I guess I didnt explain that very well. :blush: I dont mean the very top of the page I mean in the top of manufacturers listing page something like this: Link to comment Share on other sites More sharing options...
Jack_mcs Posted October 4, 2007 Share Posted October 4, 2007 Yes, Header Tags will do that and let you do the same for your categories too. Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Rachael w. Posted October 4, 2007 Author Share Posted October 4, 2007 Really, hmm, have to look into that! I guess the title was deceiving. :) Thanks so much for the reply! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.