Title: Bug with conditional
Last modified: April 30, 2023

---

# Bug with conditional

 *  Resolved [icecube17](https://wordpress.org/support/users/icecube17/)
 * (@icecube17)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/bug-with-conditional/)
 * I found some bugs when you use the conditional more than one time in the same
   meta.
 * I think that the main problem is that if with you trigger more than one condition
   with one selected option it works only the first.
 * I set 4 option with the following rules:
    - If option 2 or 3 is the last: hide option 1
    - If option 1 or 3 is the last: hide option 2
    - If option 1 or 2 is the last: hide option 3
    - If option 1, 2 and 3 is the first: show option 4
 * Like this the option 3 will be never hidden and when I select the first option
   in 1, 2 and 3 it doesn’t show the option 4 always. if I disable 3 of these conditions
   the one I leave works correctly.

Viewing 1 replies (of 1 total)

 *  Plugin Support [Stefan Cotitosu](https://wordpress.org/support/users/stefancotitosu/)
 * (@stefancotitosu)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/bug-with-conditional/#post-16716107)
 * Hi [@icecube17](https://wordpress.org/support/users/icecube17/),
 * Thank you for using PPOM, and I’m sorry to hear about the difficulties you encountered.
 * Can you please share a screenshot with one of the conditions you added? Right
   now, it is not very clear to me how to set the conditions to be able to replicate
   it.
 * Regards,
   Stefan

Viewing 1 replies (of 1 total)

The topic ‘Bug with conditional’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-product-addon/assets/icon-256x256.gif?rev=3186763)
 * [PPOM - Product Addons & Custom Fields for WooCommerce](https://wordpress.org/plugins/woocommerce-product-addon/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-product-addon/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-product-addon/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-product-addon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-product-addon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-product-addon/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Stefan Cotitosu](https://wordpress.org/support/users/stefancotitosu/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/bug-with-conditional/#post-16716107)
 * Status: resolved