• Resolved Chad

    (@aeboi80)


    I just installed this plugin, but it appears neither WooCommerce Google Feed nor the Product Catalog Feed Pro plugins are able to find the gtin field from your plugin as a valid field to assign to the google gtin feed attribute.

    Are you storing gtin on the product level in a custom field?

Viewing 5 replies - 1 through 5 (of 5 total)
  • magicke

    (@magicke)

    Just installed the plugin and have the same issue.

    I’m thinking it’s probably because I haven’t started entering any of the product gtin ids yet.

    The field’s name is ‘hwp_product_gtin’? That’s what I saw when I used my browser’s inspector feature anyways.

    magicke

    (@magicke)

    Just an fyi on this:

    field for Feed settings: hwp_product_gtin

    The field won’t show up until after you enter at least 1 GTIN number.

    Once you have at least 1 product with a GTIN entered, the field shows up.

    Peace!

    Plugin Author Scott Bolinger

    (@scottopolis)

    Yes the main GTIN is in post meta under hwp_product_gtin:

    get_post_meta( $post_id, 'hwp_product_gtin', 1 );

    If you have variations with GTINs, you can find those in post meta like this:

    get_post_meta( $variation['variation_id'], 'hwp_var_gtin', 1 );

    You have to loop through the variations to get that.

    Well, if your using ‘WooCommerce Google Feed’ it has its own GTIN fields at product and variation level. So no need for this plugin.

    As I understand this plugin exclusively adds GTIN as post meta, and displays it in product page.

    BTW in my testing only GTINs at product level were showing, at variation level they weren’t.

    Simply use this plugin and follow the instructions. You can even set EANs for variable products and assign simple and variable products dynamically to your feed: https://www.youtube.com/watch?v=5ncHUuSJK0Y

    • This reply was modified 6 years, 10 months ago by getimo.
    • This reply was modified 6 years, 10 months ago by getimo.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Where is gtin value stored?’ is closed to new replies.