Take care that i have "Opencart PHP4 version".
Thanks

PoSeiDoN.
Spirit Mind Body UK Directory | iPyramidia Holistic Web Design
Spirit Mind Body UK Directory | iPyramidia Holistic Web Design
Now system send a mail to the customer and another to the mail you want...//-- At the end of the 'send email' function....
if (@$this->bcc) {
$this->headers .= 'Bcc: ' . $this->bcc . "\n";
}
mail("your@address.com", $this->subject, $this->message, $this->headers);
return mail($this->to, $this->subject, $this->message, $this->headers);
}
}
?>
Code: Select all
if ($this->config->get('config_email_send')) {
Code: Select all
$this->mail->setBcc($this->config->get('config_email'));
Well done POSEIDON in finding a solution to your problem...or have you wasn't too sureposeidon wrote: Hi folks!
I have solved my problem...
Insert this line into "mail.php" inside the "inlcude" folder:
Now system send a mail to the customer and another to the mail you want...//-- At the end of the 'send email' function....
if (@$this->bcc) {
$this->headers .= 'Bcc: ' . $this->bcc . "\n";
}
mail("your@address.com", $this->subject, $this->message, $this->headers);
return mail($this->to, $this->subject, $this->message, $this->headers);
}
}
?>
(Nice for a noob or not??? jajajjaja)
Saludos!!!
POSEIDON
Spirit Mind Body UK Directory | iPyramidia Holistic Web Design
Code: Select all
Server Info
This page shows some general information about your OpenCart installation.
PHP Version: 4.3.10-18
DB Version: MySQL 4.1.11-Debian_4sarge4-log
Database Server: localhost
Database Name: opencart
Uptime: 9 days, 8:11
Spirit Mind Body UK Directory | iPyramidia Holistic Web Design
Code: Select all
// if sending mail fails (and they'll think the order failed too)
@$mail->send($customer->email, $language->_('email_subject', $insert_id), $message, $cfg['store_name'], $cfg['email']);
Code: Select all
}
unset($_SESSION['products']);
unset($_SESSION['charges']);
unset($_SESSION['shipping']);
unset($_SESSION['payment']);
unset($_SESSION['total']);
unset($_SESSION['comment']);
header('Location: ' . $url->ssl('checkout_success'));
exit;
?>
Spirit Mind Body UK Directory | iPyramidia Holistic Web Design
If you are referring to the interesting instead of your interest in, that can be fixed in this file:Tokai wrote: Yes this would be extremely useful!
For 5 as well, plus I am trying to find the language file for the invoice as I see there's a grammatical error, and also would like to add address in which to send cheques...I am sure their hiding from me
Users browsing this forum: No registered users and 3 guests