Zen Cart Logo
Forums / PayPal Express Checkout support / Customers confused by checkout button

Customers confused by checkout button

Views: 2,158

Results 1 to 8 of 8
15 Dec 2012, 4:52 PM
#1
rod44 avatar

rod44

Zen Follower

Join Date:
Apr 2006
Location:
Homebase: Spokane, WA
Posts:
101
Plugin Contributions:
0

Customers confused by checkout button

HI!
I have been working on this for a couple weeks now and not able to find a correct answer. I have been having customers ready to order and when they go to checkout they take pause as we only use PayPal for online payments and they email with a "I don't have a PayPal account, so what do I do now to order this?". So I email telling them an account is not required for CC or debit and 4 out of 5 times they don't come back, assuming that by the time they get the email the 4 of the 5 ordered someplace else or just lose the impulse in the moment. I decided I would try to modify the ALT on the button or add a text line under it (or someplace right under the buttons) explaining they don't have to have a PayPal account to use them for payment, or something like that to try to alleviate their concerns with not having an account. Then I noticed that in Firefox and Safari the ALT shows for all the buttons EXCEPT the PayPal button. I started searching in the dev toolkit and found

/includes/languages/english/modules/payment/paypalwpp.php

seemed to hold the tag, however it doesn't appear to have it display. I kept looking the the file, and then sourced the buttons from the Shopping Cart on the site and found that all the other buttons held an 'alt' as well as a 'title' tag except the PayPal button. I kept digging and think I found where this needs to be

/includes/languages/english/button_names.php

but don't know how to add a PayPal button alt define to make it work.

I am sure I am not the only one who has had this problem with customers, and certain there has to be a way to add the ALT and/or TITLE to the button as well as some type of text line immediately below the buttons for us to edit to clarify they DON'T have to have a PayPal account to checkout on out ZenCart sites that do use PayPal.

If there is a way to do this could you please assist?

Thanks in advance for your time and expertise on all these questions we ask of you folks, you don't know how much we appreciate your efforts for us.

Merry Christmas and Happy Holidays to the ENTIRE Zencart Team!

16 Dec 2012, 3:08 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,096
Plugin Contributions:
56

Re: Customers confused by checkout button

The PayPal button is formed by /includes/modules/payment/paypal/tpl_ec_button.php (I don't think it can be overridden, so you'll have to make any edits in-place). It appears to be generated with alt text, but no title tag. It's the title tag you want to add, since that's what the browser displays to the user when they hover over the button.

16 Dec 2012, 6:13 PM
#3
rod44 avatar

rod44

Zen Follower

Join Date:
Apr 2006
Location:
Homebase: Spokane, WA
Posts:
101
Plugin Contributions:
0

Re: Customers confused by checkout button

Thanks lat9, but still have 1 more question:

Is it possible to add a text line below the button to say something like "Use your Credit Card - No PayPal Account Required" in case they don't 'hover' the button?

I am sure others would like to have this on their sites also to clarify that you can use PayPal without having to have an account.

Thanks,

16 Dec 2012, 6:51 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Customers confused by checkout button

rod44:

Thanks lat9, but still have 1 more question:

Is it possible to add a text line below the button to say something like "Use your Credit Card - No PayPal Account Required" in case they don't 'hover' the button?

I am sure others would like to have this on their sites also to clarify that you can use PayPal without having to have an account.

Thanks,

Well... it CAN be customized with your own image and path to that image, BUT if you do this, you may be violating PayPal's T&C's.

They do provide a few alternative links to images.

FOR EXAMPLE, you could choose this in the DEFINE statement: https://www.paypalobjects.com/en_US/i/bnr/horizontal_solution_PP.gif

SEE:

// EC buttons -- Do not change these values
///// You should only use choices listed on this page: https://ppmts.custhelp.com/app/answers/detail/a_id/632
  define('MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_IMG', 'https://www.paypalobjects.com/en_US/i/btn/btn_xpressCheckout.gif');
  define('MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_SM_IMG', 'https://www.paypalobjects.com/en_US/i/btn/btn_xpressCheckoutsm.gif');
  //define('MODULE_PAYMENT_PAYPALEC_MARK_BUTTON_IMG', 'https://www.paypalobjects.com/en_US/i/logo/PayPal_mark_37x23.gif');
  define('MODULE_PAYMENT_PAYPALEC_MARK_BUTTON_IMG', 'https://www.paypalobjects.com/en_US/i/logo/PayPal_mark_50x34.gif');
  //define('MODULE_PAYMENT_PAYPALEC_MARK_BUTTON_IMG', 'https://www.paypalobjects.com/en_US/i/bnr/horizontal_solution_PP.gif');
  //define('MODULE_PAYMENT_PAYPALEC_MARK_BUTTON_IMG', 'https://www.paypalobjects.com/en_US/i/bnr/horizontal_solution_PPeCheck.gif');

includes/languages/english/modules/payment/paypalwpp.php

If you MODIFY this file, then there is an OVERRIDE folder for it:

includes/languages/english/modules/payment/YOUR_TEMPLATE/paypalwpp.php

(AND there are some TEXT DEFINES you can modify there too).

16 Dec 2012, 7:31 PM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,096
Plugin Contributions:
56

Re: Customers confused by checkout button

rod44, here's the change you'll need to make to the core file /includes/modules/payment/paypal/tpl_ec_button.php (be sure the make a backup copy first):

<div id="PPECbutton" class="buttonRow">
  <a href="<?php echo zen_href_link('ipn_main_handler.php', 'type=ec', 'SSL', true, true, true); ?>"><img src="<?php echo MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_IMG ?>" alt="<?php echo MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT; ?>" title="<?php echo MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT; ?>" /><span id="PPECbuttonSpan"><br />Use your Credit Card — No PayPal Account Required</span></a>
</div>

You probably want to include the text in the language file that schoolboy identified, just for purity's sake. You also might want to make a modification to your stylesheet.css file to add styling (like text font and/or size) to the #PPECbuttonSpan selector.

16 Dec 2012, 10:40 PM
#6
rod44 avatar

rod44

Zen Follower

Join Date:
Apr 2006
Location:
Homebase: Spokane, WA
Posts:
101
Plugin Contributions:
0

Re: Customers confused by checkout button

WOW, Thanks guys! Will give this a run and see how I come out, will report back once complete.

Thanks, Happy Holidays and Merry Christamas!

17 Dec 2012, 2:06 PM
#7
rod44 avatar

rod44

Zen Follower

Join Date:
Apr 2006
Location:
Homebase: Spokane, WA
Posts:
101
Plugin Contributions:
0

Re: Customers confused by checkout button

Schoolboy and Lat9,
I made the changes in the /includes/modules/payment/paypal/tpl_ec_button.php file lat9 suggested and it worked! The button has moved to more center other than the right side, but is OK. Thanks guys for the help!

17 Dec 2012, 3:42 PM
#8
discoverytdi avatar

discoverytdi

Totally Zenned

Join Date:
May 2011
Location:
Sunny Rossendale (not)
Posts:
562
Plugin Contributions:
0

Re: Customers confused by checkout button

rod44:

Schoolboy and Lat9,
I made the changes in the /includes/modules/payment/paypal/tpl_ec_button.php file lat9 suggested and it worked! The button has moved to more center other than the right side, but is OK. Thanks guys for the help!
It's because the text is longer than the image, I have shortened the text to "No Paypal account required in bold and the link stays prety well inline with the Checkout button.```php

<div id="PPECbutton" class="buttonRow"> <a href="<?php echo zen_href_link('ipn_main_handler.php', 'type=ec', 'SSL', true, true, true); ?>"><img src="<?php echo MODULE_PAYMENT_PAYPALWPP_EC_BUTTON_IMG ?>" alt="<?php echo MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT; ?>" title="<?php echo MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT; ?>" /><span id="PPECbuttonSpan"><br /><span style="font-weight: bold;">No PayPal Account Required</span></span></a> </div> ```