Page 1 of 4 123 ... LastLast
Results 1 to 10 of 39
  1. #1
    Join Date
    May 2006
    Posts
    4
    Plugin Contributions
    0

    Default Changing the Add to cart button

    Hey

    Is it possible to change the location of the "add to cart" button (along with the quanity in stock etc) to the top of the products page, instead of at the bottom? (so above the description)

  2. #2
    Join Date
    May 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Add to cart button

    Got it! Finally after 1 hour of searching.

    Mods may delete this post.

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Add to cart button

    Got it! Finally after 1 hour of searching.
    Might be an idea to post where you found info you required
    so other visitors here can benefit

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Add to cart button

    For any other members looking to move add to cart button, details
    can be found at
    http://www.zen-cart.com/forum/showth...ve+cart+button

  5. #5
    Join Date
    Apr 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Add to cart button

    i have a question along the same lines..

    i'd like to move my add to cart button within the add-to-cart box, so that it sits next to the quantities box, rather than below it. ive taken a look at the tpl_product_info_display.php and can't locate a break or anything that is forcing the button to sit below the quantity box.

    thanks,
    mel

  6. #6
    Join Date
    Apr 2007
    Posts
    69
    Plugin Contributions
    0

    Have a Drink Re: Add to cart button

    just figured it out. i took the two <br />'s out of the Add to Cart Box section within the tpl_product_info_display.php. check out the bolded code below:


    // show the quantity box
    $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br /> .' zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
    Last edited by mellonade; 6 May 2007 at 09:36 AM. Reason: php box didnt show up

  7. #7
    Join Date
    Jun 2006
    Posts
    6
    Plugin Contributions
    0

    Default Re: Add to cart button

    I'm really tired of going through all these posts on the site and everyone says it is so simple to just move the <!--bof Add to Cart Box --> through the <!--eof Add to Cart Box --> to move the Add to Cart button somewhere else on the page.

    It doesn't work for me. I can take it off the page and it still shows up. I have even deleted the tpl_product_info_display.php from the site from both my custom template directory and the template_default yet the page still shows up unless... there are no attributes on the page, then it disappears.

    What the heck is going on? Why can't I move the Add to cart button under the Attributes box?

    http://rememberthewater.com/zencart/...roducts_id=183

    This is very frustrating.

  8. #8
    Join Date
    Apr 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Add to cart button

    Quote Originally Posted by telston01 View Post
    I can take it off the page and it still shows up. I have even deleted the tpl_product_info_display.php from the site from both my custom template directory and the template_default yet the page still shows up unless... there are no attributes on the page, then it disappears.

    What the heck is going on? Why can't I move the Add to cart button under the Attributes box?
    So, deleting the product_info_display.php probably wont solve the problem of moving the attributes box to below the Add to Cart box. You are right, you should be able to select from <!--bof Add to Cart Box --> through the <!--eof Add to Cart Box -->, cut it, and then paste it below <!--eof Attributes Module --> in your tpl_product_info_display.php. that template file is the page that determines the ordering of your product info pages. so thats where you should move code around to get the display order you like. maybe try cutting and pasting again, just make sure youre cutting all the code you need and then pasting in the right place.

    sorry to hear youre having so much trouble!

  9. #9
    Join Date
    Nov 2008
    Posts
    15
    Plugin Contributions
    0

    Default Re: Add to cart button

    Hi,
    I am not sure if this thread is still open, however, if enybody who knows how to solve the problem, finds this posting, I would really appreciate the answer.
    My server admin uploaded the zen template from some clothing store including all of their pics and banners. I deleted all of their stuff, and now that I've set up my own store and merchandise, I don't have the add to cart button on my zen cart. I made all the connections to the mechant services and everything is ready to go, but I just can't figure out how to get the add to cart button on the page. Can somebody help me with that?

  10. #10
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Add to cart button

    Admin>Configuration>MyStore>StoreMode>
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Changing add to cart button
    By mdo82 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Nov 2013, 06:38 PM
  2. how to add the add-to-cart-button to the new products box on the home page?
    By ebloger in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 10 Nov 2008, 10:30 AM
  3. Having Trouble changing only the "Add to Cart' button...
    By aruleal in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Oct 2008, 04:12 PM
  4. Changing Add to Cart Button Name
    By embreak in forum Basic Configuration
    Replies: 2
    Last Post: 15 Jan 2008, 10:36 AM
  5. changing add to cart button
    By willjoe86 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 May 2006, 02:02 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR