Is there anyway possible that after client makes order from ecommerce he or she receives email also the storeadmin will recive it.
Yes this is the default behaviour as long as you have your admin email setup in /mysite/_config.php.
That means the custom will get an email, and so will the address set in the above line.
Its already done so but why they dont come my inbox when someone order something??
Could be a number of things. Have you tried a different email address?
The code that does the emailing can be found in /ecommerce/code/Order.php in
protected function sendEmail($emailClass, $copyToAdmin = true)
I have to admit, I did find in ecommerce module I customized, I was having trouble not recieving emails. It was because for some reason the Email class was resetting the "to" field to blank.
I had to fix that in the above function by using;
To manually set these before $e->send(); I thought this was because of the way I had customized the ecommerce system, but it may be a bug. What version of SS are you using?