Results 1 to 10 of 21

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    60
    Plugin Contributions
    0

    Default Need help with center column for product listing

    I'm very new to Zencart, but I've been able to use the information here to get a template set up on my local machine. There are a couple of things I would like to change, but so far my digging around hasn't helped, hence a new post here.

    Here's a short list of some of the things I'm trying to do:

    (1) I've found the places in admin where you change the width of the left and right columns, but what about the center column? I haven't been able to locate anything for changing the width of the middle column. I need that to be wider to accomodate both the product images and text description. Right now the center column shows up as 3 "sub-columns", one for the image, one for the text description and one for the price. The latter two are so narrow that the boxes become much taller in order to accomodate the text. This is only a problem when I'm listing things in the main categories or subcategories. If you click on an individual product, everything displays nicely.


    (2) Is there a way to set the default weight to ounces rather than pounds? I couldn't find an easy way to do that. My products are small things, typically measure in 2-4 oz. lots so a different frame of reference would be helpful.


    (3) Right now when I click on a subcategory, only two products are listed. This means to see all the products in that group, you have to click the next button a LOT. Is there a way to set up the middle column so you display a specified number of things? I'd rather scroll up and down the page to view stuff than have to click a forward and back arrow repeatedly.

  2. #2
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: Need help with center column for product listing

    1. You can set the overall width of the page in the stylesheet.css file. That effectively determines the width of the center column.

    2. Look at this tutorial. https://www.zen-cart.com/tutorials/i...hp?article=204. You will have to be careful about how Zen calculates shipping charges.

    3. admin >> configuration >> maximum values >> Products Listing- Number Per Page

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

    Default Re: Need help with center column for product listing

    The Zen Cart default is to show 10 products per page of listings. How did you get two per page? If your template has that, it might be hard-coded. A link to see your site may give some insight into the actual situation and allow accurate advice.

  4. #4
    Join Date
    Aug 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Need help with center column for product listing

    Thanks for the responses. I've fixed #2. Regarding #1, I've looked through stylesheet.css and wasn't able to find any lines relating to the page width. What line of code would I need to add to change the width?

    Regarding #3, I see in admin that it was set to a default of 10 per page, so yes, this template probably was hard coded as you said. Right now I'm testing everything on my local system (ie laptop) before I upload it to my website....otherwise I'd be happy to share the link.
    What exactly does it mean when you say that the template is hard-coded in that way? If the template was set 2 per page, why not just change the default from 10 to 2? I wonder if perhaps I shouls junk the template and go back to the default template.

    Update: I tried switching back to the standard template that comes with Zencart and interestingly it is also set for 10 products per page, yet I see only two per page.
    Last edited by Snicklefritz; 6 Dec 2009 at 04:44 PM.

  5. #5
    Join Date
    Aug 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Need help with center column for product listing

    Update: (1) I tried switching back to the standard template that comes with Zencart and interestingly it is also set for 10 products per page, yet I see only two per page. I've also noticed that when I change back to the template I downloaded, sometimes I see one product per page in some places.

  6. #6
    Join Date
    Aug 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Need help with center column for product listing

    update:
    (2) I looked for tutorials on changing the pagewidth and some said just to change #mainwrapper to 100% or to a certain# of pixels. Another tutorial said to change width settings in several places:
    https://www.zen-cart.com/tutorials/index.php?article=45
    I couldn't find any of those particular search terms ie ".centershop"

 

 

Similar Threads

  1. Replies: 5
    Last Post: 17 Feb 2010, 05:13 PM
  2. narrow center column on product listing and product page
    By erinl in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Apr 2009, 01:47 PM
  3. Column Layout Grid for Product Listing - Need Row Header
    By kwright in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 16 Oct 2008, 09:36 PM
  4. HELP with Mod: "Column Layout Grid for Product Listing"
    By ajstocco in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 5 Mar 2008, 08:01 PM
  5. All product listing & Center column width
    By deker in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Oct 2006, 08:47 AM

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