Results 1 to 10 of 10
  1. #1
    Join Date
    Sep 2010
    Posts
    5
    Plugin Contributions
    0

    Default Main product listing, columns per row?

    I'm using ZenCart 1.3.8. I don't know what has and hasn't been customized... the work was done for me. I've looked through the FAQ's and found related issues, but the solutions either weren't appropriate or didn't help.

    Here's my problem. I recently changed the way my products are organized, moving some from one category to another. Now, on my main product listing (the one that shows all categories, all products), the row of products goes off the right side of the page, rather than wrapping at an appropriate width. This wasn't a problem before because no category had more than 3 items in it. You can see the problem here:

    http://store.magidahwear.com/

    How can I get the longer row to wrap? I've used Firebug to try and figure out precisely what style is causing this, but to no avail. If anyone can offer some insight into the problem, I'd be most grateful.

  2. #2
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: Main product listing, columns per row?

    Hi I am a beginner too .. so hope this information is correct and helps.
    In the backend go to Configuration>Product Listing>Product Listing - Columns per row.

  3. #3
    Join Date
    Sep 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Main product listing, columns per row?

    Thanks for the tip, wotnow.

    Sadly, that doesn't seem to be an option for me. In the Index Listing configuration, I have 'columns per row' settings for New products, Featured products and Special products. All of these are set to 3, which is what I want. But there is no similar setting in the Product Listing, or in the All Listing configurations.

  4. #4
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: Main product listing, columns per row?

    Hi damion, are you looking in the index listing because its in the products listing.

  5. #5
    Join Date
    Sep 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Main product listing, columns per row?

    Thanks again for your reply. I've looked in all the *Listing configuration pages. I specifically looked in Product Listing. It's not there. The attached screenshot shows all the Product Listing settings I have.

    Last edited by damion; 24 Sep 2010 at 12:07 AM. Reason: fixed img link

  6. #6
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: Main product listing, columns per row?

    Hi damion .. i just realised whats going on. You have to install a module called .. Column Layout / Grid Layout for Products Listing (Add On Module for Zen Cart v1.3.8). Do a search for this in the add ons.

  7. #7
    Join Date
    Sep 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Main product listing, columns per row?

    Ah. Thanks! I guess I'll have to figure out how to install an add-on! ;)

  8. #8
    Join Date
    Jan 2010
    Location
    Broome
    Posts
    325
    Plugin Contributions
    0

    Default Re: Main product listing, columns per row?

    Let me know if u run into any problems

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

    Default Re: Main product listing, columns per row?

    What you have now is a completely custom-built set of tables displaying the products in each category. There is no existing mod available that will do exactly what you want.

    It is probably either in or called from /includes/templates/your_template/templates/tpl_index_default.php or tpl_index_categories.php. It is not in the define_main_page.php content, which is curious because the same code could have been put there without altering stock files. It seems like poor planning to build a display that would break if more than three products are put in a category...

    You will have to add a counter to the table-cell output to start a new row every three units. We can't be any more specific than that because we have no way of knowing what your PHP file looks like.

  10. #10
    Join Date
    Sep 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: Main product listing, columns per row?

    Hi Glen-

    Thanks so much for the tip... you were *almost* spot on. Turns out the offending code was in the default template, in tpl_modules_all_cats_all_categories.php. Why the guy I hired felt compelled to edit the default template, I'll never know, but it's working well enough now.

    Now I just need it to center the remainder row, but at least users don't have to scroll sideways now!

    thanks again!
    Damion

 

 

Similar Threads

  1. Columns per Row
    By cchan in forum Setting Up Categories, Products, Attributes
    Replies: 46
    Last Post: 28 Oct 2010, 06:07 PM
  2. Help? product table on category page: 1 product per row with 7 columns giving specs
    By wbmangy in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 16 Feb 2009, 12:17 PM
  3. Frustrated! - Product Listing - Columns Per Row isn't working!
    By canemasters in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 25 Oct 2008, 02:03 AM
  4. Product listing different colour per row
    By alknap in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 12 Jul 2007, 06:52 PM
  5. Products listing - Columns per row
    By chiselbit in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 28 Dec 2006, 01:38 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