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

#   Email Template Link To Sold Product In Frontend

##

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

Less More

- Posts: 966
- Thank you received: 11
-
-

5 years 11 months ago [\#325433](#325433) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  *[Email Template Link To Sold Product In Frontend](/forum/25-install-update/901116-email-template-link-to-sold-product-in-frontend#325433 "In the Order administration notification email there is a link to the product in the backend, I would like to add the link to the product in the front end as well. If that's possible, would you mind providing me the code?  Thanks!")* was created by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")*

In the Order administration notification email there is a link to the product in the backend, I would like to add the link to the product in the front end as well. If that's possible, would you mind providing me the code?

Thanks!

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

Less More

- Posts: 86322
- Thank you received: 14280
-
-

5 years 11 months ago [\#325439](#325439) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Email Template Link To Sold Product In Frontend](/forum/25-install-update/901116-email-template-link-to-sold-product-in-frontend#325439 "In the Order administration notification email there is a link to the product in the backend, I would like to add the link to the product in the front end as well. If that's possible, would you mind providing me the code?  Thanks!")*

Hi,

There is no link on the product name in the order administration notification email.
So I'm not sure what is the status of that email on your end. I suppose that it has already been customized on that area and thus I'm not sure what should be the exact modification.
With the default email, you have that line of code in the preload section of the email: Code:

$t = '&lt;p&gt;' . $item-&gt;order_product_name;

and you can modify it to: Code:

$t = '&lt;p&gt;&lt; href="'.hikashop_contentLink('show&amp;cid='.$item-&gt;product_id.'&amp;name='.$product-&gt;product_alias.$url_itemid,$product).'"&gt;' . $item-&gt;order_product_name.'&lt;/a&gt;';

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

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

Less More

- Posts: 966
- Thank you received: 11
-
-

5 years 9 months ago [\#328055](#328055) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Email Template Link To Sold Product In Frontend](/forum/25-install-update/901116-email-template-link-to-sold-product-in-frontend#328055 "In the Order administration notification email there is a link to the product in the backend, I would like to add the link to the product in the front end as well. If that's possible, would you mind providing me the code?  Thanks!")*

Hi Nicolas,

Happy New Year!!

Just to clarify before I make any changes.

I would like to have both a link to the backend as well as a link to the product in the frontend. Will this code do that?

Thanks!

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

Less More

- Posts: 86322
- Thank you received: 14280
-
-

5 years 9 months ago [\#328060](#328060) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Email Template Link To Sold Product In Frontend](/forum/25-install-update/901116-email-template-link-to-sold-product-in-frontend#328060 "In the Order administration notification email there is a link to the product in the backend, I would like to add the link to the product in the front end as well. If that's possible, would you mind providing me the code?  Thanks!")*

Hi,

No, this code will only add the link to the frontend.
To have both, you would need such code instead: Code:

$t = '&lt;p&gt;&lt; href="'.hikashop_contentLink('show&amp;cid='.$item-&gt;product_id.'&amp;name='.$product-&gt;product_alias.$url_itemid,$product).'"&gt;' . $item-&gt;order_product_name.'&lt;/a&gt;&lt; href="'.HIKASHOP_LIVE.'administrator/index.php?option=com_hikashop&amp;ctrl=product&amp;task=edit&amp;cid[]='.$item-&gt;product_id.'"&gt;backend edit&lt;/a&gt;';

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

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

Less More

- Posts: 966
- Thank you received: 11
-
-

5 years 9 months ago [\#328250](#328250) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Email Template Link To Sold Product In Frontend](/forum/25-install-update/901116-email-template-link-to-sold-product-in-frontend#328250 "In the Order administration notification email there is a link to the product in the backend, I would like to add the link to the product in the front end as well. If that's possible, would you mind providing me the code?  Thanks!")*

Sorry Nicolas but I think that the code you provided is not for the part of the email that I'm referring to.

At the very top of the "Order Administrator Notification" email, where is says something like this:

**A New Order Has Been Made ....

You can access the order details directly by clicking on the link below after logging in your back end:
[ www.mywebsite.com/administrator/index.ph...task=edit&amp;order\_id=4](http://www.mywebsite.com/administrator/index.php?option=com_hikashop&ctrl=order&task=edit&order_id=4)**

I would like to add the URL to the front end as well. So it would look something like this:

**A New Order Has Been Made ....

You can access the order details directly by clicking on the link below after logging in your back end:
[ www.mywebsite.com/administrator/index.ph...task=edit&amp;order\_id=4](http://www.mywebsite.com/administrator/index.php?option=com_hikashop&ctrl=order&task=edit&order_id=4)

Or you can view the item ordered on the front end:
URL to item that was ordered here...**.

Thanks!

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34318_2015-11-18-2.png)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 654
-
-

5 years 9 months ago -  5 years 9 months ago [\#328270](#328270) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Email Template Link To Sold Product In Frontend](/forum/25-install-update/901116-email-template-link-to-sold-product-in-frontend#328270 "In the Order administration notification email there is a link to the product in the backend, I would like to add the link to the product in the front end as well. If that's possible, would you mind providing me the code?  Thanks!")*

Hello,

Unfortunately there is surely a misunderstanding or we don't understand well your request, let me explain.
Right now, in the "**Order administrator notification**" you have indeed a link to your **backend order details** (with products), and if we understand you well, you want the same thing but for the **frontend**.

And so basically you want through the link go here :
[ ![alt](https://i.ibb.co/jwxqDH2/order-fe.png) ](https://i.ibb.co/jwxqDH2/order-fe.png "alt")

but this page is **only** accessible via the **customer account** and therefore with his **passwords**.
From this, your request seems of **new page**, but **just for** administrator access.
It's of course theorically possible, but will required lots of work, but from this what is the point ?
I mean what is the added value compared to the **already existing backend view** ?

Awaiting your returns to be able to progress on your subject.
Regards

Last edit: 5 years 9 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 966
- Thank you received: 11
-
-

5 years 9 months ago -  5 years 9 months ago [\#328441](#328441) by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile")  Replied by *[MyWorld](/forum/user/862-myworld "View MyWorld's Profile")* on topic *[Email Template Link To Sold Product In Frontend](/forum/25-install-update/901116-email-template-link-to-sold-product-in-frontend#328441 "In the Order administration notification email there is a link to the product in the backend, I would like to add the link to the product in the front end as well. If that's possible, would you mind providing me the code?  Thanks!")*

Sorry no. I meant the public page of the product, but now I realized that if it's more than one item that is sold it won't work.

[ www.mywebsite.com/categories/product/758...mo-nylon-bag-5l.html](https://www.mywebsite.com/categories/product/758-lululemon-all-night-festival-camo-nylon-bag-5l.html)
[ ![sold-item.jpg](/forum/attachment/51687) ](/forum/attachment/51687 "sold-item.jpg")

Thanks!

- [ ![sold-item.jpg](/forum/attachment/51687) ](/forum/attachment/51687 "sold-item.jpg") [ ](/forum/attachment/51687?download=1 "sold-item.jpg")

Last edit: 5 years 9 months ago by [MyWorld](/forum/user/862-myworld "View MyWorld's Profile").

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

Less More

- Posts: 86322
- Thank you received: 14280
-
-

5 years 9 months ago [\#328456](#328456) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Email Template Link To Sold Product In Frontend](/forum/25-install-update/901116-email-template-link-to-sold-product-in-frontend#328456 "In the Order administration notification email there is a link to the product in the backend, I would like to add the link to the product in the front end as well. If that's possible, would you mind providing me the code?  Thanks!")*

Hi,

This link is for the whole order.
So far I was talking about the link to the product that you can access when you click on the name of the product in the email.
As you say, changing the link to the whole order by the link of a product doesn't make sense since you can have several products in an order but you can have only one link on the order number.

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

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