enollo / woocommerce-google-trusted-stores-integration

Provides integration between Google Trusted Stores and WooCommerce.
12 stars 18 forks source link

GTS Browser Test validation failure #13

Open joceph opened 9 years ago

joceph commented 9 years ago

Would anybody be able to advise on why only the Firefox browser validation isn't working for me? Chrome and IE are fine...

If you see my Javascript debug screenshot below you can see the code is embedded exactly as required, so I can't work out what would cause it not to display the badge and pass the Test?

Any assistance for this would be hugely appreciated... thanks

gts

(My browser Test Drive link is as follows, if this can also be ran by others to check themselves: https://www.googlecommerce.com/trustedstores/testdrive?id=638616&sid=638588&useSid=1&tdt=400878&sig=baG9DXjeBf8)

joceph commented 9 years ago

As an update I have seen that in Firefox the badge_position line is missing... is there any reason the plugin integration would include the badge_position on Chrome and IE, but not Firefox 41.0 (is this version still Beta: https://www.mozilla.org/en-US/firefox/41.0beta/releasenotes/ )?

Any help is greatly appreciated. Perhaps this is a bug at Firefox 41.0, or something that can be tweaked in the plugin script to resolve?

Many thanks

gts firefox

princebhalani143 commented 8 years ago

You can add badge line manually as of now this plugin taking bottom_right by default so no need to worried about side.

under plugin\woocommerce-google-trusted-stores-integration-master\includes\class-wc-google-trusted-stores-integration.php

add on line no 185 as below

gts.push(["badge_position", "BOTTOM_LEFT"]);

You can choose left or right whatever you want to place :)