News:

Support the VirtueMart project and become a member

Main Menu

Shopping cart empty

Started by bhoomikasethi, January 19, 2016, 13:59:25 PM

Previous topic - Next topic

bhoomikasethi

Hi there!!!

J : 3.4.5
Virtuemart : 3.0.12
PHP : 5.4.45
MySQL : 5.5.47

A few days before my client's website was working as expected. Virtuemart is not adding up the products to cart. I console it and found this error:
GET https://www.healthydogtreats.com.au/healthy-dog-treats/components/com_virtuemart/assets/js/chosen.jquery.min.js
Cache is disabled, did SSL settings, tried different combinations of  VM config. Tried disabling different components, If those conflicting with VM cart. Read almost every topic related to it and tried to solve accordingly. But all in vain!! I'm messing up with issue from last few days.
Pls help... Any help would be appreciated!!
Thanks and regards,
Bhoomika

jenkinhill

Your Joomla version is known to have critical security issues, and should have been updated in early December - current version is J3.4.8.  http://virtuemart.net/news/latest-news/475-critical-security-leak-in-all-joomla-versions-please-update-immediatly

I cannot see a js error, so suggest you switch to Protostar template to check if you have an issue with your template overrides - assuming that your site has not been hacked yet.
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

GJC Web Design

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

jenkinhill

If you check this line in the header the file is loaded and is present: <script src="components/com_virtuemart/assets/js/chosen.jquery.min.js" type="text/javascript"></script>

??
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

GJC Web Design

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

jenkinhill

Surely a full url should not be used?
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

bhoomikasethi

#6
yes but I didn't customize any js urls. Its adding up product name alias in js url, that's y shopping cart isn't working.. I agree with it.. But on home page its not adding up any additional aliases in url.. I don't see any other cause of returning shopping cart empty..

Please suggest me something, How will it work?

Many thanks.

bhoomikasethi

@jenkinhill Yes tried with switching the template to protostar but issue remains the same. I don't see any major error from which I can conclude the cause of it.  :(

jenkinhill

You state elsewhere that it is not just VM that has stopped working, so I suggest you check carefully for evidence of hacking.  http://forum.joomla.org/viewtopic.php?f=714&t=904114
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

bhoomikasethi

#9
Yeah but those are fixed now. Vm cart is working on chrome only not in any other browser. And If I check on other devices its not working yet. Its only working on my PC. Can it be cache issue? My cache settings are off. And still when I navigate to clear cache I can see 3 - 4 blocks of vm cache files. If I dont want to store virtuemart cache, How can I achieve that?

GJC Web Design

vm ALWAYS caches the category view only (and rss if enabled) .. the rest not
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

bhoomikasethi

#11
I'm getting this error when i console it FF:
{"stat":"2","msg":"Continue Shopping<\/a>
Error while adding product in cart: no product ids<\/div>
\n\r"}