I have a client that sells complex products. The cart needs to send, by email (not make available for download), an information packet upon completion of purchase. Look at http://tinyurl.com/4yr9n2l for the production example (side note - we tried using attributes to do the item variations but were not happy with the complexity from the customerś viewpoint).
This packet will differ depending on the item ordered.
I am designing a modification that would parse $this->products to use the (unused at this client's site) model number field to trigger the sending of the email, on the send_order_email function (...classes/order.php) sot that, for instance, if the field for an item contains "PKT20011201", the function would send an email to the customer with PKT20111201.pdf as an attachment. And use a new table to keep track of what order resulted in what packet(s) have been sent.
Anybody have a better way?


Reply With Quote

