Hi, thanks for reaching out… glad to help.
It looks like you’re using some plugin that overrides the standard WooCommerce Order Received page with a custom page. Your page just has the single line thanking the user for their order instead of the usual page that shows a confirmation of the order number, line items, shipping address, etc. In that case, the URL has an order number and a nonce token.
The reason why this plugin’s code doesn’t show up is because we made it to hook into the WooCommerce Order Received page.
I should be able to deactivate the plugin that is doing the custom Woo thank you page, and it should work.
Also, I noticed you’re using Rocket Script from Cloudflare. If my plugin doesn’t work after going back to the standard Woo order received page, try disabling Rocket Script since it has been known to cause issues.
Hi thank you for replying! Because I couldn’t get the plugin to work I tried to get a web designer to implement some code to fix it I might of made things worse!
Which plugin is changing the order received page? Smart checkout ?
Would you be able to help me fix the issues personally? Thanks for help I’d really like to get this plugin up and running 👍😊🤔
Not sure what has changed or if you updated your plugin but I am now seeing the optin appear at checkout and the badge but due to know reviews yet I have it set as not showing.
Another question ! Does your plugin include the code for product reviews? eg this extra code …see below
In your site’s source code, locate the new Google Customer Reviews opt-in module snippet shown in Step 2.
Below the “opt_in_style” line, add the new “products” line.
// OPTIONAL
“opt_in_style”: “OPT_IN_STYLE”,
“products”: [{“gtin”:”GTIN1″}]
The line above specifies the products in a customer’s order as an array of JSON “gtin” objects inside a “products” array. This line has just one “gtin” object, so it will enable Google Customer Reviews to collect a single GTIN for an order, regardless of how many products are part of the order. To collect a GTIN for every product in an order, you’ll need to add code to your site to dynamically add a “gtin” object to the “products” array for every distinct product in the order.
For example, an order that includes two distinct products should have a snippet that looks like this:
// OPTIONAL
“opt_in_style”: “OPT_IN_STYLE”,
“products”: [{“gtin”:”GTIN1″}, {“gtin”:”GTIN2″}]
And an order that includes three distinct products should have a snippet that looks like this:
// OPTIONAL
“opt_in_style”: “OPT_IN_STYLE”,
“products”: [{“gtin”:”GTIN1″}, {“gtin”:”GTIN2″}, {“gtin”:”GTIN3″}]
Replace “GTIN1”, “GTIN2”, “GTIN3” with actual numerical GTIN values.
Once you have correctly implemented the new code on your site, we’ll start collecting GTINs from orders placed on your site and gathering product reviews from your shoppers.
If it does to get product reviews I just need gtins for all my products ?
Thanks for any help!
Awesome! Glad to hear it started working for you. I didn’t update the plugin, so it must have been something else you did.
I’ve had a few other requests for this new GTIN feature. However, I’m not sure of the best way to implement this because WooCommerce sites typically don’t have GTINs associated with their products. I think you would need to use a plugin or store it in a custom field. I’m trying to think of an interface that would let you choose the custom field where the GTIN may be stored.
We just release version 2.0 which includes GTIN integration for Product Reviews! Check it out!