Automatic order cancellation email

  • Posts: 22
  • Thank you received: 0
8 years 4 months ago #222852

-- HikaShop version -- : 2.6.0

Hi there,

Is it possible to stop the system sending out cancellation emails when an order is automatically cancelled through non payment?

I would like to keep the order status emails when we change things manually, but as a lot of customers won't even know an order number was generated when they cancel their payment, to have a "order cancelled" email come through 15 minutes later is very confusing.

Thanks, Oli

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

  • Posts: 81540
  • Thank you received: 13069
  • MODERATOR
8 years 4 months ago #222855

Hi,

There is no email sent to the customer when he cancels his order by default HikaShop.

Are you talking about the email sent when the HikaShop Orders Automatic Cancel plugin cancels automatically the orders after a certain period of time ? If so, edit its settings via the Joomla plugins manager and make sure that the "Notify customers" setting is turned off.

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

  • Posts: 22
  • Thank you received: 0
8 years 4 months ago #222913

Hi Nicolas,

Yes i was referring to the automatically cancelled orders, notify customers in the plugin is set to off, but emails are still sent out when orders are cancelled by the system after cron is triggered

Thanks, Oli

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

  • Posts: 81540
  • Thank you received: 13069
  • MODERATOR
8 years 4 months ago #222933

Hi,

Can you try changing the code:

if($notify){
					$update->history = new stdClass();
					$update->history->history_notified = 1;
				}
to:
if(!$notify){
					$update->history = new stdClass();
					$update->history->history_notified = 0;
				}
in the file plugins/hikashop/order_auto_cancel/order_auto_cancel.php and see if that helps ?

The following user(s) said Thank You: trevsmiff

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

  • Posts: 22
  • Thank you received: 0
8 years 4 months ago #223134

Hi Nicolas,

Worked perfectly, thanks.

Oli

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

Time to create page: 0.054 seconds
Powered by Kunena Forum