Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Apr 2005
    Location
    Portugal
    Posts
    15
    Plugin Contributions
    0

    red flag Add to cart button layout order

    Can someone please tell me how I can change the postion of the "Add To Cart" button?

    At hte moment it appears just above and to the right of any "options" drop down menus or radio buttons I may have. I would like that these option controls come before the add to cart button.

    Help, please.

    Phil

  2. #2
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Add to cart button layout order

    You have 2 options - use CSS positioning (preferred option) or you can edit includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  3. #3
    Join Date
    Apr 2005
    Location
    Portugal
    Posts
    15
    Plugin Contributions
    0

    Default Re: Add to cart button layout order

    Ah, I thought that there was a way in setting out the layout order within the Admin area. (in fact I'm sure I did it that wat a couple of years ago with an older version of Zen)

  4. #4
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Add to cart button layout order

    That's for the listing pages, not the Product Info page
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  5. #5
    Join Date
    Apr 2005
    Location
    Portugal
    Posts
    15
    Plugin Contributions
    0

    Default Re: Add to cart button layout order

    Right, thanks for the help and it was good help.

    But (there's always one of those devils) got the add to cart button below the option thingies but the tell a friend and write review went where they shouldn't, well they were in a neat horizontal line then after moving the Add2 they ended up one top of each other and to the left of the Add2. I then changed the Add2 to apear below these two buttons only to have the "when added" text apear to the left of the Add2 button.

    I'm not that hot with php (useless more like) I understand HTML and that's about it. I can't see anything that tells me where what is aligned, maybe if I could I might be able to re-arrange it.

    The ideal thing would be to have the options (on one line so to speak) then followed by the Add2 button, then the 2 other buttons (in line like they were) under the Add2 and finally the when added text.

    Any ideas?

    Phil

    PS: If you go here you will see what I mean:http://www.carpas-a-vista.com/Loja/i...roducts_id=309

  6. #6
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Add to cart button layout order

    Are you trying to physically move it or are you using css?
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  7. #7
    Join Date
    Apr 2005
    Location
    Portugal
    Posts
    15
    Plugin Contributions
    0

    Default Re: Add to cart button layout order

    I'm doing it by the tpl_product_info_display.php you mentioned.

    CSS! LOL, You're having a laugh arn't you? That's even more confusing than php in my mind lol

    If I can just get the Add2 on it's own on the line below the options thingy and with the "Tell a..." & ""Coment..." buttons on the line below it (and in line with each other horizontally) I'll be bloody happy.

  8. #8
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Add to cart button layout order

    I don't have the time to explain the details of how to edit php files, but if you want to send me a copy of your tpl_product_info_display.php (the backup copy you made before you changed it!) I'll fix it for you.

    Zip it and upload it here as an attachment.
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

  9. #9
    Join Date
    Apr 2005
    Location
    Portugal
    Posts
    15
    Plugin Contributions
    0

    Default Re: Add to cart button layout order

    Cheers Ryk
    Last edited by OBife; 17 Feb 2007 at 05:23 PM.

  10. #10
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,244
    Plugin Contributions
    20

    Default Re: Add to cart button layout order

    The file you sent me has the Add2cart where you want it, so the most likely thing is that this is a css issue. Put back the file you've just sent me, then let me know. (Rather than cluttering up the forum, go to www.rnscomputing.co.uk and click the boldchat link)
    Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
    20 years with Zencart !

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. testing an order and can't find the "add to cart" button
    By Gee22 in forum General Questions
    Replies: 3
    Last Post: 6 Dec 2010, 12:03 AM
  2. Replies: 0
    Last Post: 15 Aug 2010, 10:06 AM
  3. Column Layout Grid and Add to Cart Button
    By alvalong in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Aug 2009, 11:06 PM
  4. Change "add to cart" button to Pre Order when out of stock?
    By shawnz28 in forum General Questions
    Replies: 16
    Last Post: 24 Apr 2009, 10:32 PM
  5. Layout of Add to Cart button
    By isaiah36 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Jan 2007, 11:15 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