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

Items fail to add to cart in https ssl

Started by Stevejl321, January 26, 2015, 23:13:26 PM

Previous topic - Next topic

Stevejl321

Regardless what option I use in configuration for items to be added to cart, while in https, items fail to add to cart after clicking on "ADD TO CART". I've had various experts investigate the issue and we came to the conclusion that it's a Virtuemart bug which needs to be researched and solved by the developers.

AH

#1
http://forum.virtuemart.net/index.php?topic=79799.0

QuoteVirtuemart bug which needs to be researched and solved by the developers.

You  can also subscribe to Vm support
http://extensions.virtuemart.net/support/virtuemart-supporter-membership-detail
Regards
A

Joomla 4.4.5
php 8.1

GJC Web Design

Just to add - I manage several completely https VM2 sites and all run flawlessly.. not tested VM3 on https yet
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

rage76

I am on latest J3.6 / VM3.0.18

As soon as I enable SSL, the "Continue Shopping / Show Cart" fancybox stop showing and the add to cart stops working.

Please suggest the correct way to enable SSL on entire site without breaking it.


GJC Web Design

have u checked your JS console and network tabs of firebug to discover why?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Jumbo!


rage76

Hello Jumbo

Here is my site link:

www.techsolute.com

I shall be grateful for your support.

Studio 42

I tested using https://www.techsolute.com/
And it work.
Simply use .htacces to force redirection to https and all should work. You don't need to force it in your Joomla back-end

rage76

Hello Studio42

This is what I added to .htaccess

RewriteEngine On
RewriteCond %{HTTPS} OFF
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Plus, I changed the "live site url" to https:// in configuration.php & in Joomla global config, enabled "Force SSL"

Please correct me where I am wrong or what I need to change.

best wishes


Studio 42

Quote from: rage76 on January 03, 2017, 15:55:28 PM

Plus, I changed the "live site url" to https:// in configuration.php & in Joomla global config, enabled "Force SSL"

This is not needed, only the http to https rule in .htaccess

rage76

OK, I tried what you suggested and it seems to be working !! You are awesome Studio 42.

I hope this doesn't cause any other problems. Plus, Google product ads require HTTPS. I hope this would be acceptable to them!!

One more question, why are the URLs showing https://techsolute.com/.... instead of https://www.techsolute.com/.... ???

Studio 42

Because you dont forced WWW in .htaccess, you can eg using :
RewriteEngine on
RewriteCond %{HTTP_HOST} ^techsolute.com [NC]
RewriteRule ^(.*)$ https://www.techsolute.com/$1 [L,R=301,NC]

Milbo

No one needs www anylonger, since years. I would also redirect any www to your domain. www is just a subdomain and has no technical background. In the 90s, there was the idea to indicate with www, that a http server runs in on that domain.

ofc besides other conspiracy theories
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

rage76

#13
Hello again Studio 42

how do I keep the back end (admin) without SSL? Or is it advisable to have SSL enabled for admin too?

Also, should I "enable SSL for sensitive areas" option in Virtuemart? 

GJC Web Design

just use ssl every where with the htaccess snippet

"enable SSL for sensitive areas"  is not needed
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation