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

#   Would like Clos Link on notification Admin

##

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

Less More

- Posts: 53
- Thank you received: 1
-
-

9 years 11 months ago -  9 years 11 months ago [\#256976](#256976) by [i8acom](/forum/user/46283-i8acom "View i8acom's Profile")  *[Would like Clos Link on notification Admin](/forum/35-orders-management/887809-would-like-clos-link-on-notification-admin#256976 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.6 -- PHP version -- : 5  Dear : Hikashop on ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT please see attach file for picture i would like to Close link order. don't want to click and show link ( but wan't only show ORDER ID )  how to modify")* was created by *[i8acom](/forum/user/46283-i8acom "View i8acom's Profile")*

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.6
-- PHP version -- : 5

Dear : Hikashop
on ORDER_ADMIN_NOTIFICATION_SUBJECT
please see attach file for picture i would like to Close link order.
don't want to click and show link ( but wan't only show ORDER ID )

how to modify

[ ![1234.png](/forum/attachment/35060) ](/forum/attachment/35060 "1234.png")

- [ ![1234.png](/forum/attachment/35060) ](/forum/attachment/35060 "1234.png") [ ](/forum/attachment/35060?download=1 "1234.png")

Last edit: 9 years 11 months ago by [i8acom](/forum/user/46283-i8acom "View i8acom's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NzgwOS13b3VsZC1saWtlLWNsb3MtbGluay1vbi1ub3RpZmljYXRpb24tYWRtaW4/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

9 years 11 months ago [\#257014](#257014) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Would like Clos Link on notification Admin](/forum/35-orders-management/887809-would-like-clos-link-on-notification-admin#257014 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.6 -- PHP version -- : 5  Dear : Hikashop on ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT please see attach file for picture i would like to Close link order. don't want to click and show link ( but wan't only show ORDER ID )  how to modify")*

Hi,

You can edit the order admin notification via the menu System&gt;Emails and change that code in the preload version area: Code:

'NOTIFICATION_OF_ORDER' =&gt; JText::sprintf('NOTIFICATION_OF_ORDER_ON_WEBSITE', $data-&gt;order_number, HIKASHOP_LIVE), 'ORDER_BEGIN_MESSAGE' =&gt; JText::sprintf('ACCESS_ORDER_WITH_LINK',$vars['ORDER_LINK']),

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

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

Less More

- Posts: 53
- Thank you received: 1
-
-

9 years 11 months ago [\#257405](#257405) by [i8acom](/forum/user/46283-i8acom "View i8acom's Profile")  Replied by *[i8acom](/forum/user/46283-i8acom "View i8acom's Profile")* on topic *[Would like Clos Link on notification Admin](/forum/35-orders-management/887809-would-like-clos-link-on-notification-admin#257405 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.6 -- PHP version -- : 5  Dear : Hikashop on ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT please see attach file for picture i would like to Close link order. don't want to click and show link ( but wan't only show ORDER ID )  how to modify")*

dear : nicolas,
Thank you somuch for Health,

I Try to modifiy as you teach but when finish order is show text :

Parse error: syntax error, unexpected T_ECHO in /home/baowaanc/domains/bao-waan.com/public_html/media/com_hikashop/mail/order_admin_notification.text.modified.php on line 13

attach file for Pictuer :

[ ![12&#95;2016-12-10.jpg](/forum/attachment/35152) ](/forum/attachment/35152 "12&#95;2016-12-10.jpg")

---

This My ORGINAL : CODE TEXT

---

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 2.6.4
* @author hikashop.com
* @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;&lt;?php
$url = HIKASHOP_LIVE.'administrator/index.php?option=com_hikashop&amp;ctrl=order&amp;task=edit&amp;order_id='.$data-&gt;order_id;
echo JText::sprintf('ORDER_STATUS_CHANGED',$data-&gt;mail_status)."\r\n\r\n".JText::sprintf('NOTIFICATION_OF_ORDER_ON_WEBSITE',$data-&gt;order_number,HIKASHOP_LIVE);
echo "\r\n\r\n".JText::_('HIKA_EMAIL').': '.$data-&gt;customer-&gt;user_email[0];
$currency = hikashop_get('class.currency');
echo "\r\n\r\n".JText::_('HIKASHOP_TOTAL').' : '.$currency-&gt;format($data-&gt;order_full_price,$data-&gt;order_currency_id);
echo "\r\n".str_replace('&lt;br/&gt;',"\r\n",JText::sprintf('ACCESS_ORDER_WITH_LINK',$url));
if($data-&gt;order_payment_method=='creditcard' &amp;&amp; !empty($data-&gt;credit_card_info-&gt;cc_number)){
echo "\r\n".JText::_('CUSTOMER_PAID_WITH_CREDIT_CARD');
if(!empty($data-&gt;credit_card_info-&gt;cc_owner)){
echo "\r\n".JText::_('CREDIT_CARD_OWNER').' : '.$data-&gt;credit_card_info-&gt;cc_owner;
}
echo "\r\n".JText::_('END_OF_CREDIT_CARD_NUMBER').' : '.substr($data-&gt;credit_card_info-&gt;cc_number,![8)](/media/kunena/emoticons/9.png "8)");
if(!empty($data-&gt;credit_card_info-&gt;cc_CCV)){
echo "\r\n".JText::_('CARD_VALIDATION_CODE').' : '.$data-&gt;credit_card_info-&gt;cc_CCV;
}
echo "\r\n".JText::_('CREDITCARD_WARNING');
}
$fieldsClass = hikashop_get('class.field');
$fields = $fieldsClass-&gt;getFields('display:field_order_admin_notification=1',$data,'order','');
foreach($fields as $fieldName =&gt; $oneExtraField) {
$fieldData = trim(@$data-&gt;$fieldName);
if(empty($fieldData)) continue;
echo "\r\n".$fieldsClass-&gt;trans($oneExtraField-&gt;field_realname).' : '.$fieldsClass-&gt;show($oneExtraField,$data-&gt;$fieldName);
}

- [ ![12&#95;2016-12-10.jpg](/forum/attachment/35152) ](/forum/attachment/35152 "12&#95;2016-12-10.jpg") [ ](/forum/attachment/35152?download=1 "12&#95;2016-12-10.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NzgwOS13b3VsZC1saWtlLWNsb3MtbGluay1vbi1ub3RpZmljYXRpb24tYWRtaW4/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

9 years 11 months ago [\#257415](#257415) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Would like Clos Link on notification Admin](/forum/35-orders-management/887809-would-like-clos-link-on-notification-admin#257415 "-- HikaShop version -- : 2.6.4 -- Joomla version -- : 3.6.6 -- PHP version -- : 5  Dear : Hikashop on ORDER&#95;ADMIN&#95;NOTIFICATION&#95;SUBJECT please see attach file for picture i would like to Close link order. don't want to click and show link ( but wan't only show ORDER ID )  how to modify")*

Hi,

The modification I've talked about is to be done in the preload area.
I never talked about modifying the text version and your error is about the text version.
Delete the text version code customization and you shouldn't have that error anymore.

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

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