The image is already part of the feed filters… So no idea what else to try here… ?
Not sure if its related but it seems you are using a custom attribute for your stock?
[mapfrom] => custom_attributes__stock
The exclude filter you build however is on the official WooCommerce quantity/stock field so perhaps that could explain why at least that filter doesn’t work?
Actually I did use the normal Woo field – as far as I can say.
There is a field “Quantity [Stock]” (which I used) and another called “stock (Custom attribute)”. I just tried the second one and it also delivered 0 as an value.
The values exported in the feed are right – but the filter is not working, because it says to exclude elements with values equal or lower than 0 – which it doesn’t.
https://www.dropbox.com/s/537mxieibtczu2q/Bildschirmfoto%202020-04-17%20um%2015.18.21.png?dl=0
For us it keeps working fine.
Look, this is how we tested this. We added a custom label to a feed mapped to the Quantity attribute:
https://www.dropbox.com/s/5p5jlhsrsphmb2a/quantity-0.png?dl=0
Which results to 3 products in a feed. The first one has a quantity of 4, the other have a quantity of 0: https://www.dropbox.com/s/weq0ftjwkthvh9b/quantity-1.png?dl=0
Next we create an exclude filter that looks like this and reprocess the feed:
https://www.dropbox.com/s/xkw9p72yu9tlubu/quantity-2.png?dl=0
Which results to this in the feed:
https://www.dropbox.com/s/2m7ah5tcak4n47v/quantity-3.png?dl=0
As you can see the filter does exactly what it is supposed to do and works fine. We would really like to help you out here but we simply can’t reproduce the issue you are experiencing 🙁
Hi there.
I made some more tests with the contributions from your last answer.
If I do a custom feed with this filter config
https://www.dropbox.com/s/t0f40m9kbktuvet/Bildschirmfoto%202020-04-18%20um%2017.30.35.png?dl=0
I get a feed of approx. 137kB and NO products with stock less or equal than 0. This is how it should work.
https://www.dropbox.com/s/gvnn9k29au5h4x3/Bildschirmfoto%202020-04-18%20um%2017.28.50.png?dl=0
BUT… if I add more filters that should exclude products from the feed like here https://www.dropbox.com/s/v5zkmvb08wvubk1/Bildschirmfoto%202020-04-18%20um%2017.28.15.png?dl=0
then I get a xml file of approx 640kb (though there are MORE filters to exclude products) and 50(!!!) products with stock of 0.
https://www.dropbox.com/s/dfw3zvkwr32rgu6/Bildschirmfoto%202020-04-18%20um%2017.28.03.png?dl=0
So, where is the difference / error?
Would it help if you get an temporary login to our page?
thx.
ps: btw how did you manage to create a custom field with numbers? I tried to create the exact custom field like you did in your first screenshot – but I got this error
https://www.dropbox.com/s/jdku378l9l63jvj/Bildschirmfoto%202020-04-18%20um%2017.16.47.png?dl=0
Hi,
Good news, we were able to replicate the issue at hand and have just pushed out a new release of the plugin that should solve the issue. Could you download the plugin and give it a try?
The custom field with numbers is a default field for Google Shopping and Facebook feeds (only) that can be selected from the drop-down.
Hi.
Great news! I just updated and made a few tests. The feed is now generated as it should be 🙂
I will continue to watch how it works on pinterest.
Thanks for your help so far.
Perfect, thanks for your patience and help sorting this issue out. Appreciated!