Hi,
That is because the values are “in stock” and “out of stock”, with spaces in between them. You forgot those spaces.
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
What feed template/channel are you using? The custom feed?
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?
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
View post on imgur.com
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”.