Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2009
    Posts
    31
    Plugin Contributions
    0

    Default How can I change the position of the product price and Add to Cart?

    I can't seem to figure out how to move the Price and Add to Cart button so that they appear to the right of the product image, just below the product description. See my page here: http://pennylanepapersgiftbags.com/i...&products_id=1

    Can anyone help? I'm using the latest version of Zen Cart.

    Thanks in advance!

  2. #2
    Join Date
    Aug 2009
    Posts
    31
    Plugin Contributions
    0

    Default Re: How can I change the position of the product price and Add to Cart?

    I figured it out :)

    I removed <br class="clearBoth" /> that appeared after <!--eof Product description --> in the tpl_product_info_display.php file

  3. #3
    Join Date
    Jan 2009
    Posts
    20
    Plugin Contributions
    0

    Default Re: How can I change the position of the product price and Add to Cart?

    Quote Originally Posted by pennylane View Post
    I figured it out :)

    I removed <br class="clearBoth" /> that appeared after <!--eof Product description --> in the tpl_product_info_display.php file

    Can you please be more specific ? Cause I'm trying to change the position of the "add to card" boxe too ....

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: How can I change the position of the product price and Add to Cart?

    Quote Originally Posted by pennylane View Post
    I figured it out :)

    I removed <br class="clearBoth" /> that appeared after <!--eof Product description --> in the tpl_product_info_display.php file
    OK this is NOT a general "fix"... It works in your case, on a very customized template.

    The elements of the product info page can be shifted around by editing /includes/templates/template_default/templates/tpl_product_info_display.php

    NB; The above path is to the CORE file... you will make a COPY of this and when you've applied your edits, it gets saved to your CUSTOM folder...
    /includes/templates/CUSTOM/templates/tpl_product_info_display.php


    The elements are sectioned by COMMENTED TAGS...

    <!--bof Whatever-->
    THEN SOME CODE
    <!--eof Whatever-->

    As long as you keep these intact and don't paste one <!--bof--><!--eof--> section INSIDE another one... moving them is straight forward.

    You then control the finer bits wit CSS
    19 years a Zencart User

  5. #5
    Join Date
    Jan 2009
    Posts
    20
    Plugin Contributions
    0

    Default Re: How can I change the position of the product price and Add to Cart?

    Quote Originally Posted by schoolboy View Post
    OK this is NOT a general "fix"... It works in your case, on a very customized template.

    The elements of the product info page can be shifted around by editing /includes/templates/template_default/templates/tpl_product_info_display.php

    NB; The above path is to the CORE file... you will make a COPY of this and when you've applied your edits, it gets saved to your CUSTOM folder...
    /includes/templates/CUSTOM/templates/tpl_product_info_display.php


    The elements are sectioned by COMMENTED TAGS...

    <!--bof Whatever-->
    THEN SOME CODE
    <!--eof Whatever-->

    As long as you keep these intact and don't paste one <!--bof--><!--eof--> section INSIDE another one... moving them is straight forward.

    You then control the finer bits wit CSS

    Well that doesnt TOTALLY work for me .....

    Moving the content between BOF/EOF for the "add to card" wont change a thing ....
    And even when moving this part too :


    <div id="cartAdd">
    <div class="cartAdd_indent">

    <?php
    echo $display_qty;
    echo $display_button;
    ?>


    </div>
    </div>
    which is the part of the code that actually DISPLAY the "add to card" boxe , it wont work .... I mean the boxe will be displayed where I want it to be , but if you place an order with a quantity that is anything else but "1" , and click the button , you'll notice that the quantity you ordered is always ONE ...

 

 

Similar Threads

  1. Replies: 2
    Last Post: 1 Feb 2015, 03:35 PM
  2. How do I change the position of header, main page and sideboxes
    By Tarukoru.fi in forum General Questions
    Replies: 6
    Last Post: 15 May 2012, 09:17 PM
  3. how to align the product title, price and add to cart box next to the product image?
    By evaky in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 5 Mar 2012, 03:31 AM
  4. How do I add Trust Marks and position them in the footer?
    By shellhackx in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 26 Jun 2011, 10:34 PM
  5. how do i change the position of the add to cart button ?
    By what44 in forum Templates, Stylesheets, Page Layout
    Replies: 39
    Last Post: 11 Feb 2011, 05:32 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