Purchase virtual goods, the system will automatically send mail after payment to the user fill in the email address, tracking process as follows
First in the order list you can get the PHP file to process the order as flow.php, and then in the last step the URL address is displayed as
Http://localhost/ecshop-xuni/flow.php?step=done
Find $_request[' step ' from the flow.php file = = ' Done ' in which about 1733 lines have
/* Virtual Card Shipping */
if (Virtual_goods_ship ($virtual _goods, $msg, er [' Order_sn '], true))
This function virtual_goods_ship ($virtual _goods, $msg, er [' Order_sn '], true) is the processing of a virtual goods shipment, traced to this function
There is a (1024 row) in the second foreach Loop
if (virtual_card_shipping ($goods, er _sn, $msg, $process))
Virtual_card_shipping ($goods, er _sn, $msg, $process) This function tracks the Send_mail () function that sends the message about 1153 lines later
Virtual_goods_ship ()
Virtual_card_shipping ()
These two functions are all in lib_common.php.
Ecshop Development Log of virtual goods to send mail notification