Open xfoxgit opened 8 years ago
Hey xfoxgit,
I have had this exact same issue for weeks. Optional: Google Shopping Item ID is missing How to Fix: Enter the Google Shopping Item ID in the "google_base_offer_id" field of the Google Trusted Stores JavaScript code.
All my settings are correct it just won't get past this error.
I have searched through the plugin files and found this:
if ( is_product() ) {
global $product;
$code .= 'gts.push(["google_base_offer_id", "' . esc_js( $product->id ) . '"]);';
}
This must be where the error lies but i have no idea! "woocommerce-google-trusted-stores-integration-master/includes/class-wc-google-trusted-stores-integration.php"
I am going to need to pay a developer to get this plugin working :(
I also got the warning. I realized that this warning only shows on non-product pages on my site. If I navigate to a product page, the page passes validation. I believe you can ignore this warning, if it only shows on non-product pages. No developer needed.
From the my Google warning: "If you see this error on a non-product page or if you have chosen to leave out this field, you may disregard this warning."
I've got UK store, have both Google Trusted Stores ID and Google Shopping Account ID
Keep getting this error, what do I add to the code??
google_base_offer_id
Optional: Google Shopping Item ID is missing How to Fix: Provide the Google Shopping Item ID in the “google_base_offer_id” field of the Google Certified Shops JavaScript code. This is a recommended but optional field. This field does not affect core functionality, and leaving this warning unresolved will not prevent you from entering the monitoring period. However, merchants using Google Shopping should correct these errors to ensure proper integration. This integration will allow Google to more easily correlate specific products to data that you have provided in connection with Google Certified Shops. If you see this error on a non-product page or if you have chosen to leave out this field, you may disregard this warning.
http://support.google.com/trustedstoresmerchant/bin/answer.py?hl=en-GB&answer=2609894