Title: Rules problem
Last modified: May 11, 2021

---

# Rules problem

 *  Resolved [winsa27](https://wordpress.org/support/users/winsa27/)
 * (@winsa27)
 * [5 years ago](https://wordpress.org/support/topic/rules-problem/)
 * We have tried your module but we have a problem in the configuration.
 * We have a product A where we hide the carriers except Pick up in store
 * We have a product B or we hide the carriers except home delivery.
 * It works well if there is product A or product B in the cart.
 * But if we have product A and B in the basket at the same time, we no longer have
   any carriers to offer.
 * How to solve this problem ?
 * Thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Hitendra Chopda](https://wordpress.org/support/users/hitendra-chopda/)
 * (@hitendra-chopda)
 * [5 years ago](https://wordpress.org/support/topic/rules-problem/#post-14438557)
 * Hello Winsa27,
 * Thanks for contacting us.
 * In this type of situation, you need to add two product-based rules.
 * Please review below with an example.
 * **Case – 1:**
    Rule 1: Cart contains Product = Product A Rule 2: Cart contains
   Product != Product B
 * **Case – 2:**
    Rule 1: Cart contains Product = Product B Rule 2: Cart contains
   Product != Product A
 * From the above case, it will only check the rules if both products do not exist
   in the cart.
 * Hope this helps. Let me know how it works.
 * Best Regards,
    Hitendra & Dotstore Team
 *  Thread Starter [winsa27](https://wordpress.org/support/users/winsa27/)
 * (@winsa27)
 * [5 years ago](https://wordpress.org/support/topic/rules-problem/#post-14447320)
 * Hello,
 * Thank you for your reply. In the example you gave us the rule is based on a product
   contained in the basket.
 * The concern is that when we choose this option and indicate the 3 letters of 
   a product, it is indicated that there are no results even though the products
   do exist.
 * This is why in our case we have made the rules on the categories of products.
 *  Plugin Support [Hitendra Chopda](https://wordpress.org/support/users/hitendra-chopda/)
 * (@hitendra-chopda)
 * [5 years ago](https://wordpress.org/support/topic/rules-problem/#post-14461799)
 * Hello Winsa27,
 * Thanks for your reply.
 * Okay, I think you try to search the wrong title or variable product title and
   might not display it in the list.
 * Our current light version supports simple products only.
 * Please verify the product type and let us know if you found anything.
 * Best Regards,
    Hitendra & Dotstore Team
 *  Plugin Support [Hitendra Chopda](https://wordpress.org/support/users/hitendra-chopda/)
 * (@hitendra-chopda)
 * [5 years ago](https://wordpress.org/support/topic/rules-problem/#post-14488660)
 * Hello Winsa27,
    ﻿ We haven’t heard back from you in a while, so I’m going to 
   mark this as resolved. ﻿ If you have any further questions, you can start a new
   thread. ﻿ Best Regards, Hitendra & Dotstore Team

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Rules problem’ is closed to new replies.

 * ![](https://ps.w.org/hide-shipping-method-for-woocommerce/assets/icon-256x256.
   png?rev=3011292)
 * [Hide Shipping Method For WooCommerce](https://wordpress.org/plugins/hide-shipping-method-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hide-shipping-method-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hide-shipping-method-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/hide-shipping-method-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hide-shipping-method-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hide-shipping-method-for-woocommerce/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Hitendra Chopda](https://wordpress.org/support/users/hitendra-chopda/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/rules-problem/#post-14488660)
 * Status: resolved