Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2008
    Posts
    3
    Plugin Contributions
    0

    Default Removing Checkout button for Google Checkout

    Ive searched this site and found that you have to "comment out" certain lines of code from the "tpl_shopping_cart_default.php" file, but still the checkout button shows up.. Under admin i only selected google check out as my only payment module.. so i dont know what to do, please help.. and if possible, once the checkout button is able to be removed, can i move the google checkout buttom to the same spot the original checkout button was??

    Thanks
    Ricky

  2. #2
    Join Date
    Oct 2006
    Posts
    151
    Plugin Contributions
    0

    Default Re: Removing Checkout button in Shopping cart for Google Checkout

    I am having the same problem.

    How can we get rid of the Checkout Button located on the shopping cart page. I have already disabled the credit card checkout process. If you do hit the Go To Checkout button, then you get the below message and if you try to go to Step 3, you get a warning box saying:

    "Errors have occurred during the processing of your form
    Please make the following corrections:
    *Please select a payment method for your order.."

    How can I get rid of this option/button completely? If you have any questions, you can go to www.desertskyink.net. Please help!!! Thx much.

    Sorry, we are not accepting payments from your region at this time.
    Please contact us for alternate arrangements.

    I am trying to only enable Google checkout as the only payment option.

    Plz Help!!!


    <A href="http://desertskyink.net/index.php?main_page=checkout_shipping" target=_blank rel=nofollow>http://desertskyink.net/includes/tem...n_checkout.gif

  3. #3
    Join Date
    Mar 2006
    Location
    Tennessee
    Posts
    310
    Plugin Contributions
    0

    Default Re: Removing Checkout button in Shopping cart for Google Checkout

    If you are wanting to totally remove the 'Go to Checkout' button in your shopping cart and just leave the Google Checkout button, you need to do this:

    Open this file: /public_html/includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php

    Find:
    Code:
    <!--bof shopping cart buttons-->
    <div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
    <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?></div>
    <?php
    // show update cart button
      if (SHOW_SHOPPING_CART_UPDATE == 2 or SHOW_SHOPPING_CART_UPDATE == 3) {
    ?>
    <div class="buttonRow back"><?php echo zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT); ?></div>
    <?php
      } else { // don't show update button below cart
    ?>
    <?php
      } // show update button
    ?>
    <!--eof shopping cart buttons-->
    Replace it with:
    Code:
    <!--bof shopping cart buttons-->
    <div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . '</a>'; ?></div>
    <div class="buttonRow back"><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_CONTINUE_SHOPPING, BUTTON_CONTINUE_SHOPPING_ALT) . '</a>'; ?></div>
    <?php
    // show update cart button
      if (SHOW_SHOPPING_CART_UPDATE == 2 or SHOW_SHOPPING_CART_UPDATE == 3) {
    ?>
    <div class="buttonRow back"><?php echo zen_image_submit(ICON_IMAGE_UPDATE, ICON_UPDATE_ALT); ?></div>
    <?php
      } else { // don't show update button below cart
    ?>
    <?php
      } // show update button
    ?>
    <!--eof shopping cart buttons-->
    Next part is optional depending on whether or not you want to remove the -Or Use- text above the Google Checkout button.

    Go to this file: /public_html/includes/languages/english/modules/payment/googlecheckout.php

    Find:
    Code:
    define('MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_OPTION', '- Or use -');
    Replace it with:
    Code:
    define('MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_OPTION', '');
    Then remove the 'Checkout' link from your navigation menu.
    Go to this file: /public_html/includes/languages/english/YOUR_TEMPLATE/header.php

    Find:
    Code:
    define('HEADER_TITLE_CHECKOUT', 'Checkout');
    Replace it with:
    Code:
    define('HEADER_TITLE_CHECKOUT', '');
    That worked for me. Hope it helps you.
    I'll finish that project tomorrow, I've made enough mistakes today!

  4. #4
    Join Date
    Jul 2008
    Posts
    58
    Plugin Contributions
    0

    Default Re: Removing Checkout button in Shopping cart for Google Checkout

    this worked great for me ! Thanks!

  5. #5
    Join Date
    Oct 2006
    Posts
    151
    Plugin Contributions
    0

    Default Re: Removing Checkout button in Shopping cart for Google Checkout

    I did remove the Checkout option in the Navigation bar, but cannot remember what file edited to accomplish this. I also need to remove the Log In option since I am using Google Checkout. Can anyone tell me what file I need to edit? I don't see anything in /includes/languages/english/modules/MY_TEMPLATE/header.php

    Any help is much appreciated. Thx.

  6. #6
    Join Date
    Oct 2006
    Posts
    151
    Plugin Contributions
    0

    Default Re: Removing Checkout button in Shopping cart for Google Checkout

    Also, I just want to remove the text, not the entire Navigation/Header bar.

  7. #7
    Join Date
    Apr 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Removing Checkout button in Shopping cart for Google Checkout

    Hey guys, i following these instructions and now when you press the google checkout button, it will just refresh the page and wont go to googles checkout page. When i first installed it, it would forward to checkout. Please help me.

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

    Default Re: Removing Checkout button in Shopping cart for Google Checkout

    any help?

  9. #9
    Join Date
    Aug 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Removing Checkout button in Shopping cart for Google Checkout

    Spdster: Just came across your post from a month ago. I had the same problem and found that it was from putting the Google code within Zen Cart's existing form area for its own cart buttons. You have to make sure that "<!-- * BEGIN GOOGLE CHECKOUT * -->" is AFTER "</form>" at around line 134. Hops this helps!

  10. #10
    Join Date
    Apr 2007
    Posts
    42
    Plugin Contributions
    0

    Default Re: Removing Checkout button in Shopping cart for Google Checkout

    thank u bro! problem solved :)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Help! Moving Google CHeckout button to Checkout page
    By taraeng in forum Addon Payment Modules
    Replies: 1
    Last Post: 4 Oct 2011, 12:43 AM
  2. Checkout Button Hide with Google Checkout
    By DaveCB in forum Addon Payment Modules
    Replies: 2
    Last Post: 14 Jun 2009, 05:57 PM
  3. Checkout Button MISSING after removing Google Checkout!
    By ricky_101 in forum Addon Payment Modules
    Replies: 0
    Last Post: 25 May 2008, 11:37 AM
  4. Checkout Button problem with Google Checkout
    By handkem in forum Addon Payment Modules
    Replies: 0
    Last Post: 12 May 2008, 10:41 PM
  5. Paypal Express checkout don't show button after installing Google Checkout
    By jgarabot in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 2 Apr 2007, 07:59 AM

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