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:
Replace it with: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-->
Next part is optional depending on whether or not you want to remove the -Or Use- text above the Google Checkout button.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-->
Go to this file: /public_html/includes/languages/english/modules/payment/googlecheckout.php
Find:
Replace it with:Code:define('MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_OPTION', '- Or use -');
Then remove the 'Checkout' link from your navigation menu.Code:define('MODULE_PAYMENT_GOOGLECHECKOUT_TEXT_OPTION', '');
Go to this file: /public_html/includes/languages/english/YOUR_TEMPLATE/header.php
Find:
Replace it with:Code:define('HEADER_TITLE_CHECKOUT', 'Checkout');
That worked for me. Hope it helps you.Code:define('HEADER_TITLE_CHECKOUT', '');![]()


Reply With Quote
