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

#   Conditional Custom Item Input Box

##

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

Less More

- Posts: 10
- Thank you received: 0
-
-

10 years 7 months ago [\#235359](#235359) by [laus](/forum/user/39892-laus "View laus's Profile")  *[Conditional Custom Item Input Box](/forum/26-product-category-display/883593-conditional-custom-item-input-box#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&#95;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.")* was created by *[laus](/forum/user/39892-laus "View laus's Profile")*

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

[ ![ShopCapture1.jpg](/forum/attachment/30447) ](/forum/attachment/30447 "ShopCapture1.jpg")

- [ ![ShopCapture1.jpg](/forum/attachment/30447) ](/forum/attachment/30447 "ShopCapture1.jpg") [ ](/forum/attachment/30447?download=1 "ShopCapture1.jpg")

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

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

10 years 7 months ago [\#235362](#235362) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Conditional Custom Item Input Box](/forum/26-product-category-display/883593-conditional-custom-item-input-box#235362 "-- 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&#95;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.")*

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&gt;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](https://www.hikashop.com/forum/product-category-display/873446-product-options-and-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](https://www.hikashop.com/forum/4-how-to/861590-show-custom-field-based-on-characteristics.html#121380)

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

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
