Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2009
    Posts
    3
    Plugin Contributions
    0

    Default Category view...

    I'm not sure if this the right word, but the page before product info where you have a list of the products.

    Is it possible to have just this list, as I have no need for description or anything else really, so would look a lot better to just add the products on this page.



    Also, is it possible to have a alternating background for each product in the list.

    Sorry if I havn't explained myself very well.

    Ta. :)

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

    Default Re: Category view...

    You can already add products to the cart from the product listing page. Your screenshot shows that you have enabled Configuration > Product Listing > "Display Multiple Products Qty Box Status and Set Button Location" so that you set the quantity of each item, then click the Add button at top. If you want each item to have a direct "Add to Cart" button, set that back to 0 and set "Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)" as desired.

    To disable going to the product info page, you would need to edit /includes/modules/your_template/product_listing.php to remove the link code in the "image" and "name" cases.

    For the backgrounds, find or add in your stylesheet and assign bg colors as desired:
    .rowodd {background: #aabbcc;}
    .roweven {background: #ddeeff;}
    Last edited by gjh42; 4 Sep 2009 at 01:26 PM.

  3. #3
    Join Date
    Aug 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Category view...

    Many thanks!

    Although, for the alternating rows I had to do something a little different and needed to add
    Code:
    .productListing-odd {
    background-color : #ffffff;
    }
    
    .productListing-even {
    background-color : #EBEBEB;
    }
    To a seperate stylesheet called stylesheet_css_boxes.css any ideas why this was the case?

    Thanks again.

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

    Default Re: Category view...

    .productListing-odd and -even are actually the prime classes for that case; they slipped my mind when posting. They would normally be found in the main stylesheet. I think stylesheet_css_boxes.css comes from a mod, and since it would be loaded after the main stylesheet, you would have to edit it to control selectors/properties mentioned in it.

 

 

Similar Threads

  1. v151 View a product/category in the catalog from a link in admin product/category listing
    By torvista in forum Customization from the Admin
    Replies: 4
    Last Post: 25 Jan 2013, 06:13 PM
  2. Category View vs. New Products View
    By MSRWebMaster in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Feb 2009, 05:56 AM
  3. One product in category view - can I skip single product category listings?
    By ImageNation in forum Customization from the Admin
    Replies: 5
    Last Post: 29 Sep 2008, 03:32 PM
  4. view all in category
    By billc108 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Jul 2007, 09:37 PM
  5. Category view
    By bean_2k1 in forum Basic Configuration
    Replies: 1
    Last Post: 12 Jan 2007, 05:00 PM

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