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

#   ORDER\_STATUS\_NOTIFICATION

##

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

Less More

- Posts: 24
- Thank you received: 0
-
-

9 years 2 months ago [\#277730](#277730) by [Masters](/forum/user/46422-masters "View Masters's Profile")  *[ORDER\_STATUS\_NOTIFICATION](/forum/35-orders-management/891824-order-status-notification#277730 "-- url of the page with the problem -- : http:www.eutopiantrader.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.22 -- Browser(s) name and version -- : Chrome 60.0.3112.113 -- Error-message(debug-mod must be tuned on) -- : n/a  My​ question was in the ORDER&#95;STATUS&#95;NOTIFICATION what does the code $customer&#95;name = @$customer-&gt;name;​ ​actually do? Meaning what is the function of the -&gt;name after the variable? What I am trying to understand is how to modify the preload.php properly in order to have the email status notifications display only the users first name, where currently is is displaying first and last name. There is no constant to change for this as I can tell due to the way the variables are set in the preload.php. (however, I am still testing, ​and ​I may fix the problem, but I would still like to understand the code and what that line is doing​)​.")* was created by *[Masters](/forum/user/46422-masters "View Masters's Profile")*

-- url of the page with the problem -- : http:www.eutopiantrader.com
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.5
-- PHP version -- : 7.0.22
-- Browser(s) name and version -- : Chrome 60.0.3112.113
-- Error-message(debug-mod must be tuned on) -- : n/a

My​ question was in the ORDER_STATUS_NOTIFICATION what does the code $customer_name = @$customer-&gt;name;​ ​actually do? Meaning what is the function of the -&gt;name after the variable? What I am trying to understand is how to modify the preload.php properly in order to have the email status notifications display only the users first name, where currently is is displaying first and last name. There is no constant to change for this as I can tell due to the way the variables are set in the preload.php. (however, I am still testing, ​and ​I may fix the problem, but I would still like to understand the code and what that line is doing​)​.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

9 years 2 months ago [\#277744](#277744) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[ORDER\_STATUS\_NOTIFICATION](/forum/35-orders-management/891824-order-status-notification#277744 "-- url of the page with the problem -- : http:www.eutopiantrader.com -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7.5 -- PHP version -- : 7.0.22 -- Browser(s) name and version -- : Chrome 60.0.3112.113 -- Error-message(debug-mod must be tuned on) -- : n/a  My​ question was in the ORDER&#95;STATUS&#95;NOTIFICATION what does the code $customer&#95;name = @$customer-&gt;name;​ ​actually do? Meaning what is the function of the -&gt;name after the variable? What I am trying to understand is how to modify the preload.php properly in order to have the email status notifications display only the users first name, where currently is is displaying first and last name. There is no constant to change for this as I can tell due to the way the variables are set in the preload.php. (however, I am still testing, ​and ​I may fix the problem, but I would still like to understand the code and what that line is doing​)​.")*

Hello,

$customer is a PHP object containing the HikaShop customer information.
[ php.net/manual/en/language.types.object.php](http://php.net/manual/en/language.types.object.php)

[ www.hikashop.com/support/documentation/6...ocumentation.html#db](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#db)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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