Title: multiple ruling doesent work?
Last modified: October 18, 2022

---

# multiple ruling doesent work?

 *  Resolved [wpsolen](https://wordpress.org/support/users/wpsolen/)
 * (@wpsolen)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/multiple-ruling-doesent-work/)
 * Hi,
 * When I have these rules, it wont change my availability to the specified value.
 * > [View post on imgur.com](https://imgur.com/a/7MB7D2B)

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

 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/multiple-ruling-doesent-work/#post-16110011)
 * Hi,
 * That is because the values are “in stock” and “out of stock”, with spaces in 
   between them. You forgot those spaces.
 *  Thread Starter [wpsolen](https://wordpress.org/support/users/wpsolen/)
 * (@wpsolen)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/multiple-ruling-doesent-work/#post-16113497)
 * Yeah, but that’s the thing I want to change. The company that reads the feed 
   needs them in this format: out_of_stock and in_stock instead of instock and outofstock
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/multiple-ruling-doesent-work/#post-16113820)
 * What feed template/channel are you using? The custom feed?
 *  Thread Starter [wpsolen](https://wordpress.org/support/users/wpsolen/)
 * (@wpsolen)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/multiple-ruling-doesent-work/#post-16114071)
 * I’m using prisjakt.se
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/multiple-ruling-doesent-work/#post-16114425)
 * Maybe I do not understand correctly but when I create a feed for Prisjakt.se 
   using our plugin the availabilities are already showing these values:
 * <g:availability>in_stock</g:availability>
    <g:availability>out_of_stock</g:availability
   >
 * So you do not need a rule for that?
 *  Thread Starter [wpsolen](https://wordpress.org/support/users/wpsolen/)
 * (@wpsolen)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/multiple-ruling-doesent-work/#post-16117185)
 * That’s very confusing. Here’s a few screenshots and as you can see there’s no
   underscore between in and stock if you check my feed.
 * [https://papmau.se/wp-content/uploads/woo-product-feed-pro/xml/aFpZrAATSqLBj08sE5n7GRdpLlbbSE8L.xml](https://papmau.se/wp-content/uploads/woo-product-feed-pro/xml/aFpZrAATSqLBj08sE5n7GRdpLlbbSE8L.xml)
 * > [View post on imgur.com](https://imgur.com/a/uGNx0rj)
 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/multiple-ruling-doesent-work/#post-16117702)
 * You are using a wrong field in the g:availability field mapping. Just use the“
   availability” attribute for it and not the “Stock Status WooCommerce”.
 *  Thread Starter [wpsolen](https://wordpress.org/support/users/wpsolen/)
 * (@wpsolen)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/multiple-ruling-doesent-work/#post-16117746)
 * Thanks a bunch! <3

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

The topic ‘multiple ruling doesent work?’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [wpsolen](https://wordpress.org/support/users/wpsolen/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/multiple-ruling-doesent-work/#post-16117746)
 * Status: resolved