template coupon product and link it on attach

  • Posts: 27
  • Thank you received: 0
8 years 10 months ago #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_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: 8 years 10 months ago by bf360.

Please Log in or Create an account to join the conversation.

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
8 years 10 months ago #225651

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.058 seconds
Powered by Kunena Forum