Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Payment option description

Payment option description

Locked

Views: 806

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Sep 2008, 2:17 PM
#1
rkarta avatar

rkarta

New Zenner

Join Date:
Jul 2008
Posts:
11
Plugin Contributions:
0

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!

26 Sep 2008, 10:14 AM
#2
fairestcape avatar

fairestcape

Totally Zenned

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

Re: Payment option description

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

26 Sep 2008, 10:28 PM
#3
rkarta avatar

rkarta

New Zenner

Join Date:
Jul 2008
Posts:
11
Plugin Contributions:
0

Re: Payment option description

Yes, the latest version.

27 Sep 2008, 8:10 AM
#4
fairestcape avatar

fairestcape

Totally Zenned

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

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?

28 Sep 2008, 1:44 PM
#5
rkarta avatar

rkarta

New Zenner

Join Date:
Jul 2008
Posts:
11
Plugin Contributions:
0

Re: Payment option description

I almost got it, just one problem:

i found this in tpl_checkout_payment_default:

<label for="pmt-<?php echo $selection[$i]['id']; ?>" class="radioButtonLabel"><?php echo $selection[$i]['module']; ?></label>

and added this below:

<?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.

echo MODULE_PAYMENT_CC_TEXT_DESCRIPTION

any suggestions?