View Full Version : Guest Account v 2.0

06-10-2008, 01:23 AM
This small change makes it so that your customers are never asked to choose between creating an account or not, and assumes your visitors want to use Guest Account.

The download is empty.

After installing the Guest Account mod, change line 20 in 'checkout_shipping.php' from this:

tep_redirect(tep_href_link(FILENAME_LOGIN, 'origin=' . FILENAME_CHECKOUT_SHIPPING, 'SSL'));

to this:

//Assumes visitor wants to use guest account
tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT , 'guest_account=true', 'SSL'));

Along with hiding any of the 'member login' or 'account' links, this effectively disables the entire osCommerce account system, which takes away customers' burden of having to fill in a password for no reason and makes your site more straightforward.

More... (http://addons.oscommerce.com/info/1511)