Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2008
    Posts
    11
    Plugin Contributions
    0

    Default Payment option description

    Hi

    Is there a way too add a descriptive text under the payment options radio buttons on the checkout_payment page?

    Now it looks somehting like this:

    ---------------------------------------
    O Bank Transfer

    O Ideal

    O Payment on delivery
    ---------------------------------------

    I want it too make it look something like this to make it more customer friendly

    ---------------------------------------
    O Bank Transfer
    Pay in advance with a bank transfer. Your product bladibla...

    O Ideal
    Pay fast and secure with Ideal..... blablabla

    O Payment on delivery
    blablabla...
    ----------------------------------------

    I hope someone has an idea.

    Thanks!

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Payment option description

    What version of ZC are you using? 1.3.8a ???

  3. #3
    Join Date
    Jul 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Payment option description

    Yes, the latest version.

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Payment option description

    Start by looking in the LANGUAGE files for the payment modules. You may have some success there.

    I know that finding the soultion here is a challenge - I'm not entirely sure where the edit possibilities are - in the payment MODULE files, perhaps?

  5. #5
    Join Date
    Jul 2008
    Posts
    11
    Plugin Contributions
    0

    Default Re: Payment option description

    I almost got it, just one problem:

    i found this in tpl_checkout_payment_default:

    PHP Code:
    <label for="pmt-<?php echo $selection[$i]['id']; ?>" class="radioButtonLabel"><?php echo $selection[$i]['module']; ?></label>
    and added this below:

    PHP Code:
    <?php
    $testss 
    strtoupper('MODULE_PAYMENT_' $selection[$i]['id'] . '_TEXT_DESCRIPTION');
    echo 
    $testss;
    ?>
    The problem now is that the result is MODULE_PAYMENT_CC_TEXT_DESCRIPTION in plain text instead of the value of it

    but if i type this code it does display the text.
    PHP Code:
    echo MODULE_PAYMENT_CC_TEXT_DESCRIPTION 

    any suggestions?

 

 

Similar Threads

  1. Payment option based on new option
    By timhersh in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 22 Dec 2011, 11:37 PM
  2. Missing payment option on payment module.
    By Ralf The Dog in forum Installing on a Linux/Unix Server
    Replies: 7
    Last Post: 18 Oct 2011, 06:20 AM
  3. Can i add more customized payment module to payment option?
    By naranbayar in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 12 Nov 2009, 09:22 PM
  4. Products Option Description
    By Scarlet in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Aug 2009, 08:51 PM
  5. How prevent auto-selection of payment option when only 1 payment option available
    By DogTags in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 3 Jun 2006, 01:24 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