Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Apr 2009
    Posts
    41
    Plugin Contributions
    0

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

    ZC 1.3.8a

    Refer to page: http://hugocruzgallery.com/shop/inde...tured_products

    As per the above page, how can I move the "Description" to the RIGHT of the photograph so it is positioned along with the TITLE and the MODEL to the right of the IMAGE?

    I researched this and thought it may be in the the ADMIN?CONFIGURATION/FEATURED LISTING settings, but the Description control is nothing more than the number # of characters allowed before truncating ... It does not have the positon settings like TITLE and MODEL have.

    How can this be done?

    Thank you for your time and replies. I sincerely appreciate it.

  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?

    Hu,

    Locate this:
    includes/templates/HCG_Template_3/css/stylesheet.css

    Add this to the bottom of the sheet

    .main {
    float:right;
    margin-top:-9em;
    }

  3. #3
    Join Date
    Apr 2009
    Posts
    41
    Plugin Contributions
    0

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

    hello Haredo,

    Thanks for the reply. Unfortunately, it did not work. I will be working on variations but here is the link:

    http://hugocruzgallery.com/shop/inde...tured_products

    It is now 5:15PM EST and I will be trying to work on it. So, if you see the page later then you may not see exactly what your changes did. So, I can describe it as follows: It centered almost all the objests (image/title/description and items) on top of each other / overlapping one another. A centered jumbled mess :-)

    So, if you have any ideas on how to correct this then please let me know.

    Thank you.

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

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

    Hu,
    Yes, I see, remove it please and I will take a look

    Pm, was sent to you also

  5. #5
    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

  6. #6
    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

  7. #7
    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

  8. #8
    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.

  9. #9
    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 />';
    }
    }

  10. #10
    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.

 

 
Page 1 of 2 12 LastLast

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