Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40
  1. #1
    Join Date
    Oct 2007
    Posts
    134
    Plugin Contributions
    0

    Default how do i change the position of the add to cart button ?

    on my end product page. i want to be able to put the add to cart button where i want it. or can i do it using html?

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,093
    Plugin Contributions
    25

    Default Re: how do i change the position of the add to cart button ?

    In /includes/tempates/your_template/templates/tpl_product_info_display.php, the page elements are in blocks marked with comments like <!--bof xxxx-->. You can move blocks to the order you want them to display, and then fine-tune the layout using CSS with the block's class & id tags in your stylesheet.

    A link to your site will let us give specific advice.

  3. #3
    Join Date
    Oct 2007
    Posts
    134
    Plugin Contributions
    0

    Default Re: how do i change the position of the add to cart button ?

    thanks for the advice.

    heres my page:
    http://explodingchickenrecords.com/z...roducts_id=181

    i want to place the cart (my own image) directly underneath the price.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,093
    Plugin Contributions
    25

    Default Re: how do i change the position of the add to cart button ?

    First, move the <!--bof Add to Cart Box--> code block to just below the <!--eof Product Price block --> in /includes/templates/your_template/templates/tpl_product_info_display.php, as advised before. After you do that, I will help you fine-tune the alignments.

  5. #5
    Join Date
    Jul 2006
    Posts
    159
    Plugin Contributions
    0

    Default Re: how do i change the position of the add to cart button ?

    Quote Originally Posted by gjh42 View Post
    First, move the <!--bof Add to Cart Box--> code block to just below the <!--eof Product Price block --> in /includes/templates/your_template/templates/tpl_product_info_display.php, as advised before. After you do that, I will help you fine-tune the alignments.
    hi ...

    I need to move this box to the top rather than the bottom of the page. I thought there was an admin setting for that. Is this the only way to move it?

    Thanks for your time.

    Kinget

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,093
    Plugin Contributions
    25

    Default Re: how do i change the position of the add to cart button ?

    You're thinking of the product listing page (multiple products), where the multiple add button can be positioned. This is the product info page (one product).

  7. #7
    Join Date
    Jul 2006
    Posts
    159
    Plugin Contributions
    0

    Default Re: how do i change the position of the add to cart button ?

    Hi Maybe so...

    But my objective is to change the box on the product info page from the bottom to the top. I'm assuming them I need to actually adjust the template page and align using the css style sheet?

    Thanks for your reply and energy.
    Kinget

    Quote Originally Posted by gjh42 View Post
    You're thinking of the product listing page (multiple products), where the multiple add button can be positioned. This is the product info page (one product).

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,093
    Plugin Contributions
    25

    Default Re: how do i change the position of the add to cart button ?

    I thought that was implied in my answer...
    We don't generally advise PHP file changes when there is an admin alternative.
    The template files are intended to be adjusted when required for a particular installation.

  9. #9
    Join Date
    Oct 2007
    Posts
    134
    Plugin Contributions
    0

    Default Re: how do i change the position of the add to cart button ?

    should that file be in my classic template foder because its not. i mad ethe changes and it made no difference which is werid.


    Quote Originally Posted by gjh42 View Post
    First, move the <!--bof Add to Cart Box--> code block to just below the <!--eof Product Price block --> in /includes/templates/your_template/templates/tpl_product_info_display.php, as advised before. After you do that, I will help you fine-tune the alignments.

  10. #10
    Join Date
    Jul 2006
    Posts
    159
    Plugin Contributions
    0

    Default Re: how do i change the position of the add to cart button ?

    I'm sorry if I'm confused by your answers.



    Quote Originally Posted by gjh42 View Post
    I thought that was implied in my answer...
    We don't generally advise PHP file changes when there is an admin alternative.
    The template files are intended to be adjusted when required for a particular installation.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. how to insert Add to cart button ?
    By hubert in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jul 2007, 01:45 AM
  2. add to cart button squished
    By photojewelry in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Jan 2007, 11:43 PM
  3. Replies: 3
    Last Post: 14 Sep 2006, 07:58 AM
  4. Sporadic - Add to Cart Button doesn't Add
    By jromanoff in forum Bug Reports
    Replies: 11
    Last Post: 6 Aug 2006, 07:15 AM

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
  •