Require Login Before Placing Items in the Cart?
Require Login Before Placing Items in the Cart?
I would like to require our users to have to login/register before placing any items in their cart and we were told that this could be done by editing the web.config in the checkout folder. Can we have the exact steps to achieve this?
- Logan Rhodehamel
- Developer
- Posts: 4116
- Joined: Wed Dec 10, 2003 5:26 pm
Go to the file Checkout/web.config and open it. By default it should look like this:
Update it to this:
This will require users to be logged in at checkout. This file has the potential to be overwritten by upgrades.
Code: Select all
<configuration>
<location>
<system>
<authorization>
<deny>
</authorization>
</system>
</location>
</configuration>
Code: Select all
<configuration>
<system>
<authorization>
<deny>
</authorization>
</system>
</configuration>
Cheers,
Logan
.com
If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.
Logan

If I do not respond to an unsolicited private message, it's not because I'm ignoring you. It's because the answer to your question is valuable to others. Try the new topic button.