millygirl Posted July 31, 2006 Share Posted July 31, 2006 I would like to know if Oscommerce can be setup so that once a customer buys something can they receive an autoresponded email which would include a website link along with the username and password? I don't sell downloadable products but rather tutorials. is this possible? Link to comment Share on other sites More sharing options...
Gil_e_n Posted July 31, 2006 Share Posted July 31, 2006 A static website link along with a static username and password would be relatively easy to code into the automatic order receipt, but also somewhat insecure, and it wouldn't be possible to sell different tutorials. Linking a website link to a product in the email would probably be more difficult, but still doable. Generating a userid and a random password would be still more difficult, but also doable. Look here in checkout process for some of the code used in generating the customer emails: $customer_notification = (SEND_EMAILS == 'true') ? '1' : '0'; $sql_data_array = array('orders_id' => $insert_id, 'orders_status_id' => $order->info['order_status'], 'date_added' => 'now()', 'customer_notified' => $customer_notification, 'comments' => $order->info['comments']); tep_db_perform(TABLE_ORDERS_STATUS_HISTORY, $sql_data_array); Continue scrolling down for more email code. You will be adding whatever code you need somewhere in here. Always BACK UP your files and your database before making any changes. Before asking questions, check out the Knowledge Base. Check out the contributions to see if your problem's solved there. Search the forums. Useful threads: Store Speed Optimization How to make a horrible shop Basics for design change How to search the forums Useful contributions: Easypopulate Fast, Easy Checkout Header Tag Controller Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.