We need some modifications to Magento 184.108.40.206:
1. When a customer account is created, username and encrypted password need to be added to a MySQL table.
2. When product(s) are purchased, item(s) SKU needs to be added to a MySQL table.
Stand alone code:
3. PHP code to encrypt a password string so comparison of encrypted password stored in table can be made.
Possible table structures:
User MySQL table:
USERID – auto-increment
Product MySQL table:
PURCHASEID – auto-increment
Should be quick project for someone familiar with Magento code.