Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Posts
    39
    Plugin Contributions
    0

    Default Re: NEWBIE: How do I position "description" on Featured & product listings?

    Same issue in ZC 1.3.9h



    I like to move the product description to under the price and left align with the price.

    I had a look in CSS file, didn't find .main

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: NEWBIE: How do I position "description" on Featured & product listings?

    You will find the featured here:

    admin panel/ configuration/ featured listing

  3. #3
    Join Date
    Apr 2011
    Posts
    39
    Plugin Contributions
    0

    Default Re: NEWBIE: How do I position "description" on Featured & product listings?

    Product description cannot be done in the above panel.

    I found the template file and jig it there sucessfully.

    Now , can't find reference to "more info". I wamt to move that too, if I could

  4. #4
    Join Date
    Feb 2009
    Location
    Norway
    Posts
    31
    Plugin Contributions
    0

    Default Re: NEWBIE: How do I position "description" on Featured & product listings?

    Hello,

    I have exactly the same issue with "All Listings". I would like the image to be to the left and description to the right - below the product name, but above the price and add to cart button. Just like it is on the individual product page.

    Searched for it on the forums and found this thread, which is not finished. Can someone explain how to do this please?

    I have the newest Zen Cart 1.5.0
    Thank you.

  5. #5
    Join Date
    Feb 2009
    Location
    Norway
    Posts
    31
    Plugin Contributions
    0

    Default Re: NEWBIE: How do I position "description" on Featured & product listings?

    OK, my husband fixed it for me, but I thought I'd share a little bit.

    You need this file: tpl_modules_products_all_listing.php, which is in \includes\templates\template_default\templates.

    Copy the whole templates folder into includes\templates\classic before you make changes.

    The description - look for $display_products_description - is under the picture, because it is in its own row in the table. What you have to do is to remove the row and copy the code into the same column as the name. Make sure you put it inside the "if" statement that checks for the name so you will only have one description per name.



    Here's the code:
    Code:
    if ($disp_sort_order->fields['configuration_key'] == 'PRODUCT_ALL_LIST_NAME') 
     {
    echo $display_products_name;
    					
    if (PRODUCT_ALL_LIST_DESCRIPTION > '0') 
    {
      echo $display_products_description;
      echo '<br /><br />';
    }
    }

  6. #6
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: NEWBIE: How do I position "description" on Featured & product listings?

    You need this file: tpl_modules_products_all_listing.php, which is in \includes\templates\template_default\templates.

    Copy the whole templates folder into includes\templates\classic before you make changes.
    Actually, it should be copied to includes/templates/your_custom_template. One should not use classic or template_default for edited/changed files.

  7. #7
    Join Date
    Feb 2009
    Location
    Norway
    Posts
    31
    Plugin Contributions
    0

    Default Re: NEWBIE: How do I position "description" on Featured & product listings?

    Quote Originally Posted by RescoCCC View Post
    Actually, it should be copied to includes/templates/your_custom_template. One should not use classic or template_default for edited/changed files.
    Ok, I did it properly and everything seem to be working fine apart from boxes.

    on Wiki is says: "You also need to copy the sidebox settings from the table layout_boxes; this can be done using the addon Import/export layout settings."

    BUT this link doesn't work and I'm not sure how to export/import box layout from the database. I tried searching for the addon, but couldn't find the one that works.

 

 

Similar Threads

  1. How do I put "Featured Products" above my product listings?
    By candylotus in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Nov 2010, 10:56 PM
  2. How to remove sub-category "featured products" & "category image"?
    By andrewcklau in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Jun 2010, 10:32 AM
  3. NEWBIE: How do I add "MODEL" info to Home Page Listings?
    By hugozc in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Nov 2009, 10:37 AM
  4. NEWBIE: How can I edit "Featured Products" wording?
    By hugozc in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 May 2009, 12:07 AM
  5. Replies: 3
    Last Post: 6 May 2009, 05:16 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