If this is your first visit, check our documentation. To post, register or login.
Forums / Code Matters / Bug Reports / [Done v1.5.0] PayPal Express Button Removal?

[Done v1.5.0] PayPal Express Button Removal?

Locked

Started by daltonkost on 30 Oct 2010, 6:14 PM · Views: 3,355

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
30 Oct 2010, 6:14 PM
#1
daltonkost avatar

daltonkost

Zen Follower

Join Date:
Oct 2009
Location:
Smack in the Middle
Posts:
127
Plugin Contributions:
0

[Done v1.5.0] PayPal Express Button Removal?

Now that we have "permission" to remove the PayPal Express Checkout Button, I'm wondering how to remove the button from the Shopping Cart page, but have it remain as an option on the Login/Account Creation page.

Turning the button off in the admin/modules/payment/paypal express checkout removes it from both locations for me.

Thanks

Dalton

Skin that 'un pilgrim, and I'll bring ya' another.
Running 1.3.9h with a few mods here

17 Nov 2010, 9:48 PM
#2
tonyz avatar

tonyz

New Zenner

Join Date:
Aug 2004
Location:
Providence, RI USA
Posts:
30
Plugin Contributions:
0

Re: [Done v1.5.0] PayPal Express Button Removal?

daltonkost:

Now that we have "permission" to remove the PayPal Express Checkout Button, I'm wondering how to remove the button from the Shopping Cart page, but have it remain as an option on the Login/Account Creation page.

Turning the button off in the admin/modules/payment/paypal express checkout removes it from both locations for me.

Thanks

Dalton

Yeah, the button is removed from the login page, but the text saying

"New Customers
Have a PayPal account? Want to pay quickly with a credit card? Use the PayPal button below to use the Express Checkout option."

is still displayed. Problem is that now there is no "button below"!

How can this be fixed?
Tony

17 Nov 2010, 11:08 PM
#3
daltonkost avatar

daltonkost

Zen Follower

Join Date:
Oct 2009
Location:
Smack in the Middle
Posts:
127
Plugin Contributions:
0

Re: [Done v1.5.0] PayPal Express Button Removal?

Go to includes/languages/english/login.php. The text is defined there.

The "Or" that is in the middle is also in this file.

Good Luck

Dalton

Skin that 'un pilgrim, and I'll bring ya' another.
Running 1.3.9h with a few mods here

5 Dec 2010, 1:04 AM
#4
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: [Done v1.5.0] PayPal Express Button Removal?

To switch the login PayPal text off at the same time as the button you could create a template override for
\includes\templates\YOUR_TEMPLATE_NAME\templates\tpl_login_default.php

and change

<?php if ($ec_button_enabled) { ?>
<div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION_SPLIT; ?></div>

to

<?php if (MODULE_PAYMENT_PAYPALWPP_ECS_BUTTON == 'On' && $ec_button_enabled) { ?>
<div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION_SPLIT; ?></div>

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

5 Jan 2011, 9:33 AM
#5
mgdesigns avatar

mgdesigns

New Zenner

Join Date:
Dec 2010
Posts:
25
Plugin Contributions:
0

Re: [Done v1.5.0] PayPal Express Button Removal?

Thank you for that - it worked :D