Custom field to show when option is "YES"

  • Posts: 103
  • Thank you received: 1
  • Hikashop Business
1 week 4 days ago #294019

-- 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!

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

  • Posts: 62488
  • Thank you received: 8936
  • MODERATOR
1 week 3 days ago #294022

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.

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

  • Posts: 103
  • Thank you received: 1
  • Hikashop Business
1 week 3 days ago #294057

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

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

  • Posts: 62488
  • Thank you received: 8936
  • MODERATOR
1 week 2 days ago #294058

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.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum