Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,835
    Plugin Contributions
    31

    Default [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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: 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.

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,835
    Plugin Contributions
    31

    Default Re: 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
    PHP Code:
    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
    PHP Code:
    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

 

 

Similar Threads

  1. v154 Call to undefined method currencies::get_decimal_places() in paypalwpp.php line 1055
    By Kenton in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 12 Apr 2016, 07:04 AM
  2. paypalwpp.php - How to strike Payment Amount from comments?
    By MrForce in forum PayPal Express Checkout support
    Replies: 2
    Last Post: 5 Sep 2007, 02:17 PM
  3. alt= / alt text setup / programming
    By prodesk in forum General Questions
    Replies: 2
    Last Post: 24 Feb 2007, 08:00 AM
  4. [DONE 1.3.5] Small Bug - Alt Text incorrect
    By madk in forum Bug Reports
    Replies: 2
    Last Post: 26 Jul 2006, 08:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg