Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Password protection


SPaMx182

Recommended Posts

Posted

I need to make it so my whole store is password protected. I need to do the following

 

Make it so users must be registered and activated before they can see anything in my store, or any of the links (except the home page)

Make it so new users must enter a valid referral number to join

Make it so new users must be activated by me before being fully activated

 

If anyone can help me out with this, id really appreciate it :)

 

thanks

Posted

If You look at chekout_shipping.php You will find

if (!tep_session_is_registered('customer_id')) {

tep_redirect(tep_href_link(FILENAME_SHOPPING_CART));

}

 

apply this code to all except login.php

 

 

Satish

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Archived

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

×
×
  • Create New...