Results 1 to 4 of 4
  1. #1

    Default Adding message on payment page

    I have done my site so customers are directed to Paypals site, but I think it puts them off, so I want to put a warning or instructions so they will know what will happen

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Adding message on payment page

    Sounds like a good idea. Presumably you will be editing your tpl_checkout_payment_default.php file to add this message.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Apr 2006
    Location
    Göteborg
    Posts
    126
    Plugin Contributions
    0

    Default Re: Adding message on payment page

    Hi,

    I have done the same (to notify customers that they will be redirected and then sent back), and am working on a small contrib both for the checkout_payment (general payment information+image) and checkout_confirmation (redirect + payment instructions) page. For confirmation I use the code below. In tpl_checkout_confirmation_default.php

    after

    <h4 id="checkoutConfirmDefaultPaymentTitle"><?php echo $GLOBALS[$class]->title; ?></h4>

    add

    Code:
    <?    
    // Confirmation message START WILS
    if (defined(strtoupper(MODULE_PAYMENT_.$class._CONFIRMATION_DESCRIPTION))) {
       echo "<div class=PaymentConfirm>";
     constant(strtoupper(MODULE_PAYMENT_.$class._CONFIRMATION_DESCRIPTION));
         echo "</div>";
    }
    // Confirmation message END WILS
    ?>
    where MODULE_PAYMENT_YOURPAYMENT_CONFIRMATION_DESCRIPTION has to be defined in your payment language file.

    Also, I use the following in the stylesheet:


    Code:
    div.PaymentConfirm {
    width: 100&#37;;
    background-color: yellow;
    border: 1px dashed red;
    padding: .4em;
    float: left;
    margin-left: 0.5em;}
    Hope this helps, I'm sure there is a more fancy way to do it, but it works fine.

    I'll post both the override files with complete instructions and css next week.
    Last edited by Wils; 21 Jan 2007 at 12:54 AM.

  4. #4
    Join Date
    Apr 2006
    Location
    Göteborg
    Posts
    126
    Plugin Contributions
    0

    Default Re: Adding message on payment page

    See also http://zen-cart.com/forum/showthread.php?t=56079 for more on my ideas, which may be what you are looking for.

    /Wils

 

 

Similar Threads

  1. What file to add message on Payment page ?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 13 Apr 2010, 10:02 AM
  2. Error Message on checkout payment page
    By sandy2000ca in forum General Questions
    Replies: 1
    Last Post: 6 Oct 2008, 07:54 PM
  3. Adding a copright message to every page
    By peewhy in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Mar 2008, 08:28 PM
  4. Error message when going to payment page
    By shadoh in forum PayPal Website Payments Pro support
    Replies: 27
    Last Post: 27 Jan 2008, 06:03 AM
  5. adding a message to check out page
    By davek7 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Dec 2006, 12:25 AM

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