Salvo Posted July 19, 2005 Share Posted July 19, 2005 HI all I am thinking to have a Shopping Cart that works in this way. A customer place an order to buy a product. The order "with all the details of the order" is sent to the shopping cart owner as well as the "producer" of the product that takes up the order and deals with it. Something like ebay.. Is it possible? is there a contribution that does this? Thank in advance Salvo Link to comment Share on other sites More sharing options...
moonstone Posted July 21, 2005 Share Posted July 21, 2005 HI all I am thinking to have a Shopping Cart that works in this way. A customer place an order to buy a product. The order "with all the details of the order" is sent to the shopping cart owner as well as the "producer" of the product that takes up the order and deals with it. Something like ebay.. Is it possible? is there a contribution that does this? Thank in advance Salvo <{POST_SNAPBACK}> A fast and crude way is to add a new line to the "catalog/checkout_process.php" file. Search for the following lines: // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } The existing tep_mail line will send an email to the store owner after processing the order. To have the "producer" also receive the same email, simply add in the line in bold: // send emails to other people if (SEND_EXTRA_ORDER_EMAILS_TO != '') { tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); tep_mail('PRODUCER_NAME', 'PRODUCER_EMAIL_ADDRESS', EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); } Replace PRODUCER_NAME & PRODUCER_EMAIL_ADDRESS with the actual info. Hope this helps... :blush: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.