Title: Conditional Logic Option Bug
Last modified: December 15, 2022

---

# Conditional Logic Option Bug

 *  [qandm](https://wordpress.org/support/users/qandm/)
 * (@qandm)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/conditional-logic-option-bug/)
 * Hi, I found a bug related to the conditional logic option. I created two select
   fields, one always appears (is the **Gift Wrapping** select field) and the second(
   is the **The gift should be…** required select field) only appears when the user
   selects at least one option in the first field (**Gift Wrapping** select field).
   Apparently everything works fine, but if a user does not select **any** options
   and **adds** the product to the cart, but after that changes his mind and wants
   to select a “**Gift Wrapping**” option that should activate the **“The gift should
   be…**” required select field, this field no longer appears, and even though it
   is a required field (the second select) as it does not appear, the user can simply
   add it to the cart without the second selection.
    -  This topic was modified 3 years, 5 months ago by [qandm](https://wordpress.org/support/users/qandm/).
    -  This topic was modified 3 years, 5 months ago by [qandm](https://wordpress.org/support/users/qandm/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fconditional-logic-option-bug%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [crodriguez1991](https://wordpress.org/support/users/crodriguez1991/)
 * (@crodriguez1991)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-option-bug/#post-16322742)
 * Hello there,
 * I hope you’re doing well :D.
 * Could you please send me an image where I can see the addons configuration and
   also the conditional logic? In this way I can try to reproduce the problem on
   my local installation.
 * I’m looking forward your response.
 * Have a good day,

Viewing 1 replies (of 1 total)

The topic ‘Conditional Logic Option Bug’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-product-add-ons/assets/icon-128x128.gif?
   rev=3142291)
 * [YITH WooCommerce Product Add-Ons](https://wordpress.org/plugins/yith-woocommerce-product-add-ons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-product-add-ons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-product-add-ons/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [crodriguez1991](https://wordpress.org/support/users/crodriguez1991/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/conditional-logic-option-bug/#post-16322742)
 * Status: not resolved