Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2008
    Posts
    51
    Plugin Contributions
    0

    Default move add to cart button

    http://intelligenttease.com/store/in...&products_id=1

    I would like to get the "add to cart" button to be on the same line as the "size" and "quantity". I managed to get quantity and size on the same line. I can't figure out how to add that button on that same line.

    Also, does anyone know how I could move the word "quantity" over a little so it doesn't run right up against the size options?

    Please help!

  2. #2
    Join Date
    May 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: move add to cart button

    Just wanted to post a message saying I figured it out.
    http://intelligenttease.com/store/in...&products_id=1

    What I did was:
    1. change
    size="4" /><br />' . zen_get

    to
    size="4" />' . zen_get
    <i>(that is, remove the br)</i>

    2. then change
    $_GET['products_id']) . '<br />' . zen_draw_hidden_field

    to
    $_GET['products_id']) . zen_draw_hidden_field
    <i>(remove the br and keep only one .)</i>

    3. then add <br style="clear:both"> after the <div> tag so my border wouldn't be all wonky.



    Then to get the "quantity" to move, I added this in the stylesheet.css:
    #cartAdd {
    float: left;
    margin-left: 1em;
    }

  3. #3
    Join Date
    May 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: move add to cart button

    I did find that in ie 6 that the border still acts a fool. Anyone have any suggestions on that?

  4. #4
    Join Date
    May 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: move add to cart button

    I added

    #cartAdd input {
    vertical-align: middle;
    }

    to the stylesheet.css

    and that fixed it.

    Problem solved. I hope this is helpful to other people.

  5. #5
    Join Date
    Nov 2007
    Location
    Canada
    Posts
    50
    Plugin Contributions
    0

    Default Re: move add to cart button

    i'd love to know how you got the get quantity and size on the same line.

    i found too many divs in the attribute block to get that to work nicely

    however you still have a problem that when there is an item in the cart it breaks your line with a "quantity of items in cart : 1" and throws the quantity and the add to cart button to the next line

  6. #6
    Join Date
    May 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: move add to cart button

    I'm not real sure what you are asking me. The coding above is how I got everything to go on the same line. But I'm not sure what you were saying about the shopping cart saying 1.

  7. #7
    Join Date
    Nov 2007
    Location
    Canada
    Posts
    50
    Plugin Contributions
    0

    Default Re: move add to cart button

    add an item to the cart, go back to the same item product page
    you will see that you have the attribute drop down. then in the same line is written "quantity of items in cart : 1"
    then the quantity and the add to cart button underneath in the next line

    when there is an item in the cart and you on the product page of that item, zen cart will display this message "quantity of items in cart : 1" it can be 2 if you have 2 of that specific product in the cart. its to advise the customer that he already has x# of that product in the cart

  8. #8
    Join Date
    May 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: move add to cart button

    that isn't happening for me. i'm not getting the quantity of item in cart: 1 after adding the item to the cart and returning to the product page. so i'm not real sure what's going on. can you post a screen shot of what you are talking about so i can see?

  9. #9
    Join Date
    Nov 2007
    Location
    Canada
    Posts
    50
    Plugin Contributions
    0

    Default Re: move add to cart button


  10. #10
    Join Date
    May 2008
    Posts
    51
    Plugin Contributions
    0

    Default Re: move add to cart button

    thats crazy. what version of ie are you using and what operating system? i have to look into it so i can fix it.

    ie is going to be the death of me. i know it.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Move add to cart button?
    By julieoolie in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 27 Mar 2008, 03:05 PM
  2. Can I move the add to cart button?
    By Pomzie in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 18 Jan 2008, 01:19 AM
  3. how do i move/reposition the 'add to cart' button?
    By what44 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Oct 2007, 08:02 PM
  4. Move add to cart button
    By chufty bill in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Sep 2006, 04:56 PM
  5. move add to cart button
    By mole69 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 13 Aug 2006, 04: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
  •