jeanette12 Posted February 22, 2010 Share Posted February 22, 2010 hello there! this should be a fairly easy question for the more experienced: i've installed paypal express (which is good right, its better than the other paypal options??) and now i have a ugly yellow paypal button right under the "checkout" when you view the shoppingcart. i dont want customers to go to paypal, i want them to checkout the regular way, so i want to remove this button. how do i do that? greetings, Jeanette Link to comment Share on other sites More sharing options...
krugeros Posted April 5, 2010 Share Posted April 5, 2010 Hi, to do this you'll need to: delete this in line 218 of catalog\shopping_cart.php: <td align="right" class="main" style="padding-right: 50px;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></td> delete this in line 228 of catalog\shopping_cart.php: <td align="right" class="main"><?php echo $value; ?></td> Lines in your shopping_cart.php may differ. Good luck! Link to comment Share on other sites More sharing options...
krugeros Posted April 5, 2010 Share Posted April 5, 2010 I've just found better solution: comment below code found in paypal_express.php in includes/modules/payment: function checkout_initialization_method() { global $language; if (file_exists(DIR_FS_CATALOG . 'ext/modules/payment/paypal/images/btn_express_' . basename($language) . '.gif')) { $image = 'ext/modules/payment/paypal/images/btn_express_' . basename($language) . '.gif'; } else { $image = 'ext/modules/payment/paypal/images/btn_express.gif'; } $string = '<a href="' . tep_href_link('ext/modules/payment/paypal/express.php', '', 'SSL') . '"><img src="' . $image . '" border="0" alt="" title="' . tep_output_string_protected(MODULE_PAYMENT_PAYPAL_EXPRESS_TEXT_BUTTON) . '" /></a>'; return $string; } Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.