Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2006
    Posts
    154
    Plugin Contributions
    0

    Default Question about Odd and Even on the display

    Hi,

    I'm working on a project using the latest 1.3.7, where the "odd and even" colors on each row are not showing up in the table display of the products. It's set up in the css, btw...When you click to a category of products. (we're using rows, because all of our "products" are titles) it list it without the color separation (as this:)

    Product 1 -------- more info

    product 2 ----------more info

    ....where would I find the file that generates that page? It's possible that it was changed way back when we hired another programmer, but I would like to have it back to it's default setting of switching colors each row.

    Thanks so much for your energy in advance.

    Kinget

  2. #2
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: Question about Odd and Even on the display

    Could we have a url

  3. #3
    Join Date
    Jul 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: Question about Odd and Even on the display

    Hi Rufus,

    Actually, I managed to get the odd and even to work. I was going to post the answer back...I found I needed to add this to my stylesheet:

    Code:
    .productListing-odd {
    background-color: #EBEEF5;
    }
    					  
    .productListing-even {
    background-color: #CFDCF3;
    }
    I'd be glad to PM the url to you. FYI -- I still have lots of editing to do on the side bars and layout.....

    Now, I'm trying to figure out how to just list the "name of the product" and then only "More info" -- I don't want the price listed on the product listing page. Do you know how to adjust those settings? I never seem to remember how to do that.

    Thanks for your time and help.
    Kinget

    Quote Originally Posted by RuFuS View Post
    Could we have a url

  4. #4
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: Question about Odd and Even on the display

    To remove the "add to cart" from the product listing page go to:

    configuration > Product Listing

    Set Display Product Add To Cart Button to 0

  5. #5
    Join Date
    Jul 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: Question about Odd and Even on the display

    Hi Rufus,

    Thanks for your input, but I'm looking to turn off "price" on the display page....I would like the listings to just be the
    title of product (more info)
    title of product (more info), etc.

    I have the "more info" but what I don't have is how to remove the "price" from that table. Do you know how to do that? I've gone through the admin under product listing....

    Thanks again for your help.
    Kinget

    Quote Originally Posted by RuFuS View Post
    To remove the "add to cart" from the product listing page go to:

    configuration > Product Listing

    Set Display Product Add To Cart Button to 0

  6. #6
    Join Date
    Jul 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: Question about Odd and Even on the display

    Sorry about my comment, I meant to say, I turned off the price/more info,but it turned off the "more info" -- Is there a way just to have the "more info" without listing the price? I did turn off the price though.

    Thanks,
    Kinget

    Quote Originally Posted by kinget View Post
    Hi Rufus,

    Thanks for your input, but I'm looking to turn off "price" on the display page....I would like the listings to just be the
    title of product (more info)
    title of product (more info), etc.

    I have the "more info" but what I don't have is how to remove the "price" from that table. Do you know how to do that? I've gone through the admin under product listing....

    Thanks again for your help.
    Kinget

  7. #7
    Join Date
    Sep 2007
    Posts
    219
    Plugin Contributions
    0

    Default Re: Question about Odd and Even on the display

    To remove the price you can either:

    Go to Configuration > Product Listing > Display Product Price/Add To Cart and set it to 0 (this will remove the whole column)

    or go to

    catalog\includes\modules\yourtemplate\product_listing.php

    find this block (around line 107)

    PHP Code:
            case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  $lc_price
    and change it to this

    PHP Code:
            case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  ''
    This will remove just the price..

  8. #8
    Join Date
    Jul 2006
    Posts
    154
    Plugin Contributions
    0

    Default Re: Question about Odd and Even on the display

    Perfect! That's exactly what I wanted to do. Thank you so much for this, Rufus. :-)

    Quote Originally Posted by RuFuS View Post
    To remove the price you can either:

    Go to Configuration > Product Listing > Display Product Price/Add To Cart and set it to 0 (this will remove the whole column)

    or go to

    catalog\includes\modules\yourtemplate\product_listing.php

    find this block (around line 107)

    PHP Code:
            case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  $lc_price
    and change it to this

    PHP Code:
            case 'PRODUCT_LIST_PRICE':
            
    $lc_price zen_get_products_display_price($listing->fields['products_id']) . '<br />';
            
    $lc_align 'right';
            
    $lc_text =  ''
    This will remove just the price..

 

 

Similar Threads

  1. v150 All Products and Shopping Cart contents even/odd color problem
    By kahunah in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 21 Apr 2012, 10:53 PM
  2. How to change "cartProdTitle" different text color on odd and even
    By tnjon in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Dec 2008, 11:54 PM
  3. Odd even rows
    By athena in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Jul 2008, 03:40 PM
  4. Odd and Even Rows
    By PeteH in forum Upgrading from 1.3.x to 1.3.9
    Replies: 9
    Last Post: 3 Oct 2006, 05:01 PM

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