Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Login on Checkout Page

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1303 Views
  • pianomansam
    Avatar
    Community Member
    9 Posts

    Login on Checkout Page Link to this post

    I added the following code to allow a registered user to login on the checkout page (ecommerce/templates/Layout/CheckOutPage.ss) so all their information is recalled from the database.

    Sam Oltz
    Spearia, Inc.

       <% if CurrentMember %>
       <% else %>
       <div class="typography">
          <h3>Login</h3>
          <p>Already have an account? Login here.</p>
       </div>
          $LoginForm
       <% end_if %>

    1303 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.