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

VM scripts not working on the product detail view

Started by fernandoagomezf, June 10, 2014, 06:05:54 AM

Previous topic - Next topic

fernandoagomezf

Hello everyone,

I have a Joomla 2.5.20 site with VirtueMart 2.6.4. I'm creating a template that among other things uses jQuery and Bootstrap. Overall, the site's working well (I've run into a few issues with MooTools but I'm over it, I think). However, I'm facing problems with the product detail view: no script from VirtueMart seems to be working. If I click on a thumbnail image, it won't change the main image. If I click on the main image, it will open it in a new window instead of using the Fancybox. The rating control is not working and won't allow me to select the stars.

I've been searching in this forum and every answer I've come up with says it's a jQuery conflict. While jQuery is there (v. 1.8.0), I don't see where the possible conflict could be.

Any help would be really appreciated. The URL is the following:

http://www.dailymood.com.mx
Sample: http://www.dailymood.com.mx/catalog/mood/2014moodbarbcrh-detail
User: TestUser
Pwd: testuser42

Thanks in advance.

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

fernandoagomezf

Sorry, it's public now. Thanks for your time. Best regards!!

GJC Web Design

I don't see any rating dialog - you have to be logged in or bought the article

images - have you got "use fancybox" enabled and Open additional images on main position checked - go thru your config carefully
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

bdimov

I have the same problem with selecting stars when I type a review.
I'm using VM3.0.6.4 and Joomla 3.4.1
My "fancybox" is turned on.

Do you know other solutions?

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

bdimov

Now I update to VM 3.0.7.4 and there is again the same problem.

Here is the site:
http://j3.bikes4you.eu

I have a problem with a shopping cart too. You can see that when I add to cart some product, the cart is empty. How can I fix that too?

GJC Web Design

your template isn't VM3 compatible - test with protostar
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

You have JavaScript errors most likely caused by your old Joomla template not being VM3 compatible.
eg.  TypeError: jQuery(...).chosen is not a function
jQuery(".vm-chzn-select").chosen({enable_select_all: true,select_all_text : vm2s...

VM3.0.7+ uses jQuery 1.11.x which does load but your template then loads jQuery 1.8.2 which is a much older version. Try preventing the template from loading jQ or use jQueryEasy.
But as GJC suggests test with Protostar to see if oit works OK there.

See http://forum.virtuemart.net/index.php?topic=119638.0

   
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