Zen Cart Logo
Forums / PayPal Express Checkout support / I have only Paypal express checkout module, BUT

I have only Paypal express checkout module, BUT

Locked

Views: 5,418

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
16 Feb 2008, 17:59
#1
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

I have only Paypal express checkout module, BUT

what I dont understand is when I am at main_page=shopping_cart i have both the option of "go to checkout" or "checkout with paypal" options?? In my payment modules I only have paypal express checkout selected. Shouldnt the "go to checkout " option not even be an option since paypal express is the only option selected in my modules??

16 Feb 2008, 18:12
#2
marcelo63 avatar

marcelo63

Zen Follower

Join Date:
Dec 2007
Posts:
125
Plugin Contributions:
0

Re: I have only Paypal express checkout module, BUT

pwoens:

what I dont understand is when I am at main_page=shopping_cart i have both the option of "go to checkout" or "checkout with paypal" options?? In my payment modules I only have paypal express checkout selected. Shouldnt the "go to checkout " option not even be an option since paypal express is the only option selected in my modules??

No
This was set up as an option. Google and Paypal are option. Main objetive if that you accept credit cards, so I think zen was written that way if not mistaken of course.
However not always we want this way like you.
Some want only Google other only Paypal.
The way to do this is:

  1. Remove checkout button form shopping cart, leaving Paypal button; or
  2. Remove Paypal button leaving only checkout at the end check out payment will leave you only Paypal option.

For Google the only option is remove checkout button.
Hope it helps

16 Feb 2008, 18:27
#3
pwoens avatar

pwoens

New Zenner

Join Date:
Dec 2007
Posts:
63
Plugin Contributions:
0

Re: I have only Paypal express checkout module, BUT

marcelo63:

The way to do this is:

  1. Remove checkout button form shopping cart, leaving Paypal button; or

Hope it helps

This would be excellent...where do I remove the checkout button from shopping cart?? thanks!

19 Apr 2008, 01:20
#4
fvb avatar

fvb

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Re: I have only Paypal express checkout module, BUT

I'm trying to find this to

25 Apr 2008, 21:25
#7
diane22 avatar

diane22

New Zenner

Join Date:
Nov 2007
Posts:
33
Plugin Contributions:
0

Re: I have only Paypal express checkout module, BUT

*2) Remove Paypal button leaving only checkout at the end check out payment will leave you only Paypal option.
*

How do I do this? I'm not using google.

26 Apr 2008, 12:05
#8
fvb avatar

fvb

Zen Follower

Join Date:
Dec 2006
Posts:
102
Plugin Contributions:
0

Re: I have only Paypal express checkout module, BUT

diane22:

2) Remove Paypal button leaving only checkout at the end check out payment will leave you only Paypal option.

How do I do this? I'm not using google.

this is what i did, may not be the recomended way, but it seems to work

copy tpl_shopping_cart_default.php to /public_html/includes/templates/your_template/templates/
edit and remove lines 159-165

<!-- ** BEGIN PAYPAL EXPRESS CHECKOUT ** --> <?php // the tpl_ec_button template only displays EC option if cart contents >0 and value >0 if (defined('MODULE_PAYMENT_PAYPALWPP_STATUS') && MODULE_PAYMENT_PAYPALWPP_STATUS == 'True') { include(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/paypal/tpl_ec_button.php'); } ?> <!-- ** END PAYPAL EXPRESS CHECKOUT ** -->

public_html/includes/modules/pages/login/header_php.php
edit and remove lines
Check for PayPal express checkout button suitability:
$paypalec_enabled = (defined('MODULE_PAYMENT_PAYPALWPP_STATUS') && MODULE_PAYMENT_PAYPALWPP_STATUS == 'True');
Check for express checkout button suitability:
$ec_button_enabled = ($paypalec_enabled && ($_SESSION['cart']->count_contents() > 0 && $_SESSION['cart']->total > 0));
not sure if you can move this file to public_html/includes/modules/your_template/pages/login/header_php.php
have not taken the time to try it yet, but if it works, you should probably do it

06 May 2008, 00:32
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: I have only Paypal express checkout module, BUT

If you're going to do that, you should contact PayPal technical support and make sure they're okay with that ... because their TOS says otherwise.