- Posts: 24
- Thank you received: 1
SOLVED - "Cancel Order" email to admin
14 years 2 days ago - 14 years 18 hours ago #73500
by nik.mess
SOLVED - "Cancel Order" email to admin was created by nik.mess
I seem to be missing something.
I'm trying to let a customer cancel his orders from his account page - the task seems to get through to the database (i.e. the order status is "cancelled" in the backend), but I don't get an email notification.
What I did so far:
- Setting "Cancellable orders statuses" to "created,confirmed"
- Activating the "Order cancel"
- even tried to replace all email content with "order cancelled" only
My understanding is that an notification email should be sent to the admin address specified in the configuration as soon as the customer clicks on the "Cancel order" button.
I'm trying to let a customer cancel his orders from his account page - the task seems to get through to the database (i.e. the order status is "cancelled" in the backend), but I don't get an email notification.
What I did so far:
- Setting "Cancellable orders statuses" to "created,confirmed"
- Activating the "Order cancel"
- even tried to replace all email content with "order cancelled" only
My understanding is that an notification email should be sent to the admin address specified in the configuration as soon as the customer clicks on the "Cancel order" button.
Last edit: 14 years 18 hours ago by nik.mess. Reason: titl edit: solved
Please Log in or Create an account to join the conversation.
14 years 1 day ago #73689
by nicolas
Replied by nicolas on topic Re: "Cancel Order" email to admin
Hi,
I checked and it works but only for one of the type of buttons (CSS or normal) that you're using.
Add the line:
<input type="hidden" name="email" value="1" />
after the line:
<input type="hidden" name="task" value="cancel_order" />
in the file 'listing' of the view "order" of your frontend via the menu Display->Views and that will make it send the notification email.
I checked and it works but only for one of the type of buttons (CSS or normal) that you're using.
Add the line:
<input type="hidden" name="email" value="1" />
after the line:
<input type="hidden" name="task" value="cancel_order" />
in the file 'listing' of the view "order" of your frontend via the menu Display->Views and that will make it send the notification email.
Please Log in or Create an account to join the conversation.
14 years 1 day ago #73712
by nik.mess
Replied by nik.mess on topic Re: "Cancel Order" email to admin
Great, got it working that way. Thank you very much!
However, I had to adjust the mail template to actually send the mail, HikaShop doesn't seem to be capable of doing so. (If it should do so, I probably didn't specify the right email address. Should it send to the Order creation notifications email address specified in the configuration?)
Also, there's a typo in the original template ("sprint" instead of "sprintf") resulting in an error.
However, I had to adjust the mail template to actually send the mail, HikaShop doesn't seem to be capable of doing so. (If it should do so, I probably didn't specify the right email address. Should it send to the Order creation notifications email address specified in the configuration?)
Also, there's a typo in the original template ("sprint" instead of "sprintf") resulting in an error.
Please Log in or Create an account to join the conversation.
14 years 1 day ago #73815
by nicolas
Replied by nicolas on topic Re: "Cancel Order" email to admin
By default, it send them to the "from" email address configured in the configuration.
Thanks for the feedback on the sprintf. It's now fixed on our end for HikaShop 2.0
Thanks for the feedback on the sprintf. It's now fixed on our end for HikaShop 2.0
Please Log in or Create an account to join the conversation.
14 years 18 hours ago #73859
by nik.mess
Replied by nik.mess on topic Re: "Cancel Order" email to admin
Oh, I see. Haha, in that case I just spammed my boss with 20 order cancel mails 
Thank you for your help!
Thank you for your help!
Please Log in or Create an account to join the conversation.
Time to create page: 0.150 seconds