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

#   Fields added to a product not displayed

##

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

Less More

- Posts: 16
- Thank you received: 1
-
- [](http://vobovie.nl)
-

11 months 3 weeks ago [\#369362](#369362) by [hkoopman](/forum/user/83103-hkoopman "View hkoopman's Profile")  *[Fields added to a product not displayed](/forum/36-reports-statistics/909891-fields-added-to-a-product-not-displayed#369362 "-- url of the page with the problem -- :   www.vobovie.nl  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.4.0 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Chrome 142.0.7444.162 -- Error-message(debug-mod must be tuned on) -- : na  I created a custom field named lokatie for a product. It is a text field. It appaers on the packing slip but not on Order Administrator notification mail, although I added   {LINEVAR:LOKATIE}   to the product line section in the HTML part. In the attachment is the whole source. Why is the content of the field lokatie not displayed in het mail.")* was created by *[hkoopman](/forum/user/83103-hkoopman "View hkoopman's Profile")*

-- url of the page with the problem -- : [ www.vobovie.nl](https://www.vobovie.nl)
-- HikaShop version -- : 6.1.0
-- Joomla version -- : 5.4.0
-- PHP version -- : 8.2.29
-- Browser(s) name and version -- : Chrome 142.0.7444.162
-- Error-message(debug-mod must be tuned on) -- : na

I created a custom field named lokatie for a product. It is a text field.
It appaers on the packing slip but not on Order Administrator notification mail, although I added

&lt;!-- PRODUCT LOKATIE VALUE --&gt;
&lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right"&gt;{LINEVAR:LOKATIE}&lt;/td&gt;
&lt;!-- EO PRODUCT LOKATIE VALUE --&gt;

to the product line section in the HTML part.
In the attachment is the whole source.
Why is the content of the field lokatie not displayed in het mail.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDk4OTEtZmllbGRzLWFkZGVkLXRvLWEtcHJvZHVjdC1ub3QtZGlzcGxheWVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86323
- Thank you received: 14283
-
-

11 months 3 weeks ago [\#369363](#369363) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fields added to a product not displayed](/forum/36-reports-statistics/909891-fields-added-to-a-product-not-displayed#369363 "-- url of the page with the problem -- :   www.vobovie.nl  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.4.0 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Chrome 142.0.7444.162 -- Error-message(debug-mod must be tuned on) -- : na  I created a custom field named lokatie for a product. It is a text field. It appaers on the packing slip but not on Order Administrator notification mail, although I added   {LINEVAR:LOKATIE}   to the product line section in the HTML part. In the attachment is the whole source. Why is the content of the field lokatie not displayed in het mail.")*

Hi,

The tag "{LINEVAR:LOKATIE}" does not exist.
When you edit an order email, you can use the "list of available tags" button to see the list of all the tags.
There, you can read:

> product\_field
> You can also display the value of custom fields with this kind of tags :
> {LINEVAR:product.XXX}
> where 'XXX' is the custom field column name.

So your tag should be "{LINEVAR:product.lokatie}" supposing that the column name of your custom product field is lokatie.
Note however that this will display the value straight from the database. For some types of fields, it won't be readable / usable. Also, you're adding a td for the value, but you also need to add it for the headers of the table.
Finally, note that if you edit your custom field via the menu Display&gt;Custom fields, you'll find email display options there. By activating them, the custom field value will display automatically in the corresponding emails without having to customize the emails at all, with the header, and the value being processed by the field system if necessary.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDk4OTEtZmllbGRzLWFkZGVkLXRvLWEtcHJvZHVjdC1ub3QtZGlzcGxheWVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 16
- Thank you received: 1
-
- [](http://vobovie.nl)
-

11 months 3 weeks ago [\#369368](#369368) by [hkoopman](/forum/user/83103-hkoopman "View hkoopman's Profile")  Replied by *[hkoopman](/forum/user/83103-hkoopman "View hkoopman's Profile")* on topic *[Fields added to a product not displayed](/forum/36-reports-statistics/909891-fields-added-to-a-product-not-displayed#369368 "-- url of the page with the problem -- :   www.vobovie.nl  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.4.0 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Chrome 142.0.7444.162 -- Error-message(debug-mod must be tuned on) -- : na  I created a custom field named lokatie for a product. It is a text field. It appaers on the packing slip but not on Order Administrator notification mail, although I added   {LINEVAR:LOKATIE}   to the product line section in the HTML part. In the attachment is the whole source. Why is the content of the field lokatie not displayed in het mail.")*

Thanks. I copied your suggestion {LINEVAR:product.lokatie} in the template and it is now working.
Is it capital depended?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDk4OTEtZmllbGRzLWFkZGVkLXRvLWEtcHJvZHVjdC1ub3QtZGlzcGxheWVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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: 86323
- Thank you received: 14283
-
-

11 months 3 weeks ago [\#369369](#369369) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Fields added to a product not displayed](/forum/36-reports-statistics/909891-fields-added-to-a-product-not-displayed#369369 "-- url of the page with the problem -- :   www.vobovie.nl  -- HikaShop version -- : 6.1.0 -- Joomla version -- : 5.4.0 -- PHP version -- : 8.2.29 -- Browser(s) name and version -- : Chrome 142.0.7444.162 -- Error-message(debug-mod must be tuned on) -- : na  I created a custom field named lokatie for a product. It is a text field. It appaers on the packing slip but not on Order Administrator notification mail, although I added   {LINEVAR:LOKATIE}   to the product line section in the HTML part. In the attachment is the whole source. Why is the content of the field lokatie not displayed in het mail.")*

Hi,

Yes, you need to use the same case as you have in the "column name" setting of the custom field.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy85MDk4OTEtZmllbGRzLWFkZGVkLXRvLWEtcHJvZHVjdC1ub3QtZGlzcGxheWVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.064 seconds

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