News:

Looking for documentation? Take a look on our wiki

Main Menu

AJAX Cart pop - Not loading over https

Started by SoTrue, March 23, 2017, 13:40:26 PM

Previous topic - Next topic

SoTrue

Hi All,

I'm working on a site using Joomla 3.6.5 with VM 3.20. The client has a shared SSL through Cloudflare which has been a complete pain to get working, and I still haven't resolve all  the issues...anyway...

When enabling the AJAX add to cart pop up (after clicking add to cart on the product details page) the popup is not loading, just the loading animation appears. In the console the following error is being logged:

Mixed Content: The page at 'https://www.website.com/shop/outerwear/pretty-tomboy-athletics-hoodie'; was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.website.com/index.php?option=com_virtuemart&nosef=1&view=cart&task=addJS&format=json&lang=en';. This request has been blocked; the content must be served over HTTPS.

Can anyone point me in the correct direction for getting the pop to work through https? The HTTPS option is enabled in VM, as it is on the site.

Thank you in advance.
D

jenkinhill

I have no issues with SSL and VM3.2 using default VM templates and Protostar/Beez templates. Are you using template overrides?
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum