Send customer Order Quick.Cart V5.0

CH

Avatar: CH

2012-03-20 20:15

Not able to receive customer order to Admin Email.
Client is not receiving order email either.
Just installed Quick.Cart V5 (free version).

Looking at post regarding this issue in forum only gives me solutions for older version .

Any suggestions?

» Quick.Cart v5.x

CH

boppo

Avatar: boppo

2012-03-20 21:42

what server you have on it ? is there mail() function ?

CH

Avatar: CH

2012-03-21 08:15

Linux and there is a mail function
On the same server we have QuickCart V4.0 that does send order email erfectly. BUt not QC V5.0

treewood (OpenSolution)

Avatar: treewood

2012-03-21 09:22

ch - hmmm very strange because there was not many changes of mail function. edit core/common.php and change:
if( @mail( $sTargetEmail, $sTopic, $sMailContent, $sHeader ) ){
to
if( mail( $sTargetEmail, $sTopic, $sMailContent, $sHeader ) ){

and after change
} // end function sendEmail
to
exit;
} // end function sendEmail

Now try to order something and check there are errors

CH

Avatar: CH

2012-03-21 13:14

Thanks for the tip...
I have tried it three times. But after clicking "Send Order" the page goes blanck, and still there are no order email sent. We have updated two QC 4.0 to 5.0 and both have the same problem (diferrent domains)

treewood (OpenSolution)

Avatar: treewood

2012-03-21 22:41

And there is no errors?
If yes then try to change this (in core/common.php):
$sHeader = 'MIME-Version: 1.0'."\r\n".'Content-type: text/plain; charset=UTF-8'."\r\n".'From: '.$sSender;
$sTopic = '=?UTF-8?B?'.base64_encode( $sTopic ).'?=';
to this:
$sHeader = 'From: '.$sSender;

CH

Avatar: CH

2012-03-23 17:55

thanks Treewood. With this last line of new code, now the Admin email does receive the order email.
But...
- The client does not receive the order email.
- After clicking "send order", the page goes white/blank (meaning the "Thank you, your order has been sent page does not appear).

If I go back one page with the browser, the page that appears is "Basket is Empty".

CH

treewood (OpenSolution)

Avatar: treewood

2012-03-23 18:31

yes of course because you have added exit; to check errors.

change:
exit;
} // end function sendEmail

to
} // end function sendEmail

And customer should recieve an email and you see "thank you ..."

CH

Avatar: CH

2012-03-26 13:06

Yes!!!

Now I will head on to the 2nd domain with the same problem and fix this there as well.

Thanks!!

CH

ember

Avatar: ember

2016-11-26 16:06

Hello,

I dont know how to set up sending emails with order details...I using Quick.cart v6.7

Any suggestions?

Back to top
about us | contact