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

#   \[Solved\]Costum field - E-Mail

##

- **[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")**
- [![CMS-Buttler's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5647.jpg)](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile") Topic Author
- [ Offline](/forum/user/5647-cms-buttler)

Less More

- Posts: 203
- Thank you received: 0
-
-
-
- [](http://www.cms-buttler.de)
-

14 years 5 months ago -  14 years 5 months ago [\#49123](#49123) by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")  *[\[Solved\]Costum field - E-Mail](/forum/2-general-talk-about-hikashop/49123-solved-costum-field-e-mail#49123 "Hello Nicolas,  i hope i dont get on your nerves.  I want to put the Costum field in the e-mail too.  So that the &quot;produktnummer&quot; field is listed in front of the Produkt name. (in the Admin E-Mail)  I managed to get the Heading &quot;Produktnummer&quot; in the E-Mail but who do i get the entries in it?  produktnummer; ?&gt;  does not work  Thx  Andreas")* was created by *[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")*

Hello Nicolas,

i hope i dont get on your nerves.

I want to put the Costum field in the e-mail too.

So that the "produktnummer" field is listed in front of the Produkt name. (in the Admin E-Mail)

I managed to get the Heading "Produktnummer" in the E-Mail but who do i get the entries in it?

&lt;?php echo $item-&gt;produktnummer; ?&gt;

does not work

Thx

Andreas

Last edit: 14 years 5 months ago by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile").

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

- **[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")**
- [![CMS-Buttler's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5647.jpg)](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile") Topic Author
- [ Offline](/forum/user/5647-cms-buttler)

Less More

- Posts: 203
- Thank you received: 0
-
-
-
- [](http://www.cms-buttler.de)
-

14 years 5 months ago [\#49125](#49125) by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")  Replied by *[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")* on topic *[Re: Costum field - E-Mail](/forum/2-general-talk-about-hikashop/49123-solved-costum-field-e-mail#49125 "Hello Nicolas,  i hope i dont get on your nerves.  I want to put the Costum field in the e-mail too.  So that the &quot;produktnummer&quot; field is listed in front of the Produkt name. (in the Admin E-Mail)  I managed to get the Heading &quot;Produktnummer&quot; in the E-Mail but who do i get the entries in it?  produktnummer; ?&gt;  does not work  Thx  Andreas")*

wrong forum.

should be how tos

Sorry

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

14 years 5 months ago [\#49202](#49202) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Costum field - E-Mail](/forum/2-general-talk-about-hikashop/49123-solved-costum-field-e-mail#49202 "Hello Nicolas,  i hope i dont get on your nerves.  I want to put the Costum field in the e-mail too.  So that the &quot;produktnummer&quot; field is listed in front of the Produkt name. (in the Admin E-Mail)  I managed to get the Heading &quot;Produktnummer&quot; in the E-Mail but who do i get the entries in it?  produktnummer; ?&gt;  does not work  Thx  Andreas")*

You can't use the translation word in the code ![:)](/media/kunena/emoticons/3.png ":)")
You need to use the field from the database.
So it should be:
&lt;?php echo $item-&gt;order_product_code; ?&gt;

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

- **[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")**
- [![CMS-Buttler's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5647.jpg)](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile") Topic Author
- [ Offline](/forum/user/5647-cms-buttler)

Less More

- Posts: 203
- Thank you received: 0
-
-
-
- [](http://www.cms-buttler.de)
-

14 years 5 months ago -  14 years 5 months ago [\#49294](#49294) by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")  Replied by *[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")* on topic *[Re: Costum field - E-Mail](/forum/2-general-talk-about-hikashop/49123-solved-costum-field-e-mail#49294 "Hello Nicolas,  i hope i dont get on your nerves.  I want to put the Costum field in the e-mail too.  So that the &quot;produktnummer&quot; field is listed in front of the Produkt name. (in the Admin E-Mail)  I managed to get the Heading &quot;Produktnummer&quot; in the E-Mail but who do i get the entries in it?  produktnummer; ?&gt;  does not work  Thx  Andreas")*

but product code is not the costum field isnt it?

i have the produktnummer as a costumfield

and the field name is produktnummer.

In picture you see the costum field wihich should also appear on the email for admin

- [ ![FireShotScreenCapture068-rewacoHndlershop-Administration-shop&#95;rewaco&#95;de&#95;administrator&#95;index&#95;php&#95;optioncom&#95;hikashopctrlfieldtaskeditcid54.png](/forum/attachment/3784) ](/forum/attachment/3784 "...keditcid54.png") [ ](/forum/attachment/3784?download=1 "...keditcid54.png")

Last edit: 14 years 5 months ago by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile").

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

14 years 5 months ago [\#49360](#49360) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Costum field - E-Mail](/forum/2-general-talk-about-hikashop/49123-solved-costum-field-e-mail#49360 "Hello Nicolas,  i hope i dont get on your nerves.  I want to put the Costum field in the e-mail too.  So that the &quot;produktnummer&quot; field is listed in front of the Produkt name. (in the Admin E-Mail)  I managed to get the Heading &quot;Produktnummer&quot; in the E-Mail but who do i get the entries in it?  produktnummer; ?&gt;  does not work  Thx  Andreas")*

The product information is not loaded there.
You need to load it yourself. So you need to do like that:
$class = hikashop_get('class.product');
$productData = $class-&gt;get($item-&gt;product_id);
echo $productData-&gt;produktnummer;

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

- **[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")**
- [![CMS-Buttler's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5647.jpg)](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile") Topic Author
- [ Offline](/forum/user/5647-cms-buttler)

Less More

- Posts: 203
- Thank you received: 0
-
-
-
- [](http://www.cms-buttler.de)
-

14 years 5 months ago [\#49382](#49382) by [CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")  Replied by *[CMS-Buttler](/forum/user/5647-cms-buttler "View CMS-Buttler's Profile")* on topic *[Re: Costum field - E-Mail](/forum/2-general-talk-about-hikashop/49123-solved-costum-field-e-mail#49382 "Hello Nicolas,  i hope i dont get on your nerves.  I want to put the Costum field in the e-mail too.  So that the &quot;produktnummer&quot; field is listed in front of the Produkt name. (in the Admin E-Mail)  I managed to get the Heading &quot;Produktnummer&quot; in the E-Mail but who do i get the entries in it?  produktnummer; ?&gt;  does not work  Thx  Andreas")*

Hello Nicolas,

sorry.

i cant make it work. Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 1.5.7 * @author hikashop.com * @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt; &lt;div style="background-color: #ffffff; font-family: Verdana, Arial, Helvetica, sans-serif;font-size:12px; color: #000000; width: 100%;"&gt; &lt;table style="margin: auto;font-family: Verdana, Arial, Helvetica, sans-serif;font-size:12px;" border="0" cellspacing="0" cellpadding="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td height="10"&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;br/&gt; &lt;br/&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)."&lt;br/&gt;&lt;br/&gt;".JText::sprintf('NOTIFICATION_OF_ORDER_ON_WEBSITE',$data-&gt;order_number,HIKASHOP_LIVE); $currency = hikashop_get('class.currency'); $url = '&lt;a href="'.$url.'" target="_blank"&gt;'.$url.'&lt;/a&gt;'; echo "&lt;br/&gt;".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 "&lt;br/&gt;".JText::_('CUSTOMER_PAID_WITH_CREDIT_CARD'); if(!empty($data-&gt;credit_card_info-&gt;cc_owner)){ echo "&lt;br/&gt;".JText::_('CREDIT_CARD_OWNER').' : '.$data-&gt;credit_card_info-&gt;cc_owner; } echo "&lt;br/&gt;".JText::_('END_OF_CREDIT_CARD_NUMBER').' : '.substr($data-&gt;credit_card_info-&gt;cc_number,8); if(!empty($data-&gt;credit_card_info-&gt;cc_CCV)){ echo "&lt;br/&gt;".JText::_('CARD_VALIDATION_CODE').' : '.$data-&gt;credit_card_info-&gt;cc_CCV; } echo "&lt;br/&gt;".JText::_('CREDITCARD_WARNING'); } $fieldsClass = hikashop_get('class.field'); $fields = $fieldsClass-&gt;getFields('frontcomp',$data,'order',''); foreach($fields as $fieldName =&gt; $oneExtraField) { if(!empty($data-&gt;$fieldName)) echo "&lt;br/&gt;".$fieldsClass-&gt;trans($oneExtraField-&gt;field_realname).' : '.$fieldsClass-&gt;show($oneExtraField,$data-&gt;$fieldName); } $class = hikashop_get('class.order'); $url = $data-&gt;order_number; $config =&amp; hikashop_config(); if($config-&gt;get('simplified_registration',0)!=2){ $url .= ' ( '.$data-&gt;order_url.' )'; } $data-&gt;cart = $class-&gt;loadFullOrder($data-&gt;order_id,true,false); $data-&gt;cart-&gt;coupon = null; $price = null; $tax = $data-&gt;cart-&gt;order_subtotal - $data-&gt;cart-&gt;order_subtotal_no_vat + $data-&gt;order_discount_tax + $data-&gt;order_shipping_tax; $price-&gt;price_value = $data-&gt;order_full_price-$tax; $price-&gt;price_value_with_tax = $data-&gt;order_full_price; $data-&gt;cart-&gt;full_total = null; $data-&gt;cart-&gt;full_total-&gt;prices = array($price); $data-&gt;cart-&gt;coupon-&gt;discount_value =&amp; $data-&gt;order_discount_price; $class = hikashop_get('class.product'); $productData = $class-&gt;get($item-&gt;product_id); echo $productData-&gt;produktnummer; ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height="10"&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;table width="100%" style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size:12px;"&gt; &lt;tr&gt; &lt;td style="font-weight:bold;"&gt; &lt;?php echo JText::_('CART_PRODUCT_NAME'); ?&gt; &lt;/td&gt; &lt;td style="font-weight:bold;"&gt; &lt;?php echo JText::_('Produktnummer'); ?&gt; &lt;/td&gt; &lt;td style="font-weight:bold;"&gt; &lt;?php echo JText::_('CART_PRODUCT_UNIT_PRICE'); ?&gt; &lt;/td&gt; &lt;td style="font-weight:bold;"&gt; &lt;?php echo JText::_('CART_PRODUCT_QUANTITY'); ?&gt; &lt;/td&gt; &lt;td style="font-weight:bold;text-align:right;"&gt; &lt;?php echo JText::_('HIKASHOP_TOTAL'); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php if(hikashop_level(2)){ $fieldsClass = hikashop_get('class.field'); $null = null; $itemFields = $fieldsClass-&gt;getFields('frontcomp',$null,'item'); } foreach($data-&gt;cart-&gt;products as $item){ ?&gt; &lt;tr&gt; &lt;td&gt; &lt;p&gt;&lt;?php echo $item-&gt;order_product_name; ?&gt;&lt;/p&gt;&lt;?php if(!empty($itemFields)){ foreach($itemFields as $field){ $namekey = $field-&gt;field_namekey; if(empty($item-&gt;$namekey)) continue; echo '&lt;p&gt;'.$fieldsClass-&gt;getFieldName($field).': '.$fieldsClass-&gt;show($field,$item-&gt;$namekey).'&lt;/p&gt;'; } } ?&gt; &lt;/td&gt; &lt;?php $class = hikashop_get('class.product'); $productData = $class-&gt;get($item-&gt;product_produktnummer); echo $productData-&gt;produktnummer; ?&gt; &lt;td&gt; &lt;?php echo $item-&gt;order_product_quantity; ?&gt; &lt;/td&gt; &lt;td&gt; &lt;?php echo $currencyHelper-&gt;format($item-&gt;order_product_price+$item-&gt;order_product_tax,$data-&gt;order_currency_id); ?&gt; &lt;/td&gt; &lt;td&gt; &lt;?php echo $item-&gt;order_product_quantity; ?&gt; &lt;/td&gt; &lt;td style="text-align:right"&gt; &lt;?php echo $currencyHelper-&gt;format($item-&gt;order_product_total_price,$data-&gt;order_currency_id); ?&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } if(bccomp($data-&gt;order_discount_price,0,5)){ echo '&lt;tr&gt;&lt;td colspan="4" style="text-align:right"&gt;'.JText::_('HIKASHOP_COUPON').' : '.$currencyHelper-&gt;format($data-&gt;order_discount_price*-1,$data-&gt;order_currency_id).'&lt;/td&gt;&lt;/tr&gt;'; } if(bccomp($data-&gt;order_shipping_price,0,5)){ echo '&lt;tr&gt;&lt;td colspan="4" style="text-align:right"&gt;'.JText::_('HIKASHOP_SHIPPING_METHOD').' : '.$currencyHelper-&gt;format($data-&gt;order_shipping_price,$data-&gt;order_currency_id).'&lt;/td&gt;&lt;/tr&gt;'; } if($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value!=$data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax){ if($config-&gt;get('detailed_tax_display') &amp;&amp; !empty($data-&gt;cart-&gt;order_tax_info)){ foreach($data-&gt;cart-&gt;order_tax_info as $tax){ echo '&lt;tr&gt;&lt;td colspan="4" style="text-align:right"&gt;'.$tax-&gt;tax_namekey. ' : '.$currencyHelper-&gt;format($tax-&gt;tax_amount,$data-&gt;order_currency_id).'&lt;/td&gt;&lt;/tr&gt;'; } }else{ echo '&lt;tr&gt;&lt;td colspan="4" style="text-align:right"&gt;'.JText::sprintf('TOTAL_WITHOUT_VAT',$currencyHelper-&gt;format($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value,$data-&gt;order_currency_id)).'&lt;/td&gt;&lt;/tr&gt;'; } $text=JText::sprintf('TOTAL_WITH_VAT',$currencyHelper-&gt;format($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,$data-&gt;order_currency_id)); }else{ $text=JText::_('HIKASHOP_FINAL_TOTAL'). ' : '.$currencyHelper-&gt;format($data-&gt;cart-&gt;full_total-&gt;prices[0]-&gt;price_value_with_tax,$data-&gt;order_currency_id); } echo '&lt;tr&gt;&lt;td colspan="4" style="text-align:right;font-weight:bold;"&gt;'.$text.'&lt;/td&gt;&lt;/tr&gt;'; ?&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height="10"&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;table width="100%" style="border: 1px solid #DDDDDD;font-family: Verdana, Arial, Helvetica, sans-serif;font-size:12px;"&gt; &lt;?php $params = null; $js = ''; $fieldsClass = hikashop_get('class.field'); $app=&amp;JFactory::getApplication(); $template = trim(hikashop_getLayout($app-&gt;isAdmin() ? 'order' : 'address','address_template',$params,$js)); if(!empty($data-&gt;cart-&gt;billing_address)){ $billing = $template; foreach($data-&gt;cart-&gt;fields as $field){ $fieldname = $field-&gt;field_namekey; $billing=str_replace('{'.$fieldname.'}',$fieldsClass-&gt;show($field,$data-&gt;cart-&gt;billing_address-&gt;$fieldname),$billing); } echo '&lt;tr&gt;&lt;td style="font-weight:bold;background-color:#DDDDDD"&gt;'.JText::_('HIKASHOP_BILLING_ADDRESS').'&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;'; echo str_replace(array("\r\n","\r","\n"),'&lt;br/&gt;',preg_replace('#{(?:(?!}).)*}#i','',$billing)).'&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;'; } if(!empty($data-&gt;cart-&gt;order_shipping_id) &amp;&amp; (!empty($data-&gt;cart-&gt;shipping_address) &#124;&#124; !empty($data-&gt;cart-&gt;override_shipping_address))){ echo '&lt;tr&gt;&lt;td style="font-weight:bold;background-color:#DDDDDD"&gt;'.JText::_('HIKASHOP_SHIPPING_ADDRESS').'&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;'; if(!empty($data-&gt;cart-&gt;override_shipping_address)) { echo $data-&gt;cart-&gt;override_shipping_address.'&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;'; } else { $shipping = $template; foreach($data-&gt;cart-&gt;fields as $field){ $fieldname = $field-&gt;field_namekey; $shipping=str_replace('{'.$fieldname.'}',$fieldsClass-&gt;show($field,$data-&gt;cart-&gt;shipping_address-&gt;$fieldname),$shipping); } echo str_replace(array("\r\n","\r","\n"),'&lt;br/&gt;',preg_replace('#{(?:(?!}).)*}#i','',$shipping)).'&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;'; } }?&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height="10"&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height="10"&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td height="10"&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/div&gt;

Maybe you can tell me how?

I now get a "1" in the column Produktnummer.

Thx

Andreas

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

14 years 5 months ago [\#49426](#49426) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Costum field - E-Mail](/forum/2-general-talk-about-hikashop/49123-solved-costum-field-e-mail#49426 "Hello Nicolas,  i hope i dont get on your nerves.  I want to put the Costum field in the e-mail too.  So that the &quot;produktnummer&quot; field is listed in front of the Produkt name. (in the Admin E-Mail)  I managed to get the Heading &quot;Produktnummer&quot; in the E-Mail but who do i get the entries in it?  produktnummer; ?&gt;  does not work  Thx  Andreas")*

You need to put it inside the product display code and inside a td, not where you put it.

For example, just after that line:
&lt;p&gt;&lt;?php echo $item-&gt;order_product_name; ?&gt;&lt;/p&gt;&lt;?php

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

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

[](#top)
