Switch from HTTP > HTTPS WC Assets not Linking to HTTPS
-
Hey there,
I’ve done my best over the last few hours to try to figure out how this is being broken.
When switching over to HTTPS for everything, I’m getting Mixed Content errors and Front end “Variable product” not loading (no add to cart button on product pages).
On my single product page, I have 12 errors, all WC JS and CSS files.
I have re=installed woocommerce. I’ve also grep’d a backup to find these sitting in plain text.
Unfortunately I don’t think I understand how WC registered scripts for later use. I have looked at the file that registers these scripts and they use relative path’ing, so I can only think this is from the switch. When the WC plugin runs the following, where is it stored? How do you purge it? Or am I not understanding this process correctly?
self::register_script( 'wc-add-to-cart-variation', $frontend_script_path . 'add-to-cart-variation' . $suffix . '.js' );
inwoocommerce/includes/class-wc-frontend-scripts.php
- The topic ‘Switch from HTTP > HTTPS WC Assets not Linking to HTTPS’ is closed to new replies.