JS error with WP Rocket and Geolocation (with caching support)
-
Hello – We are getting a javascript error while using the Woocommerce geolocation (with caching support) and the WP Rocket caching program. The error is:
Uncaught ReferenceError: Cookies is not defined
at HTMLDocument.<anonymous> (geolocation.min.js?ver=5.7.0:1)
at e (jquery.min.js?ver=3.6.0:2)
at t (jquery.min.js?ver=3.6.0:2)Are you able to advise what may be causing this issue?
Also, is it possible to run the Woocommerce Geolocation feature only on woocommerce pages instead of being site wide? We only really want it to run on Shop page, cart, checkout etc, not any other webpages.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘JS error with WP Rocket and Geolocation (with caching support)’ is closed to new replies.