• I wanted to add below code to existing plugin of Easy wc google merchant center review.

    // OPTIONAL FIELDS
    “products”: [{“gtin”:”GTIN1″}, {“gtin”:”GTIN2″}]

    What should I add in “class-se-wc-google-reviews-opt-in.php”

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author storessential

    (@storessential)

    This is something we are looking at adding to future versions of the plugin. Unfortunately customization of the plugin in such a way goes beyond the scope of what can be provided in this forum, as how to add the GTIN varies massively depending on how the product GTINs are stored in the first place.

    This is why the feature is not in the plugin as of yet, we are looking in to the different ways that other plugins store the product GTINs so that we can access the data to provide in the array that gets sent to Google.

    Apologies that I could not be of more help today. Please be assured that this feature is on the roadmap for a future release.

    Plugin Author storessential

    (@storessential)

    The latest release of the plugin has added a filter se_wcgr_opt_in_data that allows you to modify the opt-in code before it is rendered. By adding a hook in your child theme, you will be able to modify the opt-in code and add the GTIN as needed.

    This is exactly what I’m searching. Is there a final snipped avaiable which I can add into functions.php and just replace the field for gtin-number. Using a product feed plugin and can use this field for this gtin transfer to google.

    Plugin Author storessential

    (@storessential)

    Which product feed plugin are you using for your GTINs? I’ll have a look to see if I can see how they store the GTINs and get a working snippet coded for you.

    I’ll go ahead and wake this topic to life again. I use the very popular Customer Reviews for Woocommerce-plugin. Have you looked anything at how this plugin stores the GTIN field they create and if this is possible to integrate with your excellent plugin?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wanted to add optional fileds og GTIN’ is closed to new replies.