Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2005
    Posts
    334
    Plugin Contributions
    0

    Default Product Listing Layout (how to make 3 columns?)

    Hello,
    I am still on 1.2.6.
    I was able to make 3 columns for "New Products For January" listing:
    http://idtagsonline.com/store/index.php?main_page=index
    by going to Configuration/Maximum Values/New Products Module = 9
    It made 3 rows x 3 columns.

    I would like to make the same Layout for all my other listings like:
    http://idtagsonline.com/store/index....=index&cPath=1

    http://idtagsonline.com/store/index....e=products_new

    http://idtagsonline.com/store/index....e=products_all

    Please suggest, where is this control?
    I could not find any parameter for the number of columns.
    Thanks.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Product Listing Layout (how to make 3 columns?)

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2005
    Posts
    334
    Plugin Contributions
    0

    Default Re: Product Listing Layout (how to make 3 columns?)

    Thanks for reply,
    So, to conclude from your suggestion, there is no admin option to do it.
    Additional "Column Layout Grid for Product Listing" module has to be installed.

    1. Is it available for 1.2.6 Version of Zen Cart?

    2. Is it possible simply to Turn OFF large "New Products for January" box? (with 9 products)?


    Thanks.

  4. #4
    Join Date
    Dec 2005
    Posts
    5
    Plugin Contributions
    0

    Default Re: Product Listing Layout (how to make 3 columns?)

    @idtags:

    In case you didn't find out yet, this is how to get rid of the "new products for ..." box:
    Admin->Configuration->Index Listing->Show new products on main page (first line), set value to 0

  5. #5
    Join Date
    Aug 2005
    Posts
    334
    Plugin Contributions
    0

    Default Re: Product Listing Layout (how to make 3 columns?)

    Thanks for your reply.
    I never would look in Index Listing, just because Title does not sound as anything I would look for.

    To add to the topic "Show New Products on Main Page" was 0 and it still did show "New Products Box"

    However other parameter: "Show New Products on Main Page - Category with SubCategories" being set to 0 was turning OFF this box.

    Thanks again for your lead.

  6. #6
    Join Date
    Dec 2005
    Posts
    166
    Plugin Contributions
    0

    Default Re: Product Listing Layout (how to make 3 columns?)

    Is this available for version 1.2.6?
    Where?

  7. #7
    Join Date
    Aug 2005
    Posts
    334
    Plugin Contributions
    0

    Default Re: Product Listing Layout (how to make 3 columns?)

    To my best understanding you have to dowload additional module from http://www.zen-cart.com/index.php?ma...products_id=77 and than follow instructions.

    I did not do this myself, as I do not fill confident to deal with this.
    So, I can not suggest any more on this topic.

  8. #8
    Join Date
    Feb 2007
    Location
    Chicago, IL
    Posts
    63
    Plugin Contributions
    0

    Default Re: Product Listing Layout (how to make 3 columns?)

    This is a fabulous mod and I have been looking for it for ages! I'm so glad I searched the forums again... I must not have put in the right search words the last million time. :) THANKS!
    [FONT=Tahoma]- S[FONT=Verdana]teph -
    Fetch Designs: Standards Compliant Web Design

    [/FONT] [/FONT] [FONT=Verdana] Pink Puppy Designs[/FONT][FONT=Verdana]
    [/FONT] [FONT=Verdana] "Collars dogs REALLY want to wear!"
    www.PinkPuppyDesigns.com[/FONT]

  9. #9
    Join Date
    May 2007
    Location
    tampa, fl
    Posts
    24
    Plugin Contributions
    0

    Default Re: Product Listing Layout (how to make 3 columns?)

    I wish I would have found this earlier cause I've been killing myself trying to figure out how to do this. Excellant mod.

  10. #10
    Join Date
    Jul 2006
    Posts
    213
    Plugin Contributions
    0

    Default Re: Product Listing Layout - Image background missing

    Very nice module. I found one small bug in it. When I implemented this module, the frame and background around my product images disappeared in both column and row layouts. I fixed this by adding '<div class=productImage-background>' at the beginning of lines 204 and 206 in the product_listing.php module as follows:

    Code:
              $lc_text = '<div class=productImage-background><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a></div>';
              } else {
              $lc_text = '<div class=productImage-background><a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), ($_GET['cPath'] > 0 ? 'cPath=' . $_GET['cPath'] . '&' : '') . 'products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a></div>';
    The spacing is wrong on the images, they are 'off-center', but this is fixed by adding "margin:auto;" to the .productImage-background class in the CSS style sheet. Works correctly in both column and row order.

    This module works great for product listing within categories. Is there any way to get it to work for Product Listing - ALL?

    Maury

 

 

Similar Threads

  1. Product Listing layout - how can I make it 3 columns instead of rows?
    By jojo_cool in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Mar 2010, 03:25 AM
  2. Product Listing - Layout Style, Columns not fitting to page width
    By murphys in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Oct 2009, 02:01 AM
  3. How to change Product layout from row to columns?
    By touchclothing in forum General Questions
    Replies: 2
    Last Post: 31 Aug 2009, 07:53 PM
  4. How can make product listing layout like this way.
    By jackyhu in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 9 May 2008, 11:36 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