• Resolved woochilles

    (@woochilles)


    Hi,

    The field GTIN is ignored in product feeds (free version). Produkt_GTIN doesn’t work either.

    Best regards,
    Peter

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter woochilles

    (@woochilles)

    Same issue with MPN

    Plugin Author AukeJomm

    (@aukejomm)

    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.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hi @woochilles,

    Where you able to solve the issue? Can we close your topic?

    Thread Starter woochilles

    (@woochilles)

    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.

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    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.

    Thread Starter woochilles

    (@woochilles)

    Yes, that helped. Thanks Michel!

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    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

    Plugin Contributor Michel Jongbloed

    (@michel-jongbloed)

    Hi @websystems2006,

    In that case you could use a more specific %x_gtin% in the “Third party attributes”.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘GTIN is Ignored in Product Feed’ is closed to new replies.