Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default adding text to checkout_payment.php

    I want to add some text to the checkout_payment.php page. Stage 2 of 3 of the payments process where they select the payment method.

    I would like to add text explaining that they should select paypal if they want to pay by credit/debit card. Currently this isn't there.

    my client has assured me that the site used to have a radio button to select credit/debit card payment which sent you to paypal, however it seems that since I installed big royal mail this option has disappeared, and we're left with just check/postal order and paypal radio buttons.

    i've done a dummy run through myself and after selecting paypal as you would expect you're taken to the paypal site where you can pay with a card even if you haven't got an account, however my client doesn't like it that vivtore to her site will be "in the dark" as to how to pay... in her words.. "they may not know who or what paypal is"... so i've just suggested to her to add some text to inform people that if they want to pay by card they need to select paypal as the payment option.

    hence this post....

    Andy
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  2. #2
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: adding text to checkout_payment.php

    Having re-looked at the page in question. i need to add text to the bit where it says Select payment method. This probably isn't on the checkout_payment.php file but an html include or something... help 'm stabbing in the dark here.

    Help please

    Andy
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  3. #3
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: adding text to checkout_payment.php

    Any takers?
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  4. #4
    Join Date
    Jul 2008
    Posts
    90
    Plugin Contributions
    0

    Default Re: adding text to checkout_payment.php

    I'm looking for this answer too...

  5. #5
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,915
    Plugin Contributions
    3

    Default Re: adding text to checkout_payment.php

    Give me a few minutes and I'll post the solution...
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  6. #6
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,915
    Plugin Contributions
    3

    Default Re: adding text to checkout_payment.php

    OKAY... there are a variety of option available, and the one below can be used as a "quickfix" for bettsaj, but ONLY IF PayPal is being provided as a payment option. This is because we are about to alter a GENERAL DEFINE that will appear on the page irrespective of whether paypal is active or not, so only use this method if paypal is active...

    Via FTP, port a COPY of: includes/languages/english/checkout_payment.php to your local drive.

    Open it for editing and find:
    PHP Code:
    define('TEXT_SELECT_PAYMENT_METHOD''Please select a payment method for this order.'); 
    You could add something like:

    PHP Code:
    define('TEXT_SELECT_PAYMENT_METHOD''Please select a payment method for this order.<br /><br />PayPal must be used for all credit card or debit card payments and you do not need a PayPal account to do this.<br /><br />PayPal will invite you to open a PayPal account, but this is at your discretion. You can still pay us using a payment card as described.<br /<br />If you do have a PayPal account, you can either choose to pay using your account, or use another credit/debit card.'); 
    Then SAVE the file on your local drive.

    Then FTP it to:

    includes/languages/english/YOUR_TEMPLATE/checkout_payment.php
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  7. #7
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,915
    Plugin Contributions
    3

    Default Re: adding text to checkout_payment.php

    With respect to my earlier post...

    If you are using zencart 1.3.8, then this is an option that will display exclusively to PayPal.

    In:
    /includes/languages/english/modules/payment/paypal.php

    There is a define, as follows:


    PHP Code:
      define('MODULE_PAYMENT_PAYPAL_ACCEPTANCE_MARK_TEXT''Save time. Check out securely. <br />Pay without sharing your financial information.'); 
    Using my example (above), you can edit/add additional text to this define in the same way.
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  8. #8
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,915
    Plugin Contributions
    3

    Default Re: adding text to checkout_payment.php

    Other solutions for other text inserts on the checkout_payment page are different, and the methodology used depends on what text you want to add, and where you want it to appear.

    For example, if you want a block of text to appear ONLY WHEN payment options are offered, or when a CERTAIN option is offered, then we need to use CONDITIONALS in the code (if x is true, then display y).

    If the statement you require is GENERAL, it's easier, becuase there will not be a conditional...

    So, WHAT do you want to display, and under WHAT CIRCUMSTANCES (conditions) ?
    Did my post help you fix something? You can show your gratitude by buying the the dev team coffee.

  9. #9
    Join Date
    Jul 2008
    Posts
    90
    Plugin Contributions
    0

    Default Re: adding text to checkout_payment.php

    Many thanks for you help and it has solved some of my query. The other problem I have is that the Paypal IPN text is small than the other text I have for my other payment methods. I'd like it the same size. when I look at the source for this page I see <span class="smallText">Checkout securely with PayPal.</ Which file is this code in so I can change it to class="radioButtonLabel">

    Thank you
    Suekay

  10. #10
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: adding text to checkout_payment.php

    Thanks very much .... Did exactly what I wanted it to do. My clients just informed me that she's going to apply for PayPal Pro so it's seamless.... Oh well
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Adding OnClick to a Radio Button in the checkout_payment page
    By tez in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 2 Jul 2007, 03:31 PM
  2. Adding products to "Checkout_Payment"
    By AdamBoyle in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 10 Aug 2006, 08:48 AM
  3. Tax Text Not Showing Up On Checkout_Payment Page
    By enchantedone in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 1 Jun 2006, 05:04 AM

Bookmarks

Posting Permissions

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