Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    814
    Plugin Contributions
    0

    help question Payment Radio Button Text. How Do Ya Change It?

    Hi All,
    I want to change the text next to the PAYPAL IPN radio button.
    Think I wore out my developers tool kit looking for this. I need to know where to find the area to edit. The radio buttons are those found on the step 2 of 3 checkout page.
    I dont want it to say PAYPAL IPN. I plan to replace the text with my payment methods logo. Better than telling your customers that to checkout with your CC please select paypal ipn. Ya Know?!
    Thanks in advance,
    John

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Payment Radio Button Text. How Do Ya Change It?

    You might check the PayPal terms of service before doing this as they have been known to be stinky about this.

    Might be better to play up through text that their info is safe and not collected nor stored on your site and that all transactions are processed through PayPal.

    But I am no Lawyer...
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    814
    Plugin Contributions
    0

    Default Re: Payment Radio Button Text. How Do Ya Change It?

    I can leave the text "Paypal IPN" there and add an Image to it then. Sounds like it will please all.
    Thanks,
    John

  4. #4
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    814
    Plugin Contributions
    0

    Default Re: Payment Radio Button Text. How Do Ya Change It?

    I did find the file to edit. /includes/languages/english/modules/payment/paypal.php
    To keep on with the overrides I made /includes/languages/english/modules/payment/my_template/paypal.php

    I found that I can work with the text part of this on line #11
    define('MODULE_PAYMENT_PAYPAL_TEXT_CATALOG_TITLE', 'Paypal IPN');

    I have tried to get some code pointers through php.net to add an image to this with out much luck.

    How would I add the image?

    John

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Payment Radio Button Text. How Do Ya Change It?

    You can modify this code for any desired constant to contain an image link:
    PHP Code:
    define('MORE_INFO_TEXT''<img src="' HTTP_SERVER DIR_WS_CATALOG DIR_WS_TEMPLATE 'images/yourimage.gif">'); 
    The image file goes in your template's /images/ subfolder.

  6. #6
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    814
    Plugin Contributions
    0

    Default Re: Payment Radio Button Text. How Do Ya Change It?

    GJH42, Thanks.

    Couldnt get this to work as all one piece tho. Not sure if I may have used it in the wrong place or what.

    What I did was edited my line#11 where it says 'paypal ipn'. I removed the text paypal ipn and inserted your code <img src="' . HTTP_SERVER . DIR_WS_CATALOG . DIR_WS_TEMPLATE . 'images/yourimage.gif">
    and that worked GREAT!

    Thanks,
    John

 

 

Similar Threads

  1. How to set default radio button for payment?
    By merclord in forum General Questions
    Replies: 18
    Last Post: 27 Jun 2012, 12:12 AM
  2. How to align radio button and text?
    By Carolc in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Mar 2011, 05:40 PM
  3. How to change the PAYPAL payment button text?
    By kevinmc3 in forum Built-in Shipping and Payment Modules
    Replies: 16
    Last Post: 25 Dec 2010, 06:39 PM
  4. How to delete radio button on checkout payment page?
    By never2cute in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 13 Jan 2010, 11:33 PM
  5. How do I change the Buy Now to a Radio Button
    By RobVox in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Jun 2007, 08:54 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