Totally Zenned
- Join Date:
- May 2006
- Location:
- Gardiner, Maine
- Posts:
- 2,383
- Plugin Contributions:
- 7
How to change customer information/status after product order?
I'm listed this as customer information because it's really just the outline I need. Actually, I'm wanting to change the permission status from the Category Specific Access Restriction plugin.
This will make the site a members site where they have to pay to get access. There's only one product - the subscription fee and once they pay the permission status would change automatically.
I'm thinking this could be done at the checkout success stage and would only take a couple of lines of an sql query.
On an additional note, that change would not normally be inserted into the session so that the customer would have to log out and log back in so adding to the existing session would also be of help.
If there is a better place to do this in the checkout process, let me know. If you happen to have some code, better still.
Thanks in advance.
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo