Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Hide shopping cart info UNLESS logged in?


lilqhgal

Recommended Posts

I have a store that needs to be configured so that any guest can browse and see items, but NOT see their prices, add them to the shopping cart or checkout process. However, once logged in as a customer, then they have the ability to see prices, add to cart, and procede with checkout. How would I go about configuring this?

Link to comment
Share on other sites

to all the code that should not be executed when not logged in add in front of that:

  if (tep_session_is_registered('customer_id')) {

and behind it:

}

 

that will be on numerous places. good luck with that, don't think you will be done anytime soon.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...