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

#   How to add label to download link in email conformation

##

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

Less More

- Posts: 56
- Thank you received: 0
-
-

8 years 9 months ago [\#287959](#287959) by [hans1961](/forum/user/35436-hans1961 "View hans1961's Profile")  *[How to add label to download link in email conformation](/forum/27-checkout/893803-how-to-add-label-to-download-link-in-email-conformation#287959 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox 58.0.2 -- Error-message(debug-mod must be tuned on) -- : Question about email configuration &quot;Order status notification&quot;  Hi there,  I hope you can help me with this question. Atteached you will find an image of the customer email after payment. It displays the download link to the product. I would like to add a clarifying label in front of the link. How can I do that? Thanks in advance. Kind regards, Hans")* was created by *[hans1961](/forum/user/35436-hans1961 "View hans1961's Profile")*

-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.8.3
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Firefox 58.0.2
-- Error-message(debug-mod must be tuned on) -- : Question about email configuration "Order status notification"

Hi there,

I hope you can help me with this question. Atteached you will find an image of the customer email after payment. It displays the download link to the product. I would like to add a clarifying label in front of the link. How can I do that? Thanks in advance.
Kind regards,
Hans

- [ ![Labelinfrontofdownloadlink.JPG](/forum/attachment/42626) ](/forum/attachment/42626 "...wnloadlink.JPG") [ ](/forum/attachment/42626?download=1 "...wnloadlink.JPG")

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

8 years 9 months ago [\#287963](#287963) 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 *[How to add label to download link in email conformation](/forum/27-checkout/893803-how-to-add-label-to-download-link-in-email-conformation#287963 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox 58.0.2 -- Error-message(debug-mod must be tuned on) -- : Question about email configuration &quot;Order status notification&quot;  Hi there,  I hope you can help me with this question. Atteached you will find an image of the customer email after payment. It displays the download link to the product. I would like to add a clarifying label in front of the link. How can I do that? Thanks in advance. Kind regards, Hans")*

Hello,

The solution will be to directly edit the "HTML" code of your "" email, via "Hikashop-&gt;System-&gt;Emails" and add your clarifying label just before : Code:

{LINEVAR:PRODUCT_DOWNLOAD}

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

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

8 years 9 months ago [\#288017](#288017) by [hans1961](/forum/user/35436-hans1961 "View hans1961's Profile")  Replied by *[hans1961](/forum/user/35436-hans1961 "View hans1961's Profile")* on topic *[How to add label to download link in email conformation](/forum/27-checkout/893803-how-to-add-label-to-download-link-in-email-conformation#288017 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox 58.0.2 -- Error-message(debug-mod must be tuned on) -- : Question about email configuration &quot;Order status notification&quot;  Hi there,  I hope you can help me with this question. Atteached you will find an image of the customer email after payment. It displays the download link to the product. I would like to add a clarifying label in front of the link. How can I do that? Thanks in advance. Kind regards, Hans")*

Hi Mohamed,

Thanks for your answer. However, I can't seem to get it right. My added label appears either before or after the download link and there is a CR somewhere. I added my code (not modified) and two examples of emails.
I would like to have: "Download link: link".
Thanks in advance.

Kind regards,
Hans

- [ ![Emailcode.JPG](/forum/attachment/42643) ](/forum/attachment/42643 "Emailcode.JPG") [ ](/forum/attachment/42643?download=1 "Emailcode.JPG")
- [ ![Example1.JPG](/forum/attachment/42644) ](/forum/attachment/42644 "Example1.JPG") [ ](/forum/attachment/42644?download=1 "Example1.JPG")
- [ ![Example2.JPG](/forum/attachment/42645) ](/forum/attachment/42645 "Example2.JPG") [ ](/forum/attachment/42645?download=1 "Example2.JPG")

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

8 years 9 months ago [\#288018](#288018) 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 *[How to add label to download link in email conformation](/forum/27-checkout/893803-how-to-add-label-to-download-link-in-email-conformation#288018 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox 58.0.2 -- Error-message(debug-mod must be tuned on) -- : Question about email configuration &quot;Order status notification&quot;  Hi there,  I hope you can help me with this question. Atteached you will find an image of the customer email after payment. It displays the download link to the product. I would like to add a clarifying label in front of the link. How can I do that? Thanks in advance. Kind regards, Hans")*

Hello,

In that case you should just change that line : Code:

{LINEVAR:PRODUCT_DOWNLOAD}

By: Code:

Download link: {LINEVAR:PRODUCT_DOWNLOAD}

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

8 years 9 months ago [\#288074](#288074) by [hans1961](/forum/user/35436-hans1961 "View hans1961's Profile")  Replied by *[hans1961](/forum/user/35436-hans1961 "View hans1961's Profile")* on topic *[How to add label to download link in email conformation](/forum/27-checkout/893803-how-to-add-label-to-download-link-in-email-conformation#288074 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox 58.0.2 -- Error-message(debug-mod must be tuned on) -- : Question about email configuration &quot;Order status notification&quot;  Hi there,  I hope you can help me with this question. Atteached you will find an image of the customer email after payment. It displays the download link to the product. I would like to add a clarifying label in front of the link. How can I do that? Thanks in advance. Kind regards, Hans")*

That's what I tried before, but that is not going to work (see attachment). It's the CR somewhere causing this issue. Hope you can solve this.
Thanks in advance.

Hans

- [ ![Example3.JPG](/forum/attachment/42669) ](/forum/attachment/42669 "Example3.JPG") [ ](/forum/attachment/42669?download=1 "Example3.JPG")

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile")
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

8 years 9 months ago [\#288076](#288076) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[How to add label to download link in email conformation](/forum/27-checkout/893803-how-to-add-label-to-download-link-in-email-conformation#288076 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox 58.0.2 -- Error-message(debug-mod must be tuned on) -- : Question about email configuration &quot;Order status notification&quot;  Hi there,  I hope you can help me with this question. Atteached you will find an image of the customer email after payment. It displays the download link to the product. I would like to add a clarifying label in front of the link. How can I do that? Thanks in advance. Kind regards, Hans")*

Hi,

Have you tried to add &lt;br/&gt; tag before? It should move it down to the new line. Like this:
Code:

&lt;br/&gt;Download link: {LINEVAR:PRODUCT_DOWNLOAD}

Thanks

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

8 years 9 months ago [\#288087](#288087) by [hans1961](/forum/user/35436-hans1961 "View hans1961's Profile")  Replied by *[hans1961](/forum/user/35436-hans1961 "View hans1961's Profile")* on topic *[How to add label to download link in email conformation](/forum/27-checkout/893803-how-to-add-label-to-download-link-in-email-conformation#288087 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox 58.0.2 -- Error-message(debug-mod must be tuned on) -- : Question about email configuration &quot;Order status notification&quot;  Hi there,  I hope you can help me with this question. Atteached you will find an image of the customer email after payment. It displays the download link to the product. I would like to add a clarifying label in front of the link. How can I do that? Thanks in advance. Kind regards, Hans")*

Please have a look at the attachment to see how this works out...
Kind regards, Hans

- [ ![Example4.JPG](/forum/attachment/42676) ](/forum/attachment/42676 "Example4.JPG") [ ](/forum/attachment/42676?download=1 "Example4.JPG")

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

- **[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")**
- [![trevsmiff's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9214.jpg)](/forum/user/9214-trevsmiff "View trevsmiff's Profile")
- [ Offline](/forum/user/9214-trevsmiff)

Less More

- Posts: 306
- Thank you received: 42
-
-

8 years 9 months ago [\#288108](#288108) by [trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")  Replied by *[trevsmiff](/forum/user/9214-trevsmiff "View trevsmiff's Profile")* on topic *[How to add label to download link in email conformation](/forum/27-checkout/893803-how-to-add-label-to-download-link-in-email-conformation#288108 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox 58.0.2 -- Error-message(debug-mod must be tuned on) -- : Question about email configuration &quot;Order status notification&quot;  Hi there,  I hope you can help me with this question. Atteached you will find an image of the customer email after payment. It displays the download link to the product. I would like to add a clarifying label in front of the link. How can I do that? Thanks in advance. Kind regards, Hans")*

I have done something similar. All my downloads are pdf's so I added a pdf icon before the download link in the preload version around lin 245:
Code:

$t .= '&lt;a href="'.hikashop_frontendLink('index.php?option=com_hikashop&amp;ctrl=order&amp;task=download&amp;file_id='.$file-&gt;file_id.'&amp;order_id='.$oid.$file_pos.$url_itemid).'"&gt;&lt;img src=". . ./pdf.png"&gt; '.$fileName.'&lt;/a&gt;&lt;br/&gt;'; }

[ ![pdfico.png](/forum/attachment/42681) ](/forum/attachment/42681 "pdfico.png")

- [ ![pdfico.png](/forum/attachment/42681) ](/forum/attachment/42681 "pdfico.png") [ ](/forum/attachment/42681?download=1 "pdfico.png")

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

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

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

Less More

- Posts: 56
- Thank you received: 0
-
-

8 years 9 months ago [\#288113](#288113) by [hans1961](/forum/user/35436-hans1961 "View hans1961's Profile")  Replied by *[hans1961](/forum/user/35436-hans1961 "View hans1961's Profile")* on topic *[How to add label to download link in email conformation](/forum/27-checkout/893803-how-to-add-label-to-download-link-in-email-conformation#288113 "-- HikaShop version -- : 3.2.2 -- Joomla version -- : 3.8.3 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox 58.0.2 -- Error-message(debug-mod must be tuned on) -- : Question about email configuration &quot;Order status notification&quot;  Hi there,  I hope you can help me with this question. Atteached you will find an image of the customer email after payment. It displays the download link to the product. I would like to add a clarifying label in front of the link. How can I do that? Thanks in advance. Kind regards, Hans")*

Yes! This helped to achieve what I want.
Many thanks and kind regards,
Hans

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

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