Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1

    Default move add to cart button

    I want to move the add to cart button to below the picture instead of at the bottom.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: move add to cart button

    Start in the admin > config > one of the display or layout settings
    Zen-Venom Get Bitten

  3. #3

    Default Re: move add to cart button

    Thank you that worked.

  4. #4
    Join Date
    Feb 2006
    Posts
    308
    Plugin Contributions
    0

    Default Re: move add to cart button

    hello,

    i'd like to do the same ..move the add to cart button under the image on the product info page...with the description going down the left hand side

    but i cant find any setting which will move it in admin>config

    am I just being a blind dingbat or were you referring to the product listing page rather than info page? if so anoyone know what I need to do?

    thanks

  5. #5
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,550
    Plugin Contributions
    9

    Default Re: move add to cart button

    Yes, you will have to edit the tpl_product_display.php

    Find it on includes/templates/template_default/templates
    make a copy to your includes/templates/yourtemplate/templates

    On that file you can move things around like you want them and you are using the override system to avoing braking the code. If something goes wrong, just delete and start over.

    Have fun!
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  6. #6
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Re: move add to cart button

    Quote Originally Posted by kobra
    Start in the admin > config > one of the display or layout settings
    Can you be more specific, I'm going nuts looking for it....... Again......
    Thanks,
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

  7. #7
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: move add to cart button

    In the tpl_product_info_display.php find this section:

    HTML Code:
    <!--bof Add to Cart Box -->
    <?php
    if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
      // do nothing
    } else {
    ?>
                <?php
        $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
                if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
                  // hide the quantity box and default to 1
                  $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
                } else {
                  // show the quantity box
        $the_button = PRODUCTS_ORDER_QTY_TEXT . '<input type="text" name="cart_quantity" value="' . ($productGetInfo->getProductBuyNowQuantity()) . '" maxlength="6" size="4" /><br />' . $productGetInfo->getProductQuantityMinUnitsDisplay() . '<br />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
                }
        $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
      ?>
      <?php if ($display_qty != '' or $display_button != '') { ?>
        <div id="cartAdd">
        <?php
          echo $display_qty;
          echo $display_button;
                ?>
              </div>
      <?php } // display qty and button ?>
    <?php } // CUSTOMERS_APPROVAL == 3 ?>
    <!--eof Add to Cart Box-->
    copy and paste that section where you want it.

  8. #8
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Re: move add to cart button

    Its a conspericy!
    I was looking for an easter egg that wasn't there. No wonder I couldn't find a place in admin to do this.

    Thanks for the info on where to find the code. Now you truly think I would know what to do with it? I get it now. Its call job security! LOL
    I wove you!!!

    Works like a charm.
    http://www.teamfasteddy.com/index.ph...&products_id=2
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

  9. #9
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: move add to cart button

    LOLOL - Ed, I promise it really is easy. Each section of the page is clearly marked with:

    <!--BOF some section-->

    stuff

    <!--EOF some section-->

    Figure out which section you want the cart button above or below and move the section of code I showed you.

  10. #10
    Join Date
    Jan 2005
    Location
    Gold Country CA
    Posts
    315
    Plugin Contributions
    0

    Default Re: move add to cart button

    I did it!
    I did! I did! I did!!!, even posted a link above to show that im not lying.

    Can i get bonus points towards being Zened, or a special name tag:

    "I did it , So can you..."

    Seriously,
    Thanks!
    My gene pool could use a little chlorine and a lifeguard.
    Inksale.com
    TeamFastEddy.com

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Move add to cart button
    By CnTGifts in forum General Questions
    Replies: 2
    Last Post: 5 May 2012, 09:52 PM
  2. move the add to cart button
    By khinkel in forum General Questions
    Replies: 2
    Last Post: 14 Jan 2011, 02:49 AM
  3. move add to cart button
    By marypotter in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 4 Jun 2008, 05:47 AM
  4. Move add to cart button?
    By julieoolie in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 27 Mar 2008, 03:05 PM
  5. Move add to cart button
    By chufty bill in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Sep 2006, 04:56 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