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

#   Tooltips end up in emails after checkout

##

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

Less More

- Posts: 42
- Thank you received: 0
-
-

9 years 4 months ago [\#274904](#274904) by [Veli](/forum/user/51285-veli "View Veli's Profile")  *[Tooltips end up in emails after checkout](/forum/27-checkout/891321-tooltips-end-up-in-emails-after-checkout#274904 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 7 -- PHP version -- : 7 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : none  Hi, made some tooltips on custom fields using the nonumber extension. This is easy and working very well. However, these tooltips are now displayed in all emails that are sent. Have the business edition and can change email settings, but have no idea what I should add or do ...? Hope you can help! Thanks")* was created by *[Veli](/forum/user/51285-veli "View Veli's Profile")*

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 7
-- PHP version -- : 7
-- Browser(s) name and version -- : all
-- Error-message(debug-mod must be tuned on) -- : none

Hi,
made some tooltips on custom fields using the nonumber extension. This is easy and working very well.
However, these tooltips are now displayed in all emails that are sent.
Have the business edition and can change email settings, but have no idea what I should add or do ...?
Hope you can help!
Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTMyMS10b29sdGlwcy1lbmQtdXAtaW4tZW1haWxzLWFmdGVyLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 4 months ago [\#274909](#274909) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Tooltips end up in emails after checkout](/forum/27-checkout/891321-tooltips-end-up-in-emails-after-checkout#274909 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 7 -- PHP version -- : 7 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : none  Hi, made some tooltips on custom fields using the nonumber extension. This is easy and working very well. However, these tooltips are now displayed in all emails that are sent. Have the business edition and can change email settings, but have no idea what I should add or do ...? Hope you can help! Thanks")*

Hello,

Without more details about where are the tooltips exactly it will be very difficult to give you a precise answer.

But by definition, thanks to HikaShop Business you can edit and customize your emails ; so you can change how the custom fields are displayed in yours emails yes.
But you can also do the opposite and only add the tooltips in the front-end using view overrides.

Regards,

---

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

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

9 years 4 months ago [\#274974](#274974) by [Veli](/forum/user/51285-veli "View Veli's Profile")  Replied by *[Veli](/forum/user/51285-veli "View Veli's Profile")* on topic *[Tooltips end up in emails after checkout](/forum/27-checkout/891321-tooltips-end-up-in-emails-after-checkout#274974 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 7 -- PHP version -- : 7 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : none  Hi, made some tooltips on custom fields using the nonumber extension. This is easy and working very well. However, these tooltips are now displayed in all emails that are sent. Have the business edition and can change email settings, but have no idea what I should add or do ...? Hope you can help! Thanks")*

I will try to explain better and include two screenshots.

Have added tooltips on custom items with the tooltip nonumber extensions. This means in the Label of each custom item, I do not write the label only, but also the tooltip, for example:
instead of only: Base (cm)
I have:
{tip content="Indicare la base della stampa in cm"}Base (cm){/tip}

I can disable this whole field in emails, but it is very important to have this field included as it is fundamental for understanding what a customer orders.

As you can see from the screenshots however, the whole text in the Label field is taken and not only 'Base (cm)'.

My question is: how can I exclude the tooltip part from the emails and also the shopping cart (at first the shopping cart shows the tooltips as tooltips, but when modifying the cart it shows simply the whole text ({tip content="Indicare la base della stampa in cm"}Base (cm){/tip}) instead of the 'Base (cm) with a tooltip.

In the email part I have seen this field, but I do not know how to modify this:
{TXT:CUSTOMFIELD_NAME}

of further down:
$cartProduct = '';
if(!empty($fields) &amp;&amp; hikashop_level(1)){
foreach($fields as $field){
$namekey = $field-&gt;field_namekey;
$productData = @$productClass-&gt;all_products[$item-&gt;product_id];
$cartProduct .= '&lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right"&gt;'.(empty($productData-&gt;$namekey)?'':$fieldsClass-&gt;show($field,$productData-&gt;$namekey)).'&lt;/td&gt;';
}
}

In case this is complicated, do you have a different way of making tooltips for the custom items?

Thanks!  [ ![ScreenShot2017-07-29at08.47.29.png](/forum/attachment/39492) ](/forum/attachment/39492 "...at08.47.29.png")

[ ![ScreenShot2017-07-29at08.46.23.png](/forum/attachment/39493) ](/forum/attachment/39493 "...at08.46.23.png")

- [ ![ScreenShot2017-07-29at08.47.29.png](/forum/attachment/39492) ](/forum/attachment/39492 "...at08.47.29.png") [ ](/forum/attachment/39492?download=1 "...at08.47.29.png")
- [ ![ScreenShot2017-07-29at08.46.23.png](/forum/attachment/39493) ](/forum/attachment/39493 "...at08.46.23.png") [ ](/forum/attachment/39493?download=1 "...at08.46.23.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5MTMyMS10b29sdGlwcy1lbmQtdXAtaW4tZW1haWxzLWFmdGVyLWNoZWNrb3V0P3RtcGw9bWFya2Rvd24=) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 4 months ago [\#274978](#274978) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Tooltips end up in emails after checkout](/forum/27-checkout/891321-tooltips-end-up-in-emails-after-checkout#274978 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 7 -- PHP version -- : 7 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : none  Hi, made some tooltips on custom fields using the nonumber extension. This is easy and working very well. However, these tooltips are now displayed in all emails that are sent. Have the business edition and can change email settings, but have no idea what I should add or do ...? Hope you can help! Thanks")*

> But by definition, thanks to HikaShop Business you can edit and customize your emails ; so you can change how the custom fields are displayed in yours emails yes.
> But you can also do the opposite and only add the tooltips in the front-end using view overrides.

You definitively want to **not** put the tooltip tag in the custom field names.
You need to customize the front-end view to add the tooltip where/when they are displayed.

[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)
[ www.hikashop.com/support/documentation/5...g.html#advanced\_main](https://www.hikashop.com/support/documentation/54-hikashop-config.html#advanced_main)

Regards,

---

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

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

9 years 3 months ago [\#275019](#275019) by [Veli](/forum/user/51285-veli "View Veli's Profile")  Replied by *[Veli](/forum/user/51285-veli "View Veli's Profile")* on topic *[Tooltips end up in emails after checkout](/forum/27-checkout/891321-tooltips-end-up-in-emails-after-checkout#275019 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 7 -- PHP version -- : 7 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : none  Hi, made some tooltips on custom fields using the nonumber extension. This is easy and working very well. However, these tooltips are now displayed in all emails that are sent. Have the business edition and can change email settings, but have no idea what I should add or do ...? Hope you can help! Thanks")*

Hi Jerome,
thanks for your answer. Unfortunately, it is not clear how I should do this from the links you have provided.

By the way, I had read on the forum that I should use the number extension and put it in the label.
See here:
[ www.hikashop.com/support/forum/2-general...r-custom-fields.html](https://www.hikashop.com/support/forum/2-general-talk-about-hikashop/39138-tooltips-for-custom-fields.html)

I would appreciate if you could help a bit with the exact code I should put in the front-end override (that part of how to make an override is very well explained!) to show a tooltip on custom fields. Hope this is not too complicated?

Thanks!

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

9 years 3 months ago [\#275116](#275116) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Tooltips end up in emails after checkout](/forum/27-checkout/891321-tooltips-end-up-in-emails-after-checkout#275116 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 7 -- PHP version -- : 7 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : none  Hi, made some tooltips on custom fields using the nonumber extension. This is easy and working very well. However, these tooltips are now displayed in all emails that are sent. Have the business edition and can change email settings, but have no idea what I should add or do ...? Hope you can help! Thanks")*

Hi,

You can change the line: Code:

$t .= '&lt;p&gt;'.$fieldsClass-&gt;getFieldName($field).': '.$fieldsClass-&gt;show($field,$item-&gt;$namekey,'admin_email').'&lt;/p&gt;';

in the preload of the emails.
Please understand that custom coding is not part of the normal support.
You should normally contact a 3rd party developer to help you with that.
I guess that something like that should do: Code:

$t .= '&lt;p&gt;'.preg_replace('/{(.*?)}/', '', $fieldsClass-&gt;getFieldName($field)).': '.$fieldsClass-&gt;show($field,$item-&gt;$namekey,'admin_email').'&lt;/p&gt;';

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

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

Less More

- Posts: 42
- Thank you received: 0
-
-

9 years 3 months ago [\#275139](#275139) by [Veli](/forum/user/51285-veli "View Veli's Profile")  Replied by *[Veli](/forum/user/51285-veli "View Veli's Profile")* on topic *[Tooltips end up in emails after checkout](/forum/27-checkout/891321-tooltips-end-up-in-emails-after-checkout#275139 "-- HikaShop version -- : 3.1.1 -- Joomla version -- : 7 -- PHP version -- : 7 -- Browser(s) name and version -- : all -- Error-message(debug-mod must be tuned on) -- : none  Hi, made some tooltips on custom fields using the nonumber extension. This is easy and working very well. However, these tooltips are now displayed in all emails that are sent. Have the business edition and can change email settings, but have no idea what I should add or do ...? Hope you can help! Thanks")*

Thanks a lot, this is working perfectly.
I really appreciate the help!!
Hope it will be useful also for others who use custom fields and tooltips.
Thanks!

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

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