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

#   How to assign serial pack to item custom fields

##

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

Less More

- Posts: 137
- Thank you received: 2
-
-

12 years 6 days ago -  12 years 6 days ago [\#180178](#180178) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  *[How to assign serial pack to item custom fields](/forum/15-general-talk-about-hikaserial/873095-how-to-assign-serial-pack-to-item-custom-fields#180178 "-- HikaShop version -- : 2.3.4 -- HikaSerial version -- : 1.8.5 -- Joomla version -- : 3  Hi!  I just purchased the business edition + Hikaserial and am starting to set up a shop selling primarily software. First off, congratulations for an amazing product! Very flexible but not monolithic as some other packages out there. Thx!  My goal is to have one single product with 2 options, one of which is conditional:  - download or in a box - If in a box, then User manual in language1 or User manual in language2  Since Variants can't work conditionally (i.e. option 2 depends on option 1), I had to use custom fields. So far so good, if I choose &quot;In a box&quot; the second custom field with language selection is displayed as a dropdown.  Now the problem to which I have not found a solution yet: We have different custom serial number types for each format (download vs. box). How can I assign serial packs from Hikaserial to one specific item custom filed (e.g. download vs. box)? I found how to assign serials to variants, but as mentionned earlier, I need conditional variants and that doesn't seem to be an option in Hika.")* was created by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")*

-- HikaShop version -- : 2.3.4
-- HikaSerial version -- : 1.8.5
-- Joomla version -- : 3

Hi!

I just purchased the business edition + Hikaserial and am starting to set up a shop selling primarily software.
First off, congratulations for an amazing product! Very flexible but not monolithic as some other packages out there. Thx!

My goal is to have one single product with 2 options, one of which is conditional:

- **download** or **in a box**
- If in a box, then **User manual in language1** or **User manual in language2**

Since Variants can't work conditionally (i.e. option 2 depends on option 1), I had to use custom fields. So far so good, if I choose "In a box" the second custom field with language selection is displayed as a dropdown.

Now the problem to which I have not found a solution yet:
We have different custom serial number types for each format (download vs. box). How can I assign serial packs from Hikaserial to one specific item custom filed (e.g. download vs. box)? I found how to assign serials to variants, but as mentionned earlier, I need conditional variants and that doesn't seem to be an option in Hika.

Last edit: 12 years 6 days ago by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile"). Reason: typos and more details

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE1LWdlbmVyYWwtdGFsay1hYm91dC1oaWthc2VyaWFsLzg3MzA5NS1ob3ctdG8tYXNzaWduLXNlcmlhbC1wYWNrLXRvLWl0ZW0tY3VzdG9tLWZpZWxkcz90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 6 days ago [\#180193](#180193) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to assign serial pack to item custom fields](/forum/15-general-talk-about-hikaserial/873095-how-to-assign-serial-pack-to-item-custom-fields#180193 "-- HikaShop version -- : 2.3.4 -- HikaSerial version -- : 1.8.5 -- Joomla version -- : 3  Hi!  I just purchased the business edition + Hikaserial and am starting to set up a shop selling primarily software. First off, congratulations for an amazing product! Very flexible but not monolithic as some other packages out there. Thx!  My goal is to have one single product with 2 options, one of which is conditional:  - download or in a box - If in a box, then User manual in language1 or User manual in language2  Since Variants can't work conditionally (i.e. option 2 depends on option 1), I had to use custom fields. So far so good, if I choose &quot;In a box&quot; the second custom field with language selection is displayed as a dropdown.  Now the problem to which I have not found a solution yet: We have different custom serial number types for each format (download vs. box). How can I assign serial packs from Hikaserial to one specific item custom filed (e.g. download vs. box)? I found how to assign serials to variants, but as mentionned earlier, I need conditional variants and that doesn't seem to be an option in Hika.")*

Hi,

I understand your requirement ; I already have in the HikaSerial TODO list a request to let plugins assign packs to order dynamically.
Unfortunately it can't be done in a short time so for the moment I will recommend you to use characteristics.
Even if you can't have a conditional characteristic, you can have something similar.

While managing the variants for a product, you can delete the combination that you don't want.
These combinations won't be proposed to the customer and depending the layout you're using it can simply the display (like for the table display).

The other solution is to use a mix.
Having a characteristic for the format (download / box) and use a custom field for the language.
Using some override, you can add some javascript for the "hikashopUpdateVariant" function and display/hide the custom field depending the variant selected.

About the task in the TODO list, it will consist by a new column in the HikaShop "order" table added HikaSerial.
This column would contain some serialized data in order to link a pack to the order (or to a product_order of the order).
Thanks to that, HikaSerial will be able to manage dynamic assignations and a plugin will be able to assign a pack to an order during his creation.
This task is planned for HikaSerial 1.9.0 but I don't have precise schedule for the moment ; I'm currently working on HikaMarket 1.5.1 (and his documentation).

Regards,

---

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

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

12 years 6 days ago [\#180281](#180281) by [earmaster](/forum/user/35023-earmaster "View earmaster's Profile")  Replied by *[earmaster](/forum/user/35023-earmaster "View earmaster's Profile")* on topic *[How to assign serial pack to item custom fields](/forum/15-general-talk-about-hikaserial/873095-how-to-assign-serial-pack-to-item-custom-fields#180281 "-- HikaShop version -- : 2.3.4 -- HikaSerial version -- : 1.8.5 -- Joomla version -- : 3  Hi!  I just purchased the business edition + Hikaserial and am starting to set up a shop selling primarily software. First off, congratulations for an amazing product! Very flexible but not monolithic as some other packages out there. Thx!  My goal is to have one single product with 2 options, one of which is conditional:  - download or in a box - If in a box, then User manual in language1 or User manual in language2  Since Variants can't work conditionally (i.e. option 2 depends on option 1), I had to use custom fields. So far so good, if I choose &quot;In a box&quot; the second custom field with language selection is displayed as a dropdown.  Now the problem to which I have not found a solution yet: We have different custom serial number types for each format (download vs. box). How can I assign serial packs from Hikaserial to one specific item custom filed (e.g. download vs. box)? I found how to assign serials to variants, but as mentionned earlier, I need conditional variants and that doesn't seem to be an option in Hika.")*

Hi Jerome,

Thank you for replying so fast.
I think one of the workarounds you suggested will do fine until the new feature is implemented. ![:)](/media/kunena/emoticons/3.png ":)")

Cheers

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