problem withmail sent automatically after checkout

  • Posts: 43
  • Thank you received: 0
8 years 11 months ago #223929

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : chrome Version 47.0.2526.80 m

Hi,

I am using hikashop and sh404sef and since I have update to 2.6.0 I get error link in the email sent automatically after an order
Instead of having the link on the command number instead of having a non-sef url I get a sef one which give a 404
when the email is sent via backend of hikashop so manually the link is a non sef url and is working

So my questions are : why when the email is sent automaticcaly the links in the email are SEF url and when the email is sent manually via the backend the link are non-SEF ?

what can I do to always have non-sef URL in automatic email ?

Thanks

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

  • Posts: 82908
  • Thank you received: 13378
  • MODERATOR
8 years 11 months ago #224018

Hi,

The links are SEFed automatically. But on the backend of the website, Joomla deactivates the SEF system so that's why you get that behavior which is normal.
But the fact that the SEFed link doesn't work is not normal (it should work). But if it doesn't, it can come from a lot of things.

The link to the order is generated with the line:

$order->order_url = hikashop_frontendLink('index.php?option=com_hikashop&ctrl=order&task=show&cid[]='.$order->order_id.$url);
in the file administrator/components/com_hikashop/classes/order.php
You can try removing the ".$url" in that line and see if that helps.

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

Time to create page: 0.033 seconds
Powered by Kunena Forum