Page 1 of 1

Putting a link to check out step 5

Posted: Thu May 31, 2012 6:11 am
by kk_29
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

Re: Putting a link to check out step 5

Posted: Thu May 31, 2012 9:36 am
by dirtboy
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.

Re: Putting a link to check out step 5

Posted: Thu May 31, 2012 6:58 pm
by kk_29
Worked like charm.Thanks