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

#   text email with custom fields

##

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

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 1 month ago -  9 years 1 week ago [\#280297](#280297) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  *[text email with custom fields](/forum/25-install-update/892330-text-email-with-custom-fields#280297 "How do I get custom fields into that line of the ORDER&#95;CREATION&#95;NOTIFICATION email:")* was created by *[peteo](/forum/user/33887-peteo "View peteo's Profile")*

How do I get custom fields into that line of the ORDER_CREATION_NOTIFICATION email:
Code:

&lt;?php echo JText::_('CART_PRODUCT_NAME')."\t".JText::_('CART_PRODUCT_UNIT_PRICE')."\t".JText::_('CART_PRODUCT_QUANTITY')."\t".JText::_('HIKASHOP_TOTAL');?&gt;

Last edit: 9 years 1 week ago by [peteo](/forum/user/33887-peteo "View peteo's Profile").

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

9 years 1 month ago [\#280311](#280311) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[With the 3.2 update I lost all my custom fields](/forum/25-install-update/892330-text-email-with-custom-fields#280311 "How do I get custom fields into that line of the ORDER&#95;CREATION&#95;NOTIFICATION email:")*

Hello,

Can you give us more information about what you exactly mean by showing us some screenshots of your issue for example ?

Thank you.

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

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

Less More

- Posts: 114
- Thank you received: 4
-
-

9 years 1 week ago [\#282778](#282778) by [peteo](/forum/user/33887-peteo "View peteo's Profile")  Replied by *[peteo](/forum/user/33887-peteo "View peteo's Profile")* on topic *[With the 3.2 update I lost all my custom fields](/forum/25-install-update/892330-text-email-with-custom-fields#282778 "How do I get custom fields into that line of the ORDER&#95;CREATION&#95;NOTIFICATION email:")*

Thanks for asking.
How is a screenshot different from the code I pasted in text format? I dont understand your request. I just want to know the name of the variable that pulls in the custom fields. In the HTML template that is {TXT:CUSTOMFIELD_NAME} but that does not work in the text version. I have no clue why the text template would use different variables for the same purpose but it obviously does.

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

Less More

- Posts: 86584
- Thank you received: 14325
-
-

9 years 6 days ago [\#282779](#282779) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[With the 3.2 update I lost all my custom fields](/forum/25-install-update/892330-text-email-with-custom-fields#282779 "How do I get custom fields into that line of the ORDER&#95;CREATION&#95;NOTIFICATION email:")*

Hi,

The text area is not a template. It's PHP code. So you need to use PHP code, like in the preload area.
If you want to make it easy, you can empty the text area completely. In that case, it will automatically use the HTML version output and strip the HTML to generate the text version. That way, you don't have to handle that yourself.
Otherwise, it's complex if you want to do that.
The custom fields data is not loaded there, so you need code to do that first.
Please understand that such custom coding is not part of user support. If you need a developer to help you with that customization, you can contact our partners:
[ www.hikashop.com/home/our-partners.html](https://www.hikashop.com/home/our-partners.html)

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

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