Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Sep 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    Stevenw,

    Thanks for posting this method of hiding the column headings. It was easy and worked like a charm.

    For those who are not familiar with Zen Cart custom templates, I would only add that the modified file should be saved to includes/templates/YOUR_CUSTOM_TEMPLATE/common/tpl_tabular_display.php so as not to overwrite the file in /template_default/

    Laura

    Quote Originally Posted by stevenw View Post
    Here is a the proper way to get rid of the productlisting-rowheading - all you have to do is change one number, so don't panic:

    1: Open includes/templates/template_default/common/tpl_tabular_display.php

    2: find this line:

    for($row=0; $row<sizeof($list_box_contents); $row++) {
    $r_params = " ";
    $c_params = "";
    if (isset($list_box_contents[$row]['params'])) $r_params .= ' ' . $list_box_contents[$row]['params'];

    3: Change the $row=0 to $row=1

    This ensures that the headings (which begin at row 0) cannot display. Nothing else is affected.

    Simples.

  2. #12
    Join Date
    Jan 2006
    Posts
    57
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    thanks for the info! couldn't find which php file to edit and this did the job!

  3. #13
    Join Date
    Feb 2012
    Posts
    106
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    I am using the Column Layout Grid add-on and when viewing the product listing as a grid instead of rows, the header row changes to display the first row of products. But it's not uniform with the rest of the page (because it has the properties of the header row). I want to remove the header row, but how do I get the products that would have shown up in that row to display? Taking the header row out removes the first row of products in my case.

    Otherwise, this fix would work perfectly for me.

  4. #14
    Join Date
    Feb 2012
    Posts
    106
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    I don't want to eliminate the space that holds the description or the product name. I just want to change the properties of the header row to match those of the rest of the tabular data.

  5. #15
    Join Date
    Jan 2012
    Location
    Montreal
    Posts
    84
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    I'm looking for a similar solution, via PHP and not the display:none route, for getting rid of the Category links on ONLY ONE of my sub category landing pages. Maybe Stevesh could help again? Thanks!

  6. #16
    Join Date
    Feb 2012
    Posts
    106
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    I fixed my problem. I made changes in stylesheet_main.css. I don't know if it will help you, thebigkick. I didn't get rid of the category links. I just made them look like the other rows.

  7. #17
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove product List heading and description

    AvaAdorn - Your CSS restyling is indeed the best and correct way to do what you want, make the grid display uniform. Only people with Template Monster templates will have a stylesheet_main.css; others will probably want to edit stylesheet.css. (You could recode the file that creates the output, but that would be a complex set of changes which would have to account for multiple output situations.)

    thebigkick - Your desired method will require real PHP coding (not just one tweak) to distinguish which category is being output and deliver alternate processing for only that one. If you are not familiar with PHP, you would be best off using styling for your custom category.

  8. #18
    Join Date
    Aug 2012
    Location
    New York
    Posts
    2
    Plugin Contributions
    0

    Default Re: Remove product List heading and description

    May be poorly designed website, you claim to visit and sing the day, yawn yawn and stretch.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Remove Product listing Product Description, and replace with stock info
    By SethF in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 30 Jan 2012, 10:27 PM
  2. Delete Product List/Category Heading
    By Berserker in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Aug 2010, 09:15 AM
  3. Product List Heading removal
    By Minnie Mouse in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 8 Mar 2010, 02:44 PM
  4. Remove white space between product listing and category heading
    By Yiannis in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Jan 2010, 01:23 PM
  5. How to remove subcat image and description from product pages?
    By lyricwings in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 29 Jul 2007, 02:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR