Forums / Bug Reports / [Done v1.3.9d] ALT text in template override paypalwpp.php

[Done v1.3.9d] ALT text in template override paypalwpp.php

Locked

Views: 1,702

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
13 Nov 2009, 3:45 PM
#1
torvista avatar

torvista

Totally Zenned

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

[Done v1.3.9d] ALT text in template override paypalwpp.php

Hi,
not sure if this is a bug or just the ways things are,

When Paypal Express Checkout is enabled, on the login screen there is a text box regarding paying with Paypal.
It gets an image from Paypal but the ALT text for the image is taken from here:

catalog\includes\languages\english\modules\payment\paypalwpp.php

rather than here:

catalog\includes\languages\english\modules\payment\CUSTOM_TEMPLATE\paypalwpp.php

Very nerdy I know but I am doing a dual language shop with no internet connection so I see these things,

regards
Steve

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

18 Dec 2009, 4:57 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: [Done v1.3.9d] ALT text in template override paypalwpp.php

I'm having trouble duplicating that on a clean install after adding a custom template and then the custom language file.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

19 Dec 2009, 8:16 AM
#3
torvista avatar

torvista

Totally Zenned

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

Re: [Done v1.3.9d] ALT text in template override paypalwpp.php

Hi,

I have just tried this on my local clean install.

I add a product to the cart.
I "switch off external images" (FFox Web Developer) to see the image alt text in the split login page.

In
\includes\languages\english\modules\payment\paypalwpp.php
I put

define('MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT', 'NO TEMPLATE Click here to pay via PayPal Express Checkout');

In
\includes\languages\english\modules\payment\classic\paypalwpp.php
I put

define('MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT', 'CLASSIC TEMPLATE Click here to pay via PayPal Express Checkout');

On the split login page I see the text

NO TEMPLATE Click here to pay via PayPal Express Checkout

regards
Steve

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