Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disable account registration


satsat

Recommended Posts

Is it possible in the product to not require a potential customer to sign up for an account before making a purchase? I want customers to add to cart, fill out billing/shipping information, pay, and get a confirmation. These are one time customers who are not going to need to sign up for an account that will never be used again.

Link to comment
Share on other sites

Try the contribs and search for "Purchase without account"

 

 

Ksaun posted this a while back to make the checkout quicker and with no need to "log in or create an account".

 

Open up checkout_payment.php and find:

 

CODE

// if the customer is not logged on, redirect them to the login page

 

if (!tep_session_is_registered('customer_id')) {

 

$navigation->set_snapshot();

 

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));

 

}

 

Change it to:

 

CODE

// if the customer is not logged on, redirect them to the login page

 

if (!tep_session_is_registered('customer_id')) {

 

$navigation->set_snapshot();

 

tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'));

 

}

 

Then:

 

In checkout_shipping.php change:

 

CODE

tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));

 

 

To:

 

CODE

tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'));

 

 

and if you want to get rid of the "Account Created Success" window that pops up after they create their account do this:

 

In create_account.php

 

Change

CODE

tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL'));

 

to

 

CODE

tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'));

 

this will remove the thank you message after account creation to speed up checkout. You no longer see create_account_success.php, it goes right to shipping.

 

then there is a contribution that jumping rabbitt wrote that puts a log in box on the create account page, if you want to have that option.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

wendyjames,

the contribution that Ksaun wrote... does that work in conjunction with PWA or is it standalone?

 

Ksaun posted this a while back to make the checkout quicker and with no need to "log in or create an account".

then there is a contribution that jumping rabbitt wrote that puts a log in box on the create account page, if you want to have that option.

My Contribution

Music Download Store Template

http://www.oscommerce.com/community/contributions,4275

Link to comment
Share on other sites

wendyjames,

the contribution that Ksaun wrote... does that work in conjunction with PWA or is it standalone?

 

 

Actually, with what Ksaun wrote you do not need PWA, but it will work together. All the code above does is skip pages.

 

When a customer who is not signed up yet clicks on check out it takes them directly to the create account page. The PWA contribution adds an extra box on the log in page for a customer to choose not to create an account. You just change the wording to say "shipping information" or whatever you want to make it customer friendly.

In one of the steps it removes the "account creation success" page, so they don't really know they are creating an account... or atleast it doesn't seem as pushy. The password fields are still there, although you could use the PWA contribution to get rid of those fields.

 

You can click on the link in my card if you want to see what I mean. I didn't really change much but it would give you an idea of what could be done. =)

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Link to comment
Share on other sites

since i'm selling downloads there won't be a need for a shipping screen...

and since I'm using paypal to handle my transactions i don't really want to duplicate the same screens asking for shipping, etc....

 

but how will this contribution affect my downloads page...?

 

 

Actually, with what Ksaun wrote you do not need PWA, but it will work together. All the code above does is skip pages.

 

When a customer who is not signed up yet clicks on check out it takes them directly to the create account page. The PWA contribution adds an extra box on the log in page for a customer to choose not to create an account. You just change the wording to say "shipping information" or whatever you want to make it customer friendly.

In one of the steps it removes the "account creation success" page, so they don't really know they are creating an account... or atleast it doesn't seem as pushy. The password fields are still there, although you could use the PWA contribution to get rid of those fields.

 

You can click on the link in my card if you want to see what I mean. I didn't really change much but it would give you an idea of what could be done. =)

My Contribution

Music Download Store Template

http://www.oscommerce.com/community/contributions,4275

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...