[Skip to main content](#vessel-content)

#   problem withmail sent automatically after checkout

##

- **[webme](/forum/user/30777-webme "View webme's Profile")**
- [![webme's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30777-webme "View webme's Profile") Topic Author
- [ Offline](/forum/user/30777-webme)

Less More

- Posts: 43
- Thank you received: 0
-
-

10 years 11 months ago [\#223929](#223929) by [webme](/forum/user/30777-webme "View webme's Profile")  *[problem withmail sent automatically after checkout](/forum/27-checkout/881051-problem-withmail-sent-automatically-after-checkout#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")* was created by *[webme](/forum/user/30777-webme "View webme's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MTA1MS1wcm9ibGVtLXdpdGhtYWlsLXNlbnQtYXV0b21hdGljYWxseS1hZnRlci1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86576
- Thank you received: 14320
-
-

10 years 11 months ago [\#224018](#224018) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[problem withmail sent automatically after checkout](/forum/27-checkout/881051-problem-withmail-sent-automatically-after-checkout#224018 "-- 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")*

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: Code:

$order-&gt;order_url = hikashop_frontendLink('index.php?option=com_hikashop&amp;ctrl=order&amp;task=show&amp;cid[]='.$order-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MTA1MS1wcm9ibGVtLXdpdGhtYWlsLXNlbnQtYXV0b21hdGljYWxseS1hZnRlci1jaGVja291dD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
