docwisdom Posted January 4, 2007 Share Posted January 4, 2007 I am looking for an edit that will make google checkout the only checkout option in oscommerce. I want it to replace the default checkout. I have gone into admin and removed all other payment options, but the original checkout still remains. Quote Link to comment Share on other sites More sharing options...
rszrama Posted January 5, 2007 Share Posted January 5, 2007 The problem is you actually need to edit the file shopping_cart.php to remove the checkout button. I'll be back at work tomorrow and can post some information for you... you'll need to remove some other PHP files, too, just to make sure malicious users don't try browsing to them. I'll post some code in the morning. Sit tight. :D Quote Link to comment Share on other sites More sharing options...
Robert_ja Posted January 5, 2007 Share Posted January 5, 2007 I need to same info too....thanks in advance Robert Quote Link to comment Share on other sites More sharing options...
Robert_ja Posted January 8, 2007 Share Posted January 8, 2007 Hey "rszrama" just wanting to check in to see if you could help out on removing the optional payment buttons. I am wanting to use Google only. Thanks, Robert Quote Link to comment Share on other sites More sharing options...
docwisdom Posted January 12, 2007 Author Share Posted January 12, 2007 thanks Ryan, Quote Link to comment Share on other sites More sharing options...
orbitus Posted January 13, 2007 Share Posted January 13, 2007 I am interested in the same material if you wouldn't mind. Quote Link to comment Share on other sites More sharing options...
pkcs11 Posted January 15, 2007 Share Posted January 15, 2007 yep, me too. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 20, 2007 Share Posted January 20, 2007 I too am looking for a solution to only use google checkout. Quote Link to comment Share on other sites More sharing options...
orbitus Posted January 20, 2007 Share Posted January 20, 2007 I too am looking for a solution to only use google checkout. I was able to do it by removing the checkout from the php files, like header.php. I cant remember the other one but it was easer than header.php Chris Quote Link to comment Share on other sites More sharing options...
Rachael w. Posted January 20, 2007 Share Posted January 20, 2007 All you need to do is remove the stock osc checkout button on the shoping cart page and point all your checkout links to the shopping cart. This is the line of code with the checkout button in shopping_cart.php for the checkout button: <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td> You'll need to remove that line to remove the button. Then work your google button code in its place and all you'll have is google checkout. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.