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

#   template coupon product and link it on attach

##

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

Less More

- Posts: 27
- Thank you received: 0
-
-

10 years 10 months ago -  10 years 10 months ago [\#225650](#225650) by [bf360](/forum/user/37777-bf360 "View bf360's Profile")  *[template coupon product and link it on attach](/forum/14-hikaserial/881385-template-coupon-product-and-link-it-on-attach#225650 "-- HikaShop version -- : 2.6.0 -- HikaSerial version -- : 1.10.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.12  Hi! i completed with success the config of hikaserial with attachserial plugin according to documentation. i'd like to specify, on the attachment, the link and the name of the product specify on coupon template. This because the product that i sell is a coupon to gift one type of product. So if i use http://ulr/{order&#95;product.product&#95;id} i print the code of the product that the sender buy, but i wanna print on the attach the url of the product that the receiver can buy for free thanks the serial. I hope I have explained well what I wanna do  with regards Roberto")* was created by *[bf360](/forum/user/37777-bf360 "View bf360's Profile")*

-- HikaShop version -- : 2.6.0
-- HikaSerial version -- : 1.10.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5.12

Hi!
i completed with success the config of hikaserial with attachserial plugin according to documentation.
i'd like to specify, on the attachment, the link and the name of the product specify on coupon template. This because the product that i sell is a coupon to gift one type of product.
So if i use http://ulr/{order_product.product_id} i print the code of the product that the sender buy, but i wanna print on the attach the url of the product that the receiver can buy for free thanks the serial.
I hope I have explained well what I wanna do

with regards
Roberto

Last edit: 10 years 10 months ago by [bf360](/forum/user/37777-bf360 "View bf360's Profile").

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

10 years 10 months ago [\#225651](#225651) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[template coupon product and link it on attach](/forum/14-hikaserial/881385-template-coupon-product-and-link-it-on-attach#225651 "-- HikaShop version -- : 2.6.0 -- HikaSerial version -- : 1.10.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.12  Hi! i completed with success the config of hikaserial with attachserial plugin according to documentation. i'd like to specify, on the attachment, the link and the name of the product specify on coupon template. This because the product that i sell is a coupon to gift one type of product. So if i use http://ulr/{order&#95;product.product&#95;id} i print the code of the product that the sender buy, but i wanna print on the attach the url of the product that the receiver can buy for free thanks the serial. I hope I have explained well what I wanna do  with regards Roberto")*

Hi,

How do you determine what is the product that the receiver can buy for free ?
If it is something "static" (related to the pack), you can use a static link and create one attach serial configuration per pack.
If it is something dynamic, you can use a product custom field in order to store the URL.

By using a product custom field only visible in the backend ; you have the total control on the link and you can set a specific link for each product.

Otherwise ; we will need more details in order to understand fully your request.

Regards,

---

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

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

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