Conditional Custom Item Input Box

  • Posts: 10
  • Thank you received: 0
8 years 11 months ago #235359

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8

I have attached an image of my current product page.

I have added a OPTIONS for 'initials' and 'printed name'. I have also added two Custom Item Fields for 'initials' and 'printed_name' which is the input boxes you can see. The order form looks great, but what I really want to do on the product page is show the input boxes ONLY when the YES option is selected.

I have read lots of ways to do similar things but I have read so much I can't see the wood for the trees. Can anyone guide me how I should do this please?

TIA.

Attachments:

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

  • Posts: 83401
  • Thank you received: 13494
  • MODERATOR
8 years 11 months ago #235362

Hi,

There is no option to do that.
The only solutions will require some development.
You could edit the file "options" of the view "product" via the menu Display>Views and add custom javascript code on the option dropdowns to hide the custom fields area or display it with the customer change the selection of the option.
www.hikashop.com/forum/product-category-...d-custom-fields.html
Or instead of using options, you could use only custom fields with the "display limited to" setting to hide custom fields based on other custom fields value and then develop a custom plugin to override the price of the produce in the cart based on what is entered in the custom fields.
www.hikashop.com/forum/4-how-to/861590-s...eristics.html#121380

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

Time to create page: 0.059 seconds
Powered by Kunena Forum