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

#   Custom field by the table "item" not seen

##

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

Less More

- Posts: 24
- Thank you received: 1
-
-
-

12 years 10 months ago -  12 years 10 months ago [\#137936](#137936) by [alexsmirnov](/forum/user/25100-alexsmirnov "View alexsmirnov's Profile")  *[Custom field by the table "item" not seen](/forum/35-orders-management/864587-custom-field-by-the-table-item-not-seen#137936 "-- url of the page with the problem -- :localhost -- HikaShop version -- : 2.2.3 Business -- Joomla version -- : 2.5.16 -- PHP version -- : 5.3.28  Hi felas,  I've created a custom field by the &quot;text area&quot; type and by the &quot;item&quot; table. It gets displayed for a product just fine but the text that my test customer enters into it purchasing a product doesn't get displayed in his order history at the front end.  As a super administrator, when I open this test customer order at the back end, I can see the text he entered into this custom field, but when I log in from the front end as this test customer and open his order via corresponding menu item, then this text is not there.  Is this normal or am I missing something?  Cheers,  Alex  P S All three &quot;Display&quot; options, - &quot;Front-end&quot;, &quot;Back-end Form&quot; and &quot;Back-end Listing&quot;, have been set to &quot;Yes&quot;")* was created by *[alexsmirnov](/forum/user/25100-alexsmirnov "View alexsmirnov's Profile")*

-- url of the page with the problem -- :localhost
-- HikaShop version -- : 2.2.3 Business
-- Joomla version -- : 2.5.16
-- PHP version -- : 5.3.28

Hi felas,

I've created a custom field by the "text area" type and by the "item" table. It gets displayed for a product just fine but the text that my test customer enters into it purchasing a product doesn't get displayed in his order history at the front end.

As a super administrator, when I open this test customer order at the back end, I can see the text he entered into this custom field, but when I log in from the front end as this test customer and open his order via corresponding menu item, then this text is not there.

Is this normal or am I missing something?

Cheers,

Alex

P S All three "Display" options, - "Front-end", "Back-end Form" and "Back-end Listing", have been set to "Yes"

---

Seek and you shall find.

Last edit: 12 years 10 months ago by [alexsmirnov](/forum/user/25100-alexsmirnov "View alexsmirnov's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg2NDU4Ny1jdXN0b20tZmllbGQtYnktdGhlLXRhYmxlLWl0ZW0tbm90LXNlZW4/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: 86315
- Thank you received: 14276
-
-

12 years 10 months ago [\#137953](#137953) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field by the table "item" not seen](/forum/35-orders-management/864587-custom-field-by-the-table-item-not-seen#137953 "-- url of the page with the problem -- :localhost -- HikaShop version -- : 2.2.3 Business -- Joomla version -- : 2.5.16 -- PHP version -- : 5.3.28  Hi felas,  I've created a custom field by the &quot;text area&quot; type and by the &quot;item&quot; table. It gets displayed for a product just fine but the text that my test customer enters into it purchasing a product doesn't get displayed in his order history at the front end.  As a super administrator, when I open this test customer order at the back end, I can see the text he entered into this custom field, but when I log in from the front end as this test customer and open his order via corresponding menu item, then this text is not there.  Is this normal or am I missing something?  Cheers,  Alex  P S All three &quot;Display&quot; options, - &quot;Front-end&quot;, &quot;Back-end Form&quot; and &quot;Back-end Listing&quot;, have been set to &quot;Yes&quot;")*

Hi,

It seems that a modification since the 2.2.0 release changed that display.
Edit the file "show" of the view "order" of the frontend via Display&gt;views and change the line: Code:

if(!empty($product-&gt;$namekey) &amp;&amp; !strlen($product-&gt;$namekey)){

to: Code:

if(!empty($product-&gt;$namekey) &amp;&amp; strlen($product-&gt;$namekey)){

and it will display there again as it should.

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

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

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

Less More

- Posts: 24
- Thank you received: 1
-
-
-

12 years 10 months ago [\#137980](#137980) by [alexsmirnov](/forum/user/25100-alexsmirnov "View alexsmirnov's Profile")  Replied by *[alexsmirnov](/forum/user/25100-alexsmirnov "View alexsmirnov's Profile")* on topic *[Custom field by the table "item" not seen](/forum/35-orders-management/864587-custom-field-by-the-table-item-not-seen#137980 "-- url of the page with the problem -- :localhost -- HikaShop version -- : 2.2.3 Business -- Joomla version -- : 2.5.16 -- PHP version -- : 5.3.28  Hi felas,  I've created a custom field by the &quot;text area&quot; type and by the &quot;item&quot; table. It gets displayed for a product just fine but the text that my test customer enters into it purchasing a product doesn't get displayed in his order history at the front end.  As a super administrator, when I open this test customer order at the back end, I can see the text he entered into this custom field, but when I log in from the front end as this test customer and open his order via corresponding menu item, then this text is not there.  Is this normal or am I missing something?  Cheers,  Alex  P S All three &quot;Display&quot; options, - &quot;Front-end&quot;, &quot;Back-end Form&quot; and &quot;Back-end Listing&quot;, have been set to &quot;Yes&quot;")*

Lovely job. Worked like charm.

---

Seek and you shall find.

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

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

[](#top)
