Post by Fresher » Mon Mar 24, 2008 9:16 pm

Hi. can somebody tell my how to remove this button from checkout confirm? thanks.
http://img246.imageshack.us/img246/4107/82169057gz0.jpg[/img]

marked red :)

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm

Post by bruce » Tue Mar 25, 2008 1:48 pm

I am guessing (english speaker  :) ) that you do not want payment addresses to show. The "button" is the change link for payment address. You will need to add some code into catalog\controller\checkout_confirm.tpl to not show the button if there is no payment address as for shipping address. The relevant extract is shown from checkout_confirm.tpl

Code: Select all

        <td><?php if ($shipping_address) { ?>
          <b><?php echo $text_shipping_address; ?></b><br />
          <?php echo $shipping_address; ?><br />
          <a href="<?php echo $checkout_shipping_address; ?>"><?php echo $text_change; ?></a>
          <?php } ?></td>
        <td><b><?php echo $text_payment_address; ?></b><br />
          <?php echo $payment_address; ?><br />
          <a href="<?php echo $checkout_payment_address; ?>"><?php echo $text_change; ?></a></td>

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Fresher » Tue Mar 25, 2008 7:57 pm

i have changed the checkout_confirm.tpl in catalog/template/default/content/ but there is no effect.. the button is still shown... ;/
Last edited by Fresher on Thu Mar 27, 2008 12:34 am, edited 1 time in total.

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm

Post by bruce » Sun Mar 30, 2008 2:24 pm

changed it to what?

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by Fresher » Mon Mar 31, 2008 2:39 am

deleted the lines about payment addresses... and i have done everything what you said but there is no effect...

New member

Posts

Joined
Thu Mar 13, 2008 5:40 pm
Who is online

Users browsing this forum: No registered users and 3 guests