
Originally Posted by
handkem
Has anyone run into the below problem(s):
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.."
Sorry, we are not accepting payments from your region at this time.
Please contact us for alternate arrangements.
Also, if the customer clicks on the Checkout link on the top left of the website, they get taken to the default checkout option (Step 1 0f 3) every time. How can I get this button to go directly to the shopping cart contents, and then the customer can use Google checkout to finish their checkout process?
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.
<A href="http://desertskyink.net/index.php?main_page=checkout_shipping" target=_blank rel=nofollow>http://desertskyink.net/includes/tem...n_checkout.gif
<A href="http://desertskyink.net/index.php?main_page=checkout_shipping" target=_blank rel=nofollow>http://desertskyink.net/includes/tem...n_checkout.gif
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.
Bookmarks