Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Multiple Emails to Manufacturers / Suppliers on Purchase


gareth456

Recommended Posts

I would like to set up OSCommerce to automatically email different manufactures or suppliers of my products letting them have details of each purchace (who supply directly to customer) upon an item or items being purchased. Buyers might buy items which are supplied by multiple manufacturers, so more than one email may need to be sent each time with different details in each (depending on the items bought and the suppliers who they come from).

 

Complicated eh!! Any ideas on where I start? All ideas gladly received.

 

Gareth

Link to comment
Share on other sites

This is something that I have though about as well.

 

You could start with a couple of tables. 1 table with

 

Distributor_id, distributor_name, distributor_email

 

And one table with

 

product_id, distributor_id

 

Once you have that set up, you could just find where it send the email out each time an order is placed, and query those talbes to determine who to send extra emails to.

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Link to comment
Share on other sites

I would like to set up OSCommerce to automatically email different manufactures or suppliers of my products letting them have details of each purchace (who supply directly to customer) upon an item or items being purchased.  Buyers might buy items which are supplied by multiple manufacturers, so more than one email may need to be sent each time with different details in each (depending on the items bought and the suppliers who they come from).

 

Complicated eh!!  Any ideas on where I start?  All ideas gladly received.

 

Gareth

 

Gareth-

 

My contribution does something very similar to this, where the top category name determines the "store" that it was bought from, and each store owner gets details of purchases from their store. It would take very little modification to change it from store ID controlled to manufacturer ID controlled.

 

http://www.oscommerce.com/community/contri...ions,577/page,4

 

Aodhan

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...