Turn off order created email

  • Posts: 13201
  • Thank you received: 2322
10 years 9 months ago #139594

Hi,

No you will no more receive the confirmed order.
To not have the created but the confirmed it require custom code.

Please Log in or Create an account to join the conversation.

  • Posts: 11
  • Thank you received: 0
10 years 9 months ago #139697

Problem solved, thanks Nicolas!

On the menu System > Emails, I disabled 2 Order administrator notification and the "order created" notifications are not being received in my email ONLY the "order confirmed" after the customer makes the payment.

I wanted to put the result here for other people having the same issue.

Thanks, Victor

Last edit: 10 years 9 months ago by vmatos.

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 0
10 years 4 months ago #160499

We are only using Paypal + HikaMarket. What's been happening is that a User with go through the order process, but then change their mind when it's time to pay via paypal. However, for whatever reason, the order created email is triggered when they confirm the paypal option and NOT after the payment is received. This has lead to confusion from our vendors. Is there a way to send the order created email AFTER a payment has been made via paypal? Please advise. It would help a great deal since it has all the order / shipping details.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 4 months ago #160907

Hi,

The creation of the order is made when leaving HikaShop to the payment solution page. And the email is sent at this time, this is a normal behavior. Actually there is no mail sent when the order is confirmed, only the mail from the payment method is sent.

What can be done is to disable the order_admin_notification, and use the following plugin which allow you to add an email address as recipient of the mail sent to the customer on order status change. (the mail need to be set in the options of the plugin).


File Attachment:

File Name: hd18366e_2...6-19.zip
File Size:2 KB

Attachments:
The following user(s) said Thank You: ourblok

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 0
10 years 4 months ago #160999

I can give it a spin. Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 30
  • Thank you received: 0
10 years 4 months ago #161177

Xavier,

Thanks for your help earlier. With this plugin, how do I BCC the Vendor. I is there a string i can enter that represents the vendors email address?

Thanks!

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
10 years 4 months ago #161594

Hi,

In the plugin you can replace the "addRecipient" by "addBcc" in order to have the email as bcc and not as another standard recipient.

To get the vendor email, you can edit the plugin and use the data inside the $order PHP variable, and you should get the vendor email. It require PHP knowledges.

Please Log in or Create an account to join the conversation.

  • Posts: 1
  • Thank you received: 0
9 years 9 months ago #185670

Hello. I know this is old, but I had to use this and the solution that was posted did not work.

To disable emailing, for me anyway:
/administrator/components/com_hikashop/classes/order.php

Modify within function save() approx line 316 FROM:
if($new) {
$send_email = $this->sendEmailAfterOrderCreation;
$dispatcher->trigger( 'onAfterOrderCreate', array( & $order,&$send_email) );

modify TO:
if($new) {
$send_email = $this->sendEmailAfterOrderCreation = false;
$dispatcher->trigger( 'onAfterOrderCreate', array( & $order,&$send_email) );

Note: Depending on what other modules and plugins that use hikashop are doing, emails can be dispersed from those as well. In my case, Alpha User Points was also sending an email.

Last edit: 9 years 9 months ago by FluffyMittens.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
9 years 9 months ago #185833

Hi,

Could you try to set:

var $sendEmailAfterOrderCreation = false;
at the top of the file ?

Else, thanks to the business edition you can disable the email just with a click on the disable button. ;)

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 0
9 years 7 months ago #194178

I bought the business edition and only want to enable the admin to receive the confirmation email, not "created" and "confirmation" can you tell me how to do that. Right now I have disabled 2 and 3, and I believe the "confirmation" emails to admin is not being sent out because i disabled the admin notification...

Please Log in or Create an account to join the conversation.

  • Posts: 82725
  • Thank you received: 13338
  • MODERATOR
9 years 7 months ago #194189

Hi,

If you want to disable the emails to the customer, you need to disable the emails "order creation notification" and "order status notification". The "order admin notification" should be left enabled if you want the administrator to receive it.

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 0
9 years 7 months ago #194352

I just want to turn off the "created" email for administrators, but keep the "confirmed" email. So that only orders that went through are sent to the admin.

Maybe setting the "pending status" to "none" instead of created? Should that suppress the Created email?

Last edit: 9 years 7 months ago by wldworks.

Please Log in or Create an account to join the conversation.

  • Posts: 82725
  • Thank you received: 13338
  • MODERATOR
9 years 7 months ago #194422

The "created" email for administrators can be turned off by deactivating the "order admin notification" email there.

For the "confirmed" email, there is actually no "confirmed" email for administrators. What they get is actually a payment notification email which is sent directly by the payment plugins when they receive a payment notification and that they confirm the orders.
If you're not receiving that email any more it could come from a lot of things:
- The payment plugin you're using doesn't send the email (all the payment plugins we offer on our website do, maybe some 3rd party developers might not have implemented that in their payment plugin).
- The payment plugin you're using doesn't receive any payment notification, and thus doesn't change the status of the orders and doesn't send the payment notification to the admin (you can easily see if that's the case by looking at your orders. If they get confirmed automatically, then it's not that).
- The payment notification email address setting of the HikaShop configuration has been emptied. Please make sure that there is an email address in that field.
- Your email client put the payment notification emails in your spam folder and you missed it.

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 0
9 years 7 months ago #194545

Thank you Nicolas.

I am using the stock payment authorize.net plugin with GGe4.

This might be related to the other thread you and me are working on. I will check the spam folder as well.

Should these customer confirmation emails be sent out if I change the status of the order to confirmed manually? (or only when I select notify user and put a notification in there)

Please Log in or Create an account to join the conversation.

  • Posts: 82725
  • Thank you received: 13338
  • MODERATOR
9 years 7 months ago #194558

Hi,

If the orders are not confirmed, it is normal that no payment notification email is sent to the shop owner. It just means that the payment plugin is not receiving payment notifications from the payment gateway.

The customer confirmation email will be sent out when you change the status manually if you activate the "notify customer" checkbox when doing that change.

Please Log in or Create an account to join the conversation.

  • Posts: 31
  • Thank you received: 0
9 years 7 months ago #194709

I see that makes sense.

Then I think the bug is in the items that don't require a payment.

So for example I have a item that is available through purchase via credit card, but if someone uses the 100% off coupon, it wont go to the payment processor, only to finish - which means that the admin doesnt get a confirmation email, since there is no payment.

Does that sound like incorrect behavior or do I still have something not set up correctly

Please Log in or Create an account to join the conversation.

  • Posts: 82725
  • Thank you received: 13338
  • MODERATOR
9 years 7 months ago #194763

Yes, that's indeed normal that the admin is not receiving the payment notification email in that case since there is no payment.
He would be notified if you hadn't disabled the order admin notification which is sent to him when an order is created.

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum