Hello @woochilles
How is this GTIN number added?
As you can understand it is impossible for us to support all third party attributes plugins, so that is why the “third party attributes” option has been added. It should support any third-party plugin, but you need to know the meta_key under which the attributes are stored in the database.
To find the correct (meta)key:
1. Create on new product and add a value in the “gtin/mpn” custom field.
2. Check your database and go to table wp_postmeta (with PHP MySQL for example)
3. sort the table on meta_id Descending
4. The top meta_key would be the meta_key from your custom product field.
If you have found the meta_key, you can make a filter string like %meta_key% (only the prefix of the key) that should be added to the “third party attributes” field you find in our plugin settings page. After that, you should have to search for how it is displayed in the source list as that can vary for each plugin as well.
Hi @woochilles,
Where you able to solve the issue? Can we close your topic?
Hi Michel,
Sorry for letting it sit too long. There is a product field “GTIN” in the woocommerce core. I think it is native, not from a plugin. This field is represented with a meta_key “_ts_gtin” in the postmeta table. However, there is no option linked to this meta_key in your feed manager.
Looking at the meta key that it is stored under I don’t think it is a native attribute.
Could you try to open the Feed Manager -> Settings page and add %_ts_% to the “Third party attributes” string? (Don’t forget to add a comma as separator).
I think that should add the field to the available attributes.
Yes, that helped. Thanks Michel!
You’re welcome @woochilles :-).
Have a nice day!
Hello @michel-jongbloed
What we have to add to attributes if GTIN was added as ACF text field “x_gtin” ?
x_ is for every new product variable we add, to have all of them easily findable on a list of extra variables
thank you in advance for the information,
Krzysztof Balicki
Hi @websystems2006,
In that case you could use a more specific %x_gtin% in the “Third party attributes”.