Guest Posted January 6, 2009 Share Posted January 6, 2009 Hi everyone, Does anybody know how to completley remove the Product Name, Price and Buy Now sorting options from the product listing page? (, circled in red) Iv tried removing the following peices of code however the titles change to simply a + sign: case 'PRODUCT_LIST_NAME': $lc_text = TABLE_HEADING_PRODUCTS; $lc_align = ''; break; case 'PRODUCT_LIST_PRICE': $lc_text = TABLE_HEADING_PRICE; $lc_align = 'right'; break; case 'PRODUCT_LIST_BUY_NOW': $lc_text = TABLE_HEADING_BUY_NOW; $lc_align = 'center'; break; Many thanks. Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2009 Share Posted January 6, 2009 Eh?? :S what was that? lol Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 6, 2009 Share Posted January 6, 2009 Personally I'd use the admin page and set the "value" to 0. Much easier than messing around with the code. G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2009 Share Posted January 6, 2009 Personally I'd use the admin page and set the "value" to 0. Much easier than messing around with the code. G Hi, iv just been throught the admin, is there a way i can just turn the headings off? The headings are circled in red in the picture, i want to keep the actual titles, prices and buy now buttons, i just want to remove the headings. Many thanks Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 6, 2009 Share Posted January 6, 2009 Have you thought about blanking out the titles in the translation tables? /includes/language/english/.....php will still leave a + there to indicate the sort order. G Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>. Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2009 Share Posted January 6, 2009 Have you thought about blanking out the titles in the translation tables? /includes/language/english/.....php will still leave a + there to indicate the sort order. G Hi, i did do that, but then the + sign looked just as ugly :( Link to comment Share on other sites More sharing options...
spooks Posted January 6, 2009 Share Posted January 6, 2009 in includes/modules/product_listing.php find(68) $list_box_contents[0][] = array('align' => $lc_align, 'params' => 'class="productListing-heading"', 'text' => ' ' . $lc_text . ' '); replace with /* $list_box_contents[0][] = array('align' => $lc_align, 'params' => 'class="productListing-heading"', 'text' => ' ' . $lc_text . ' '); */ Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. Link to comment Share on other sites More sharing options...
Guest Posted January 6, 2009 Share Posted January 6, 2009 in includes/modules/product_listing.php find(68) $list_box_contents[0][] = array('align' => $lc_align, 'params' => 'class="productListing-heading"', 'text' => ' ' . $lc_text . ' '); replace with /* $list_box_contents[0][] = array('align' => $lc_align, 'params' => 'class="productListing-heading"', 'text' => ' ' . $lc_text . ' '); */ That is absolutley fantastic, thanks so much! Thank you all for your help. I really apperciate it! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.