Hello there @alphax,
Can you please provide a site URL and enable the SG Optimizer, so we can check the issue you are experiencing?
Kind regards,
Stoyan
Thread Starter
alphax
(@alphax)
Hi @stoyangeorgiev
Thank you for looking into this.
the URL is: http:// davids134 . sg-host . com/checkout/
I had reached out to the support of the WooCommerce plugin as well and was confirmed that SG Optimizer is apparently blocking the WooCommerce plugin’s JS.
I have now activated the SG Optimizer again.
Essentially what should happen is if you start typing in the field “Straße” (= Street) the autofill should start showing suggestions but it doesn’t whenever SG Optimizer is activated.
I hope you are able to find a solution. I very much appreciate your help!
Many thanks
David
-
This reply was modified 5 years, 3 months ago by
alphax.
Hey @alphax
This is an incompatibility issue between your plugins and theme.
Please add the following to your theme function.php and the problem should be solved:
add_filter( 'sgo_js_async_exclude', 'js_async_exclude' );
function js_async_exclude( $exclude_list ) {
$exclude_list[] = 'wp-i18n';
return $exclude_list;
}
Regards,
Stanimir
Thread Starter
alphax
(@alphax)
Hi @sstoqnov
Thanks so much for looking into this!
I have copied your code into my child theme functions.php
However it didn’t have any impact, the problem still remains as long as SG Optimizer is activated.
Could you please help me further?
Thanks a lot!
Best,
David
Hey @alphax
There is additional issue with google-auto-fill-address-on-checkout-order-account-page plugins.
Please keep the js minification disabled.
Regards,
Stanimir
Thread Starter
alphax
(@alphax)
Hi Stanimir,
Thank you for your answer.
I wasn’t aware of these settings.
Unfortunately the JS minification didn’t help, but I tried the other functions and disabling “Defer Render-blocking JS” did the trick.
Thanks for the hint.
Very glad this is resolved!
Best,
David
Glad it worked for you, David! Don’t hesitate to drop a star or five in the review section 🙂