Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    May 2010
    Location
    Whitchurch, Hampshire, UK
    Posts
    71
    Plugin Contributions
    0

    cart error Fixing position of product description

    Hi Zenners,

    I'm trying to make my product pages a bit more uniform, and the first step in my grand scheme is to make sure the product descriptions stay below the product images.

    At the moment, if there are no additional images, the description will shift up next to the image, and it generally looks messy.
    Here's an example: http://www.the-ishop.co.uk/earmic-p-2.html

    I want it to be like this (without the need for additional images):
    http://www.the-ishop.co.uk/bumple-ri...one-4-p-6.html

    If anyone could advise me as the the best course of action, I'd be grateful.

    Cheers

    Tristan
    The iShop: Make it Yours

    Apple, BlackBerry, HTC, Samsung and Audio Accessories www.the-ishop.co.uk

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,220
    Plugin Contributions
    11

  3. #3
    Join Date
    May 2010
    Location
    Whitchurch, Hampshire, UK
    Posts
    71
    Plugin Contributions
    0

    Default Re: Fixing position of product description

    I checked that out, but didn't give me any joy unfortunately!

    That tells me about the Product Info section in Admin>Configuration, but I think what I may need is something more to do with the actual PHP files.

    From what I understand, I need to create a kind of layout limitation that keeps the description below the product image, as opposed to around it. I guess it's almost like the picture and text formatting in Microsoft Word.
    At the moment, I have Square, but I want to have Top and Bottom (in this case, just bottom of course!)
    The iShop: Make it Yours

    Apple, BlackBerry, HTC, Samsung and Audio Accessories www.the-ishop.co.uk

  4. #4
    Join Date
    May 2010
    Location
    Whitchurch, Hampshire, UK
    Posts
    71
    Plugin Contributions
    0

    Default Re: Fixing position of product description

    I still can't get this sorted out - can anyone else help me out?
    The iShop: Make it Yours

    Apple, BlackBerry, HTC, Samsung and Audio Accessories www.the-ishop.co.uk

  5. #5
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Fixing position of product description

    Well by looking at the layout in firefox with fire bug I see this:

    this is the one your like:
    <div id="productMainImage" class="centeredContent back"><div id="productAdditionalImages">

    <h2 id="productPrices" class="productGeneral"> £4.99</h2>

    <div id="cartAdd">

    <div id="productDescription" class="productGeneral biggerText">

    <br class="clearBoth">

    <div id="productAttributes">

    <div class="navNextPrevWrapper centeredContent">

    <div id="productReviewLink" class="buttonRow back">
    Simple so follow the tutorial above and move to match this setting...
    Mark
    Hare Do

  6. #6
    Join Date
    May 2010
    Location
    Whitchurch, Hampshire, UK
    Posts
    71
    Plugin Contributions
    0

    Default Re: Fixing position of product description

    Yes, that is what I have at the moment, but despite this layout, the description still manages to squeeze itself inbetween the product image and the add to cart button.
    For example: http://www.the-ishop.co.uk/mipad-flame-case-p-12.html.
    Is there not some piece of HTML or PHP code that creates a kind of barrier, to stop the description moving as high as it can? I would add the style="margin-top:NUMBERpx" to it, but that would shift it down even further when there are additional product images.

    I hope I explained that properly!
    The iShop: Make it Yours

    Apple, BlackBerry, HTC, Samsung and Audio Accessories www.the-ishop.co.uk

  7. #7
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Fixing position of product description

    you have to move the <div id="productAdditionalImages"> block of code below the main image is this what you have done too.

    should look like this:
    <!--bof Product Name-->
    <h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
    <!--eof Product Name-->

    <!--bof Additional Product Images -->
    <?php
    /**
    * display the products additional images
    */
    require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
    <!--eof Additional Product Images -->
    Last edited by haredo; 6 Jun 2011 at 10:45 PM.
    Mark
    Hare Do

  8. #8
    Join Date
    May 2010
    Location
    Whitchurch, Hampshire, UK
    Posts
    71
    Plugin Contributions
    0

    Default Re: Fixing position of product description

    Yes, I have.

    Here's what I have at the moment:
    - Main Image
    - Additional Images
    - Price
    - Add to Cart
    - Description
    - Attributes
    - Previous/Next Buttons
    - Cross Sell Module
    - Facebook Comments
    The iShop: Make it Yours

    Apple, BlackBerry, HTC, Samsung and Audio Accessories www.the-ishop.co.uk

  9. #9
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Fixing position of product description

    I think i see what is happening it does not show up if you don't have an image...

    Trying adding one one additional image and see what it does to the layout please
    Mark
    Hare Do

  10. #10
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: Fixing position of product description

    This will fix it...

    Find this:
    <!--bof Product Name-->
    <h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
    <!--eof Product Name-->
    Change to this:
    <!--bof Product Name-->
    <h1 id="productName" class="productGeneral"><?php echo $products_name; ?></h1>
    <!--eof Product Name-->
    <br class="clearBoth">
    Mark
    Hare Do

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Position of Attributes on product description page
    By raunharman in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 15 Jan 2014, 05:10 PM
  2. NEWBIE: How do I position "description" on Featured & product listings?
    By hugozc in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 11 Feb 2012, 09:22 PM
  3. Product Image & Description Position!!
    By frontier2002 in forum Templates, Stylesheets, Page Layout
    Replies: 35
    Last Post: 12 Sep 2009, 10:13 PM
  4. Category Description Position
    By karenkte in forum General Questions
    Replies: 2
    Last Post: 17 Jun 2008, 01:26 PM
  5. New Products Description Position
    By miles in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Nov 2006, 02:11 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