diff --git a/app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml b/app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml index cf3f1aa8fb6..e4643fcd426 100644 --- a/app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml +++ b/app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml @@ -32,38 +32,40 @@ */ /** @var $this Mage_Checkout_Block_Onepage_Login */ ?> +helper('customer')->isRegistrationAllowed() ?> +getQuote()->isAllowedGuestCheckout() ?> getChildHtml('login_before') ?> -
+

- getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?> + __('Checkout as a Guest or Register') ?> - getQuote()->isAllowedGuestCheckout() && !$this->helper('customer')->isRegistrationAllowed() ): ?> + __('Checkout as a Guest') ?> __('Register to Create an Account') ?>

- getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?> +

__('Register and save time!') ?>
__('Register with us for future convenience:') ?>

  • __('Fast and easy check out') ?>
  • __('Easy access to your order history and status') ?>
- getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?> +

__('Register with us for future convenience:') ?>

- getQuote()->isAllowedGuestCheckout() ): ?> +
    - getQuote()->isAllowedGuestCheckout() ): ?> +
  • getQuote()->getCheckoutMethod()!=Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER): ?> checked="checked" class="radio" />
  • - helper('customer')->isRegistrationAllowed() ): ?> +
  • - getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked" class="radio" /> + getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$isAllowedGuestCheckout): ?> checked="checked" class="radio" />
  • @@ -73,7 +75,7 @@

     

    - getQuote()->isAllowedGuestCheckout()): ?> + helper('checkout')->isCustomerMustBeLogged()): ?> diff --git a/app/design/frontend/rwd/default/template/persistent/customer/form/login.phtml b/app/design/frontend/rwd/default/template/persistent/customer/form/login.phtml index 3843975989f..e028cb8da5a 100644 --- a/app/design/frontend/rwd/default/template/persistent/customer/form/login.phtml +++ b/app/design/frontend/rwd/default/template/persistent/customer/form/login.phtml @@ -32,9 +32,10 @@ */ /** @var $this Mage_Customer_Block_Form_Login */ ?> -