News:

Looking for documentation? Take a look on our wiki

Main Menu

Add to cart not working on some products

Started by hendrikdebeer, August 27, 2019, 12:37:40 PM

Previous topic - Next topic

hendrikdebeer

Good day

My client just informed me that some products does not add to cart

It seems to be a category setting, but when I do a compare - all settings look the same.

Add to cart (in my case -add to enquiry) not working
https://tentco.co.za/index.php/quick-links/products/tents/shower-tents-cubicles/shower-dome-tent-detail

Add to cart (in my case -add to enquiry) - working
https://www.tentco.co.za/index.php/quick-links/products/tents/bow-tents1/explorer-safari-bow-detail

Please advise what else I can check


Jörgen

I guess this is a template issue. You have JS errors. Talk to template developer.

Here is a longshot, try adding a second image.

Jörgen @Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

hmm ... fails also on protostar

https://tentco.co.za/index.php/quick-links/products/tents/shower-tents-cubicles/shower-dome-tent-detail?template=protostar

https://www.tentco.co.za/index.php/quick-links/products/tents/bow-tents1/explorer-safari-bow-detail?template=protostar

ah .. you aren't forcing the www

one has www, the other doesn't -- force it in your .htaccess

RewriteCond %{HTTPS} off
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


https://www.tentco.co.za/index.php/quick-links/products/tents/shower-tents-cubicles/shower-dome-tent-detail

works but still has errors and non ssl content


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

hendrikdebeer

Thanks GJC (aka SUPER HERO).

It was a force HTTP Issue. I have removed all reference on the configuration file, rewrite the htaccess file, and now it seems to work.

http://www.tentco.co.za/index.php/quick-links/products/tents/shower-tents-cubicles/shower-dome-tent-detail

http://www.tentco.co.za/index.php/quick-links/products/tents/bow-tents1/explorer-safari-bow-detail

Can you please test again and see if it is working on your side as well?

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