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

#   Custom field to show when option is "YES"

##

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

Less More

- Posts: 108
- Thank you received: 1
-
-

8 years 5 months ago [\#294019](#294019) by [shoppist](/forum/user/31108-shoppist "View shoppist's Profile")  *[Custom field to show when option is "YES"](/forum/26-product-category-display/894989-custom-field-to-show-when-option-is-yes#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!")* was created by *[shoppist](/forum/user/31108-shoppist "View shoppist's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTQ5ODktY3VzdG9tLWZpZWxkLXRvLXNob3ctd2hlbi1vcHRpb24taXMteWVzP3RtcGw9bWFya2Rvd24=) 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: 86584
- Thank you received: 14325
-
-

8 years 5 months ago [\#294022](#294022) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field to show when option is "YES"](/forum/26-product-category-display/894989-custom-field-to-show-when-option-is-yes#294022 "-- 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!")*

Hi,

It would require some custom coding.
The simplest is to edit the file "option" of the view "product" via the menu Display&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTQ5ODktY3VzdG9tLWZpZWxkLXRvLXNob3ctd2hlbi1vcHRpb24taXMteWVzP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 108
- Thank you received: 1
-
-

8 years 5 months ago [\#294057](#294057) by [shoppist](/forum/user/31108-shoppist "View shoppist's Profile")  Replied by *[shoppist](/forum/user/31108-shoppist "View shoppist's Profile")* on topic *[Custom field to show when option is "YES"](/forum/26-product-category-display/894989-custom-field-to-show-when-option-is-yes#294057 "-- 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!")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTQ5ODktY3VzdG9tLWZpZWxkLXRvLXNob3ctd2hlbi1vcHRpb24taXMteWVzP3RtcGw9bWFya2Rvd24=) 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: 86584
- Thank you received: 14325
-
-

8 years 5 months ago [\#294058](#294058) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Custom field to show when option is "YES"](/forum/26-product-category-display/894989-custom-field-to-show-when-option-is-yes#294058 "-- 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!")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTQ5ODktY3VzdG9tLWZpZWxkLXRvLXNob3ctd2hlbi1vcHRpb24taXMteWVzP3RtcGw9bWFya2Rvd24=) 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.093 seconds

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