Post by kk_29 » Thu May 31, 2012 6:11 am

Hi.I want to put a link under the "Please select the preferred payment method to use on this order." phrase at checkout step 5.The link have to open in a new tab or page.Also if i can put a banner with a link it would be better.How can i manage this?ı use version 1.5.1.3

Newbie

Posts

Joined
Sat May 26, 2012 8:36 am

Post by dirtboy » Thu May 31, 2012 9:36 am

to add a link where you want it. find this file catalog > language > your language > checkout.php

find this code

Code: Select all

$_['text_payment_method']            = 'Please select the preferred payment method to use on this order.';


make it look like this. this will add the link next to the text "Please select the preferred payment method to use on this order"

Code: Select all

$_['text_payment_method']            = 'Please select the preferred payment method to use on this order. <a href="YOUR URL" target="_blank">YOUR LINK TEXT</a>';
to add it to the bottom of that sections find this file catalog > view > theme > YOUR THEME > template > checkout > checkout.tpl

find this line of code near line 35

Code: Select all

<div id="payment-method">
      <div class="checkout-heading"><?php echo $text_checkout_payment_method; ?></div>
      <div class="checkout-content"></div>
    </div>
and make it look like this

Code: Select all

<div id="payment-method">
      <div class="checkout-heading"><?php echo $text_checkout_payment_method; ?></div>
      <div class="checkout-content"></div>
      <a href="YOUR URL" target="_blank">YOUR LINK TEXT</a>
    </div>
just fill in your link information and you should be good to go.

“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.”
- Henry Ford


User avatar
Active Member

Posts

Joined
Wed Mar 07, 2012 3:04 pm

Post by kk_29 » Thu May 31, 2012 6:58 pm

Worked like charm.Thanks

Newbie

Posts

Joined
Sat May 26, 2012 8:36 am
Who is online

Users browsing this forum: No registered users and 24 guests