News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

I have problem in add to cart button

Started by vinmax, July 07, 2013, 08:32:11 AM

Previous topic - Next topic

vinmax

Hello to all,
I have website,
http://napturalkidz.com/index.php/shop/hair-styling/baby-durag-napturalkidz

Not able to add products to cart..
when site start with "https://"  i am not able to add product in to cart. "http://" works well.

If you have any idea please let me know.
thanks

[extra spamlink removed]

jenkinhill

#1
You are not loading jQuery in https. You are using <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script> so it will not load in SSL  (http:)

And please do not cross post mutiple copies of the same issue. Just once in the correct section.
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

Lexiboy

Quote from: jenkinhill on July 07, 2013, 11:00:28 AM
You are not loading jQuery in https. You are using <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script> so it will not load in SSL  (http:)

And please do not cross post mutiple copies of the same issue. Just once in the correct section.

Just remove http: from the script src="http://.... and the correct http protocol (http or https) will always be used.

So it will look like this:
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
With kind regards,
Alex Stienstra