Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Oct 2006
    Location
    Worcester, MA
    Posts
    453
    Plugin Contributions
    0

    Default Re: Image / Price / Description order

    Just came across this old thread after banging my head against how to change the order of fields in the product listing. I never realized that these numbers were the sort order. I thought it was just 0=off 1=on. This solved almost all of the problem I'm trying to solve. The only thing that didn't work is the order in which the truncated product description appears.

    I set mine like this:
    ----------
    Display Product Image 1
    Display Product Manufacturer Name 0
    Display Product Model 4
    Display Product Name 2
    Display Product Price/Add to Cart 5
    Display Product Composer 3
    Display Product Quantity
    Display Product Weight
    Display Product Price/Add to Cart Column Width 125
    Display Category/Manufacturer Filter (0=off; 1=on) 0
    Prev/Next Split Page Navigation (1-top, 2-bottom, 3-both) 2
    Display ProductListing Default Sort Order 1
    Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product) 0
    Display Multiple Products Qty Box Status and Set Button Location 1
    Display Product Description 80
    ProductListing Ascending Sort Order +
    ProductListing Descending Sort Order -
    Include ProductListing Alpha Sorter Dropdown false
    Include ProductListing Sub Categories Image false
    Include ProductListing Top Categories Image false
    Show SubCategories on Main Page while navigating 1
    ----------

    The only setting that seems to concern the product description is "Display Product Description 80" but the 80 refers to the number of characters to show, not the sort order. Is there a way to get the description to have a sort order of 6 so it appears in the listing after Price/Add to Cart. Right now the product listing is shown like this:

    1. Image
    2. Name
    3. Product description (limited to 80 chars)
    4. Product composer (this is a custom field I've added many years ago)
    5. Product Model
    6.
    Product Price/Add to Cart

    Am I just missing the configuration setting for this somehow?
    Ellie Armsby

  2. #12
    Join Date
    Oct 2006
    Location
    Worcester, MA
    Posts
    453
    Plugin Contributions
    0

    Default Re: Image / Price / Description order

    Quote Originally Posted by earmsby View Post

    The only setting that seems to concern the product description is "Display Product Description 80" but the 80 refers to the number of characters to show, not the sort order. Is there a way to get the description to have a sort order of 6 so it appears in the listing after Price/Add to Cart. Right now the product listing is shown like this:

    1. Image
    2. Name
    3. Product description (limited to 80 chars)
    4. Product composer (this is a custom field I've added many years ago)
    5. Product Model
    6.
    Product Price/Add to Cart

    Am I just missing the configuration setting for this somehow?
    I think I figured out why the description doesn't sort. Checking through the code in modules/product_listing.php I see that the product description is added to the listing array along with the product name. My guess is that the only way to detach the description from the product name would be to make a customization to that modules file and move the description code into the section (say product model if I wanted the description to appear below the model #).

    I realize that doing that will permanently link those fields in the listing so if I change the order from admin config settings, I'd have to manually change that file again. I think I can live with that. It's a shame that these can't be manipulated independently but at least I think I've found a work-around.
    Ellie Armsby

  3. #13
    Join Date
    Dec 2010
    Posts
    28
    Plugin Contributions
    0

    Default Re: Image / Price / Description order

    Do you want to set the description to the bottom like this?
    If so,how about using Flexbox?
    Name:  flexbox.jpg
Views: 64
Size:  53.1 KB

  4. #14
    Join Date
    Oct 2006
    Location
    Worcester, MA
    Posts
    453
    Plugin Contributions
    0

    Default Re: Image / Price / Description order

    Quote Originally Posted by earmsby View Post
    I think I figured out why the description doesn't sort. Checking through the code in modules/product_listing.php I see that the product description is added to the listing array along with the product name. My guess is that the only way to detach the description from the product name would be to make a customization to that modules file and move the description code into the section (say product model if I wanted the description to appear below the model #).

    I realize that doing that will permanently link those fields in the listing so if I change the order from admin config settings, I'd have to manually change that file again. I think I can live with that. It's a shame that these can't be manipulated independently but at least I think I've found a work-around.
    Yes, I guess that would be another option. In general I'd prefer to do as much of this kind of stuff with CSS but so far have been finding the responsive classic application of styles to be very complex. I almost wish I had started with the default template and just added my own responsive styles via media queries. The javascript part of Responsive classic is really giving me a work out! But for the current project, I'm too far into it to change tack now.
    Ellie Armsby

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Changing the display order of item name/description/image/price in centerboxes?
    By chowyungunz in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 May 2015, 10:52 PM
  2. v151 query from a category its products name, price, image, description and attributes
    By cmsdeployed in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 19 Jul 2013, 07:21 PM
  3. Changing Product info's image/title/price sorting order
    By mcolgan in forum Basic Configuration
    Replies: 0
    Last Post: 1 Feb 2010, 09:21 AM
  4. Product_Listing Description on Top of Image, Price on Bottom
    By sitebeaconseo in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Jan 2009, 06:56 AM
  5. Category view: changing product display column width - image, description, price?
    By azenuser in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 8 Feb 2007, 10:31 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