Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

Login on Checkout Page


Go to End


2026 Views

Avatar
pianomansam

Community Member, 9 Posts

4 November 2008 at 10:35am

Edited: 04/11/2008 10:42am

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 %>