Email to site owner on cancellation of order

  • Posts: 61
  • Thank you received: 1
9 years 5 months ago #204855

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.4

Hi, if a customer gets to the checkout and then decides to cancel their order the status changes to cancel, but no email is received by the site/shop owner alerting them to the cancellation. I have looked but cannot see how to make that happen.

Please can you advise.

Thanks.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 5 months ago #204876

Hello,
You should check that the "Order cancel" and "Order status notification" emails are published via "Hikashop->System->Emails".

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

  • Posts: 61
  • Thank you received: 1
9 years 5 months ago #205087

Thanks Mohamed for your help. I have checked and yes, both of those two emails are published. What else could be causing this to not work?

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
9 years 5 months ago #205146

When you edit the "order cancel" email, are the settings correct ?
Is the "to" email address correct ? etc.
If all the other emails are sent and not this one, there must be a problem with it in particular.

The following user(s) said Thank You: miwhel

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

  • Posts: 61
  • Thank you received: 1
9 years 5 months ago #205222

Peculiarly when I edit the Order Cancel email, the HTML panel contains just the following code which seems to be truncated. Is that correct?

<?php
/**
 * @package	HikaShop for Joomla!
 * @version	2.4.0
 * @author	hikashop.com
 * @copyright	(C) 2010-2015 HIKARI SOFTWARE. All rights reserved.
 * @license	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or die('Restricted access');
?><?php
$url = HIKASHOP_LIVE.'administrator/index.php?option=com_hikashop&ctrl=order&task=edit&order_id='.$data->order_id;
echo JText::_('ORDER_CANCEL_BY_USER');?>
<br/><br/>
<?php echo JText::sprintf('NOTIFICATION_OF_ORDER_ON_WEBSITE', $data->order_number, HIKASHOP_LIVE);?><br/>
<?php echo JText::sprintf('ACCESS_TO_THE_ORDER',$url);?>
<br/>
<?php echo JText::_('MAKE_A_REFUND_IF_POSSIBLE'); ?>

Please would you be able PM me the full code which should go into this email?

Last edit: 9 years 5 months ago by miwhel.

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
9 years 5 months ago #205225

Hi,

The code is not truncated. It's just a small notification email to the admin.

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

  • Posts: 61
  • Thank you received: 1
9 years 5 months ago #205274

OK thanks Nicolas. I have checked the email address the email is being sent to and that is correct, so I am not sure why they did not receive a cancellation email recently when someone cancelled their order and didn't proceed through to payment.

What else could it be?

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

  • Posts: 586
  • Thank you received: 23
  • Hikaserial Subscription Hikashop Multisite
9 years 4 months ago #206736

Same problem here!
Why does the admin don't receive an e-mail after a order is cancelled?


Kind regards,
Lumiga
Last edit: 9 years 4 months ago by Lumiga.

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

  • Posts: 2143
  • Thank you received: 747
9 years 4 months ago #206753

<Deleted>
Sorry, misunderstanding.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 9 years 4 months ago by lousyfool.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 4 months ago #206764

Hello,
Reading that thread will probably help you :

HikaShop uses the standard joomla email sending functions. If you have a problem only on that email, it means that the problem is the content of the email.
Fist, you should check your different settings in the hikashop configuration under the tab mail. The encoding might not be correct for your email server, it could the ad name option , etc.
What you could try also is to send an email via the interface in sales when changing an order information. Does that work ? If yes, then, the problem is really the content of the order creation notification.
It could also be that your hosting company doesn't allow you to send more than one email per thread and at the end of the checkout, two emails are sent (1 to the customer and 1 to the vendor). So you might want to check on that with your hosting company.

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

Time to create page: 0.108 seconds
Powered by Kunena Forum