- Posts: 101
- Thank you received: 0
How to add multiple level custom fields on product
I'm new and using Hikashop business. I want to know how to add custom fields for products with multiple levels. For example: I have 3 group of attributes: Size, Color and Length
in Size have S1 and S2
in S1 have color A, B
In S2 have color C, D
In A have length A1, A2
in B have length B1, B2
...
If we don't have choose Size first, we can't choose Color
If we don't have choose Color, we can't choose Length
How can we implement this with Hikashop Business. Thanks so much.
Please Log in or Create an account to join the conversation.
You can create custom fields of the table "item".
Once you created the Size custom field, create two color fields one with the values A and B, the other with the values C and D. Then, in each, you can use the "display limited to" option to restrict each to their corresponding value of the Size custom field.
Then, rinse and repeat for the third level of fields etc.
Please Log in or Create an account to join the conversation.
Thanks for your support
Please Log in or Create an account to join the conversation.
You can't set prices on custom field values. If you need to change the price of a product based on custom item fields, you need to create a product quantity price override plugin:
www.hikashop.com/support/documentation/6...tation.html#override
You can find an example of such plugin here:
demo.hikashop.com/index.php?option=com_h...ct&task=show&cid=214
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
We don't have such a plugin coded right now because we don't have many demands for it but you can ask on our commercial job forum for someone to do it. It's not so hard to code and our documentation is giving some good points to help you.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
The first picture is what I get when I select "display limited to:shirt type-womens tank" and hit save. I did the same thing with the t shirts and it worked fine.
What as I missing?
Thanks
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
BUT... the big thing is what is all that appears on the left side of the screen? It doesn't do that when I selected "display limited to- Unisex T". It worked just fine. See the jpg I attached.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
thanks
Please Log in or Create an account to join the conversation.
I think that you have a javascript error in the page, or you customized something.
We have a script which hide all elements when the page is loaded. After that, when an element is selected in the dropdown, the script will show/hide some lines depending the chosen one.
If all lines are visible it means that there was a problem with the initial script.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I think that it will be the best. I won't let you make some javascript debug.
The feature is working fine on the demo website and I suppose that you have a problem in your website which broke this custom fields edition page.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.