Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how do you temporary remove customer login and new account?


lionosc

Recommended Posts

hello all i am very new to osc. i want 2 know how can i remove the customer login and create new account on OSC. i dont want a customer database and i dont want customers to have to login everytime they purchase from my site.

 

even if i coul djust remove the text from the top that says account partners where do you edit this?

Link to comment
Share on other sites

The link at the top is in the /includes/header.php.

 

You will also have to take note on the pages that you go though during the checkout. I will give an example with the checkout_shipping.php. At the top of the file there is a redirect that sends people to the login.php if there not logged in. All you have to do is comment it out.

Change:

// 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'));

}

To:

// 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'));

// }

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...