Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Skipping Login Page


TheCasBass

Recommended Posts

Posted

I have a client who wants there to be no option to login....when they click on checkout, it needs to go directly to the checkout process. Any help would be greatly appreciated.

 

David

Posted

Look for

 

if (!tep_session_is_registered('customer_id')) {

$navigation->set_snapshot(array('mode' => 'SSL', 'page' => FILENAME_CHECKOUT_PAYMENT));

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

}

 

 

and

 

if (isset($cart->cartID) && tep_session_is_registered('cartID')) {

if ($cart->cartID != $cartID) {

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

}

}

 

in all the pages and remove them

 

then go there the site looking for link that will take you to the login page and remvove those links

 

I'm sure you can find them.

 

I cant do that becasuse I cant remove the Authentication on my store

 

Good luck

 

 

PS.

 

dont forget to BACKUP

at the end of the day the code will be good

Archived

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

×
×
  • Create New...