I was approached by a new client who uses osCommerce both as a shop and as a sort of “community”. What this client wanted was a way to show who had bought each product…
Step 1, was to add the ability for clients to add an “avatar” as part of the create_account process.
Step 2, was to code up a module to show on each product page, showing each person (who bought the item) avatar.
Easy as 123 to get something quite basic up and running.
Step 3, is to code up a way for the customer to change/delete their avatar. The best place for this is in the account_edit.php page – but this is something for the future as the client is quite happy with the code as is (at the moment).