开发者 |
ecreationsllc
ccloyd scottg11 natekinkead |
---|---|
更新时间 | 2019年1月17日 04:42 |
PHP版本: | 3.0.0 及以上 |
WordPress版本: | 5.0.2 |
版权: | GPLv3 |
版权网址: | 版权信息 |
Edit each product in WooCommerce. In the "Product data" panel, click on the "Inventory" tab. You should see a new field labeled "GTIN". Enter your UPC, EAN, or ISBN for the product and click "Update".
There are many reasons why the survey opt-in is not coming up, most of them out of our control. This plugin integrates the code according to Google's guidelines, but it's up to Google and your Merchant Center account to actually display something.
Yes, it does now! Originally it didn't and at that time, according to Google, the GCR opt-in survey would not show on mobile devices. They had said "Thanks for your feedback though and we will take it onboard for future reference." Well, I'm happy to report that it seems Google really has taken this feedback and implemented the survey popup on mobile devices. No update of this plugin is necessary for this new feature. If you find it's not working for you, please let us know in the support forum. Thanks.
I don't have a complete answer for this yet, but I've heard reports of users not able to see the survey opt-in on some browsers. In one case, simply going to that same (order received) URL in Incognito Mode resolved the issue, so there must be some kind of browser extension or recognized session that prevents the survey opt-in. But, rest assured, if it works in Incognito Mode, then it should work for your customers.
There is a setting for this plugin that allows you to choose the number of days that Google should wait before sending the email. This setting is called “Estimated Delivery (days)”. This is to make sure the survey goes out after the customer has received the item. Please be aware that Google often will send the email 3-4 days after the amount of days that you provide in this setting. I think that is to give the customer ample time to use the product in order to be able to give a review.
In the rare case you are using another WordPress plugin that obfuscates email addresses, that can cause this issue with this plugin. The email on the survey opt-in will appear with a bunch of seemingly random characters. One such plugin that causes this issue is WP-Spamshield. If using that plugin, check the option called "Disable email harvester protection" and that will fix the issue.
You can use the filter hook called 'ecr_show_gcr_badge'. Return false inside of a condition to prevent it from displaying for that condition. Here is an example that hides the badge for product ID 1280.
function my_gcr_badge_function($show) { if(get_the_ID() == 1280) { return false; } return $show; } add_filter('ecr_show_gcr_badge', 'my_gcr_badge_function');
You can use the filter hook called 'gcr_delivery_days'. `function my_delivery_days_function($num_days, $order) { // $order is the WC_Order object so you can run any of the relevant methods on it // $num_days is the number of days it typically takes to deliver. This function is overriding the default from the plugin settings. // Do something with the $order object to change the $num_days integer. return (int)$num_days; } add_filter('gcr_delivery_days', 'my_delivery_days_function');`