- Posts: 108
- Thank you received: 1
Custom field to show when option is "YES"
8 years 4 months ago #294019
by shoppist
Custom field to show when option is "YES" was created by shoppist
-- HikaShop version -- : Business 3.4.0
-- Joomla version -- : 3.8.8
-- Browser(s) name and version -- : chrom
Hi,
I need a custom field to show in a product dispaly only if before that an option has been chosen.
Is that possible? if yes, HOW ?
I have already created the custom field and I have already created the option, I just don't know how to make them dependet.
Thank you!
-- Joomla version -- : 3.8.8
-- Browser(s) name and version -- : chrom
Hi,
I need a custom field to show in a product dispaly only if before that an option has been chosen.
Is that possible? if yes, HOW ?
I have already created the custom field and I have already created the option, I just don't know how to make them dependet.
Thank you!
Please Log in or Create an account to join the conversation.
8 years 4 months ago #294022
by nicolas
Replied by nicolas on topic Custom field to show when option is "YES"
Hi,
It would require some custom coding.
The simplest is to edit the file "option" of the view "product" via the menu Display>Views and modify the javascript code there to add a few lines to hide/display the area of the custom field based on the value of the option being changed.
A javascript developer should be able to easily do that for you.
It would require some custom coding.
The simplest is to edit the file "option" of the view "product" via the menu Display>Views and modify the javascript code there to add a few lines to hide/display the area of the custom field based on the value of the option being changed.
A javascript developer should be able to easily do that for you.
Please Log in or Create an account to join the conversation.
8 years 4 months ago #294057
by shoppist
Replied by shoppist on topic Custom field to show when option is "YES"
Another question is why am I noe getting the value of the custom field in the order details backend? as a customer I can see it in the frontend cart area.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
8 years 4 months ago #294058
by nicolas
Replied by nicolas on topic Custom field to show when option is "YES"
Hi,
I would recommend to check the display settings of the custom field first and make sure that they are set to yes for the different backend pages.
I would recommend to check the display settings of the custom field first and make sure that they are set to yes for the different backend pages.
Please Log in or Create an account to join the conversation.
Time to create page: 0.060 seconds