- Posts: 140
- Thank you received: 0
email sent when cancelled
- zipadyduda
-
Topic Author
- Offline
Less
More
10 years 4 months ago #242058
by zipadyduda
email sent when cancelled was created by zipadyduda
-- url of the page with the problem -- : ce4rt.com
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5.35
-- Browser(s) name and version -- : na
-- Error-message(debug-mod must be tuned on) -- : No error
Sorry if this has been asked before, I searched but couldn't find an answer.
If my customer cancels an order, they receive an email that says.
"The status of your order has been changed to cancelled"
This causes confusion if they cancel an order then immediately create and complete an order after that.
This seems to be a function of the "Order status notification" plugin. I see an "order cancel" email plugin also, but not one for order complete.
Ideally, they would be sent an order cancelled or order created email if they cancelled or created an order but only if they did not also make a purchase within a half hour or so.
If that's not possible, I would like to send an email only if they complete an order.
Thanks.
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5.35
-- Browser(s) name and version -- : na
-- Error-message(debug-mod must be tuned on) -- : No error
Sorry if this has been asked before, I searched but couldn't find an answer.
If my customer cancels an order, they receive an email that says.
"The status of your order has been changed to cancelled"
This causes confusion if they cancel an order then immediately create and complete an order after that.
This seems to be a function of the "Order status notification" plugin. I see an "order cancel" email plugin also, but not one for order complete.
Ideally, they would be sent an order cancelled or order created email if they cancelled or created an order but only if they did not also make a purchase within a half hour or so.
If that's not possible, I would like to send an email only if they complete an order.
Thanks.
Please Log in or Create an account to join the conversation.
10 years 4 months ago #242081
by nicolas
Replied by nicolas on topic email sent when cancelled
Hi,
If you're talking about the "cancel" button of the orders listing, then yes there is an email sent.
If you don't want that, you would have to edit the file components/com_hikashop/controllers/order.php add add such line:
$newOrder->history->history_notified = 0;
before the line:
$orderClass->save($newOrder);
You can't add complex conditions like "only if they did not also make a purchase within a half hour or so." unless you add some more complex custom coding.
How does your customer cancels an order ?If my customer cancels an order...
If you're talking about the "cancel" button of the orders listing, then yes there is an email sent.
If you don't want that, you would have to edit the file components/com_hikashop/controllers/order.php add add such line:
$newOrder->history->history_notified = 0;
before the line:
$orderClass->save($newOrder);
You can't add complex conditions like "only if they did not also make a purchase within a half hour or so." unless you add some more complex custom coding.
Please Log in or Create an account to join the conversation.
Time to create page: 0.140 seconds