Skip to content

Commit

Permalink
ACORN-652 fix of text for address buttons.
Browse files Browse the repository at this point in the history
Now use text from xml fast_checkout_text_shipping_address
 & fast_checkout_text_payment_address
  • Loading branch information
abolabo committed Feb 22, 2022
1 parent f6b0336 commit 7c7e54d
Showing 1 changed file with 9 additions and 5 deletions.
Expand Up @@ -327,20 +327,24 @@
<a href="#address" id="new_address" role="tab" data-toggle="tab" <a href="#address" id="new_address" role="tab" data-toggle="tab"
class="big btn <?php echo $pay_button_style; ?>"> class="big btn <?php echo $pay_button_style; ?>">
<i class="fa fa-map fa-fw"></i>&nbsp; <i class="fa fa-map fa-fw"></i>&nbsp;
<span class="hidden-xxs"><?php echo $type.' '.$fast_checkout_text_address; ?></span> <span class="hidden-xxs">
<?php echo ${'fast_checkout_text_'.$type.'_address'}; ?>
</span>
</a> </a>
<?php } <?php }
if ($step == 'payment' && $this->config->get('config_guest_checkout')) { ?> if ($step == 'payment' && $this->config->get('config_guest_checkout')) { ?>
<a href="#new" id="new_user" role="tab" data-toggle="tab" <a href="#new" id="new_user" role="tab" data-toggle="tab"
class="big btn <?php echo $pay_button_style; ?>"> class="big btn <?php echo $pay_button_style; ?>">
<i class="fa fa-user-plus fa-fw"></i>&nbsp;<span <i class="fa fa-user-plus fa-fw"></i>&nbsp;
class="hidden-xxs"><?php echo $fast_checkout_text_new_customer; ?></span> <span class="hidden-xxs">
<?php echo $fast_checkout_text_new_customer; ?>
</span>
</a> </a>
<?php } ?> <?php } ?>
<a href="#user" id="login_user" role="tab" data-toggle="tab" <a href="#user" id="login_user" role="tab" data-toggle="tab"
class="big btn <?php echo $login_button_style; ?>"> class="big btn <?php echo $login_button_style; ?>">
<i class="fa fa-user fa-fw"></i>&nbsp;<span <i class="fa fa-user fa-fw"></i>&nbsp;
class="hidden-xxs"><?php echo $fast_checkout_text_login; ?></span> <span class="hidden-xxs"><?php echo $fast_checkout_text_login; ?></span>
</a> </a>
</div> </div>
<?php } ?> <?php } ?>
Expand Down

0 comments on commit 7c7e54d

Please sign in to comment.