Attach a different name for each ticket

  • Posts: 63
  • Thank you received: 6
  • Hikaserial Standard Hikashop Essential
3 days 10 hours ago #365067

-- HikaShop version -- : 5.1.1
-- HikaSerial version -- : 5.0.0
-- Joomla version -- : 8.2.2
-- PHP version -- : 8.2.26

Hi,
I would like to find a way to attach a unique name to each ticket bought in a same order.
i.e One make an order for 3 tickets for a concert, fill a form with 3 name fields and each ticket generated should have 1 of these name on it.

Could you give me a direction on how to achieve that, if it is possible?
Thanks

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
2 days 19 hours ago #365068

Hello,

You don't want to attach a field to a serial, you want to attach the field to the item in the cart.
In the cart, the customer will have 3 products (called "item" in HikaShop), each item will have it own name and will generate at the order confirmation, one serial (so 3 serials for the entire cart).
Since "Attach Serial" and "PDF Serial" can display item custom fields in their content ; you can create gift certificate with the serial and the corresponding name that the customer entered when he added the product into the cart.

Please note that "item custom fields" is a feature provided by HikaShop Business.

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.

  • Posts: 63
  • Thank you received: 6
  • Hikaserial Standard Hikashop Essential
2 days 17 hours ago #365071

Hi Jerome,
Ok, understood for an order with 3 different items but what about an order with 3 of the same item?
Would that work?
Thanks

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

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
2 days 9 hours ago #365072

Hello,

With 3 same items, you will have 3 serials ; but you won't be able to specify a different name via a custom field.

fill a form with 3 name fields and each ticket generated should have 1 of these name on it

You can develop a custom plugin in order to perform such action ; it won't be easy due to all the constraints you will face (refuse the modification of the quantity, link the quantity with the number of lines/names in the custom field ; otherwise it will generate some misunderstanding and frustration for your customers)
At the end, you custom development should provide the order items are separate items with each one name ; so it could be process by the plugins, like HikaSerial pdfseria/attachserial.

The best approach is to use item custom field and let the customer handle its items in the cart.
Each item will have its own name and the customer can remove, replace like he wants without any kind of frustration.

If you want more details, I recommend you to open a new thread in the HikaShop section of the forum so the HikaShop support team will be able to guide you.

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