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

#   change the URL to be sef in customer order email

##

- **[woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")**
- [![woonydanny's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5795.jpg)](/forum/user/5795-woonydanny "View woonydanny's Profile") Topic Author
- [ Offline](/forum/user/5795-woonydanny)

Less More

- Posts: 218
- Thank you received: 6
-
-

14 years 9 months ago [\#37307](#37307) by [woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")  *[change the URL to be sef in customer order email](/forum/4-how-to/37307-change-the-url-to-be-sef-in-customer-order-email#37307 "In the email that is sent to the customer after a purchase it says:  Hi Name,  We are pleased to confirm the creation of your order No. 02749 ( ) at   www.domain.com/  on the 29 January 2012 at 22:28  how do i show the url as a sef url? I don't want to show but instead something like  i don't mind the actually url as long as it is a nice pretty url  how is this done?")* was created by *[woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")*

In the email that is sent to the customer after a purchase it says:

Hi Name,

We are pleased to confirm the creation of your order No. 02749 ( [ www.domain.com/index.php?option=com\_hika...=order&amp;task=show&amp;cid](http://www.domain.com/index.php?option=com_hikashop&ctrl=order&task=show&cid)\[\]=2749 ) at [ www.domain.com/](http://www.domain.com/) on the 29 January 2012 at 22:28

how do i show the url as a sef url? I don't want to show index.php?option=com\_hikashop&amp;ctrl=order&amp;task=show&amp;cid\[\]=2749 but instead something like [ www.domain.com/store/orders/order\_id\_2749](http://www.domain.com/store/orders/order_id_2749)

i don't mind the actually url as long as it is a nice pretty url

how is this done?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM3MzA3LWNoYW5nZS10aGUtdXJsLXRvLWJlLXNlZi1pbi1jdXN0b21lci1vcmRlci1lbWFpbD90bXBsPW1hcmtkb3du) 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: 86560
- Thank you received: 14307
-
-

14 years 9 months ago [\#37443](#37443) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: change the URL to be sef in customer order email](/forum/4-how-to/37307-change-the-url-to-be-sef-in-customer-order-email#37443 "In the email that is sent to the customer after a purchase it says:  Hi Name,  We are pleased to confirm the creation of your order No. 02749 ( ) at   www.domain.com/  on the 29 January 2012 at 22:28  how do i show the url as a sef url? I don't want to show but instead something like  i don't mind the actually url as long as it is a nice pretty url  how is this done?")*

You would have to edit the email via the menu System-&gt;Emails in the Business edition.
However, since the SEF URL can be a lot different based on the SEF component and the options you're using, we didn't find a way which would work in all cases. That's why we left it non SEFed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM3MzA3LWNoYW5nZS10aGUtdXJsLXRvLWJlLXNlZi1pbi1jdXN0b21lci1vcmRlci1lbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")**
- [![woonydanny's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5795.jpg)](/forum/user/5795-woonydanny "View woonydanny's Profile") Topic Author
- [ Offline](/forum/user/5795-woonydanny)

Less More

- Posts: 218
- Thank you received: 6
-
-

14 years 9 months ago [\#37457](#37457) by [woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")  Replied by *[woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")* on topic *[Re: change the URL to be sef in customer order email](/forum/4-how-to/37307-change-the-url-to-be-sef-in-customer-order-email#37457 "In the email that is sent to the customer after a purchase it says:  Hi Name,  We are pleased to confirm the creation of your order No. 02749 ( ) at   www.domain.com/  on the 29 January 2012 at 22:28  how do i show the url as a sef url? I don't want to show but instead something like  i don't mind the actually url as long as it is a nice pretty url  how is this done?")*

Do i change this line? Code:

echo JText::sprintf('ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE',$url,HIKASHOP_LIVE, hikashop_getDate(time(),'%d %B %Y'), hikashop_getDate(time(),'%H:%M'));?&gt;

to: Code:

echo JText::sprintf('ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE',http://www.domain.com/store/account/orders,HIKASHOP_LIVE, hikashop_getDate(time(),'%d %B %Y'), hikashop_getDate(time(),'%H:%M'));?&gt;

but not sure how to get it to automatically calculate the order id number...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM3MzA3LWNoYW5nZS10aGUtdXJsLXRvLWJlLXNlZi1pbi1jdXN0b21lci1vcmRlci1lbWFpbD90bXBsPW1hcmtkb3du) 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: 86560
- Thank you received: 14307
-
-

14 years 9 months ago [\#37551](#37551) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: change the URL to be sef in customer order email](/forum/4-how-to/37307-change-the-url-to-be-sef-in-customer-order-email#37551 "In the email that is sent to the customer after a purchase it says:  Hi Name,  We are pleased to confirm the creation of your order No. 02749 ( ) at   www.domain.com/  on the 29 January 2012 at 22:28  how do i show the url as a sef url? I don't want to show but instead something like  i don't mind the actually url as long as it is a nice pretty url  how is this done?")*

indeed but don't forget the quotes,so it should be something like that: Code:

echo JText::sprintf('ORDER_CREATION_SUCCESS_ON_WEBSITE_AT_DATE','http://www.domain.com/store/account/orders/order_id-'.$data-&gt;order_id,HIKASHOP_LIVE, hikashop_getDate(time(),'%d %B %Y'), hikashop_getDate(time(),'%H:%M'));?&gt;

The following user(s) said Thank You: [woonydanny](/forum/user/5795-woonydanny "View woonydanny's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM3MzA3LWNoYW5nZS10aGUtdXJsLXRvLWJlLXNlZi1pbi1jdXN0b21lci1vcmRlci1lbWFpbD90bXBsPW1hcmtkb3du) 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.050 seconds

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