Tagged: Cart, redirect loop
Hi,
I’m having a problem with the ‘View Cart’ buttons both in the sidebar widget and the ajax cart on my site.
It appears the problem is caused by the shop and product pages being https, but the ‘View Cart’ button pointing to http://redacted.com.au/cart/
If I manually type in https://redacted.com.au/cart/ then everything works as it should.
Where in the theme files can I update the ‘View Cart’ link to always point to https not http.
Thanks in advance.
Regards,
Luke
Hey Luke!
I believe this is more of a WooCommerce issue rather than Enfold, as the widget in question is installed by WC, nevertheless try installing this plugin to see if it gets fixed:
https://wordpress.org/plugins/wp-force-https/
Cheers!
Josue
Thanks Josue, I’ll see if that works.
Cheers,
Luke
The Force HTTPS plugin seemed to want to do the entire website which isn’t ideal for us.
Solution Found:
Install this plugin: https://wordpress.org/support/view/plugin-reviews/wordpress-https#postform
Go to your Cart page and Checkout page in WordPress and under the HTTPS widget, select the checkboxes ‘Secure Post’ and ‘Secure Child Posts’
Done!
Great, thanks for sharing your solution :)
Best regards,
Josue