Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
// Send the e-mail confirmation messages
$this->email_receipt($order_id);
function email_receipt($order_id) {
....
/////////////////////////////////////
// Send text email
//
if (ORDER_MAIL_HTML == '0') {
$msg = $shopper_header . $shopper_message . $shopper_footer;
// Mail receipt to the shopper
vmMail( $from_email, $mosConfig_fromname, $shopper_email, $shopper_subject, $msg, "" );
$msg = $vendor_header . $shopper_message . $vendor_footer;
// Mail receipt to the vendor
vmMail($from_email, $mosConfig_fromname, $vendor_email, $vendor_subject, $msg, "" );
}
////////////////////////////
// set up the HTML email
//
elseif (ORDER_MAIL_HTML == '1') {
....
$shopper_mail = vmMail( $from_email, $mosConfig_fromname, $shopper_email, $shopper_subject, $shopper_mail_Body, $shopper_mail_AltBody, true, null, null, $EmbeddedImages);
$vendor_mail = vmMail( $shopper_email, $shopper_name, $vendor_email, $vendor_subject, $vendor_mail_Body, $vendor_mail_AltBody, true, null, null, $EmbeddedImages);
administrator\components\com_virtuemart\classes\ps_checkout.php
Код:function email_receipt($order_id) { .... ///////////////////////////////////// // Send text email // if (ORDER_MAIL_HTML == '0') { $msg = $shopper_header . $shopper_message . $shopper_footer; // Mail receipt to the shopper vmMail( $from_email, $mosConfig_fromname, $shopper_email, $shopper_subject, $msg, "" ); $msg = $vendor_header . $shopper_message . $vendor_footer; // Mail receipt to the vendor vmMail($from_email, $mosConfig_fromname, $vendor_email, $vendor_subject, $msg, "" ); } //////////////////////////// // set up the HTML email // elseif (ORDER_MAIL_HTML == '1') { .... $shopper_mail = vmMail( $from_email, $mosConfig_fromname, $shopper_email, $shopper_subject, $shopper_mail_Body, $shopper_mail_AltBody, true, null, null, $EmbeddedImages); $vendor_mail = vmMail( $shopper_email, $shopper_name, $vendor_email, $vendor_subject, $vendor_mail_Body, $vendor_mail_AltBody, true, null, null, $EmbeddedImages);
по коду видно, что нет таких установок
можно закоментить не нужные вызовы функцый
// Mail receipt to the shopper
vmMail( .....
вот так:
// Mail receipt to the shopper
// vmMail( .....
тода письмо полочит только поставщик
Все, понял, тупанул мальца)))А в каком файле это раскоментить нужно???