VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: paritosh on February 02, 2018, 06:35:49 AM

Title: Add to Cart is not working in product description page
Post by: paritosh on February 02, 2018, 06:35:49 AM
Hiii...,

I have a problem in my website. That is..

Add to cart button and product quantity buttons are working well in category page. I added the link below for this..
https://www.globalvess.com/index.php?option=com_virtuemart&view=category&virtuemart_category_id=14

but same function for add to cart and product quantity buttons are not working in product description page. The link is
https://www.globalvess.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=110&virtuemart_category_id=14

PHP Version is 5.6.30

Joomla! Version   Joomla! 3.8.4 Stable

Virtuemart Version is VirtueMart 3.2.1

please help me to solve this problem...

Thanks to all for help..
Title: Re: Add to Cart is not working in product description page
Post by: Jörgen on February 02, 2018, 07:27:37 AM
Should not be put in VM 1.1 forum, has now been moved.

Probably a template issue, You should update Your VM and template. Backup first.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Add to Cart is not working in product description page
Post by: paritosh on February 02, 2018, 07:52:47 AM
Ok Thanks Jorgen
Title: Re: Add to Cart is not working in product description page
Post by: jjk on February 02, 2018, 12:14:49 PM
Might also be a jQuery conflict. Your Plg_vmwwmzoompro loads an outdated jQuery version: Query v1.10.1. Check if there is an update available or if you can disable loading it's own jQuery version.
If that doesn't work, you can try VM 'Configuration' > 'Templates' tab > Disable 'Using the VirtueMart jQuery'.
Title: Re: Add to Cart is not working in product description page
Post by: Studio 42 on February 02, 2018, 21:45:30 PM
Quote from: jjk on February 02, 2018, 12:14:49 PM
Might also be a jQuery conflict. Your Plg_vmwwmzoompro loads an outdated jQuery version: Query v1.10.1. Check if there is an update available or if you can disable loading it's own jQuery version.
If that doesn't work, you can try VM 'Configuration' > 'Templates' tab > Disable 'Using the VirtueMart jQuery'.
It's not obselete, it's to new and need the jquery.migrate.js to be loaded after jquery(but it's loaded a second time after).
Sorry to say this, but your should try to simplify your javascripts, change template. you have 75% of javascripts loaded for nothing.
33 Javascript in all and 23 css files !!!
how you want have a fast website ?
Title: Re: Add to Cart is not working in product description page
Post by: jjk on February 02, 2018, 22:38:17 PM
Quote from: Studio 42 on February 02, 2018, 21:45:30 PM
It's not obselete, it's to new...
Well, Joomla meanwhile uses jQuery v1.12.4  ;)
Title: Re: Add to Cart is not working in product description page
Post by: paritosh on February 03, 2018, 07:57:20 AM
Thanks jjk. It is working now. It is due to vmwwmzoompro plugin.
Title: Re: Add to Cart is not working in product description page
Post by: paritosh on February 03, 2018, 08:01:47 AM
Thanks Studio 42. You are right and I am Facing the loading problem also. I will simplify js and css.
Thanks for the suggestion.