Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2008
    Posts
    148
    Plugin Contributions
    0

    Default Moving the attributes on the product info page

    I am looking to move the attributes further up the page on my product info as demonstrated in this picture.



    It's not as simple as moving the code around in /tpl_product_info_display.php. I've got to use some sort of code to make it move it right up below the product description.

    I've removed the "manufactured by" display and now the attributes move up next to the add to cart, but I'm not happy with how it looks. Here is the url

    http://www.racquetballgearonline.com...products_id=41

    I think I would have to adjust some CSS but I'm not smart enough to figure it out myself.

    Thanks.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: Moving the attributes on the product info page

    It's not quite as simple as moving code in tpl_product_info_display.php, but you can't accomplish what you want until you do move the code.

    What is holding the attributes below the image is the <br class="clearBoth" /> after the description.
    In your tpl_product_info_display.php, find this
    PHP Code:
    <!--eof Product description -->
    <
    br class="clearBoth" />

    <!--
    bof Add to Cart Box --> 
    and delete the class="clearBoth".
    Then move the <!--bof Attributes Module --> code block up to get this:
    PHP Code:
    <!--eof Product description -->
    <
    br />
    <!--
    bof Attributes Module -->
    ...
    <!--
    eof Attributes Module -->
    <!--
    bof Add to Cart Box --> 
    You will probably have to remove some class="clearBoth" from lines in
    /includes/templates/your_template/templates/tpl_modules_attributes.php so that lower lines of the attributes will also come up under the description.

  3. #3
    Join Date
    Mar 2008
    Posts
    148
    Plugin Contributions
    0

    Default Re: Moving the attributes on the product info page

    Thanks! I'm learning more all the time. I was actually pretty sure that's what I needed to do, but was scared to implement it without consulting the masters.

    Thanks again!

  4. #4
    Join Date
    Mar 2008
    Posts
    148
    Plugin Contributions
    0

    Default Re: Moving the attributes on the product info page

    Now, how would I go about centering the add to cart button under the image? I'm moving it around and using different breaks and I can't get it to go where I want. I'll probably have to CSS it, right?

    Thanks for all the help you have provided.

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: Moving the attributes on the product info page

    To get the add button below the image, you need to make it clear right-floated elements (the image).
    Code:
    #cartAdd {clear: right; margin-right: 4em;}

  6. #6
    Join Date
    Mar 2008
    Posts
    148
    Plugin Contributions
    0

    Default Re: Moving the attributes on the product info page

    Thanks again.

    I just realized that my tinkering screwed everything up when viewed in IE. I had a bunch of overlaps etc.

    I'm going to have to spend some more time with this and play with it until I get IE to behave.

    Are there any other commands I should be using besides moving stuff around and adding breaks?

 

 

Similar Threads

  1. Product Info page - moving the Add To Cart button to very top.
    By marknotgeorge in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Oct 2008, 09:34 PM
  2. Product Info Page...goes wacky when moving product details
    By audradh in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 24 Feb 2008, 09:03 PM
  3. Moving the Buy Now Button to the top of the Product Info Page
    By googlepasta in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Sep 2007, 04:08 PM
  4. Help moving around Product Info page content
    By shawnz28 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Jul 2007, 08:37 AM
  5. Moving Around Product Info Page
    By TurtleDove in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Jul 2006, 08:35 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
  •