Author Topic: Add to Cart is not working in product description page  (Read 1079 times)

paritosh

  • Beginner
  • *
  • Posts: 13
  • A beginner
Add to Cart is not working in product description page
« 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..

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2118
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Add to Cart is not working in product description page
« Reply #1 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
Joomla 3.9.1
Virtuemart 3.2.12
Olympiantheme Hera (customized)

paritosh

  • Beginner
  • *
  • Posts: 13
  • A beginner
Re: Add to Cart is not working in product description page
« Reply #2 on: February 02, 2018, 07:52:47 am »
Ok Thanks Jorgen

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3441
  • using Matomo instead of Google Analytics
Re: Add to Cart is not working in product description page
« Reply #3 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'.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 3765
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Add to Cart is not working in product description page
« Reply #4 on: February 02, 2018, 21:45:30 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 ?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3441
  • using Matomo instead of Google Analytics
Re: Add to Cart is not working in product description page
« Reply #5 on: February 02, 2018, 22:38:17 pm »
It's not obselete, it's to new...
Well, Joomla meanwhile uses jQuery v1.12.4  ;)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

paritosh

  • Beginner
  • *
  • Posts: 13
  • A beginner
Re: Add to Cart is not working in product description page
« Reply #6 on: February 03, 2018, 07:57:20 am »
Thanks jjk. It is working now. It is due to vmwwmzoompro plugin.

paritosh

  • Beginner
  • *
  • Posts: 13
  • A beginner
Re: Add to Cart is not working in product description page
« Reply #7 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.