News:

Support the VirtueMart project and become a member

Main Menu

plus and minus button

Started by brpa, September 15, 2015, 23:15:32 PM

Previous topic - Next topic

brpa


I have a problem with the plus and minus buttons do not work on the product page
but the catalog overview work fine
I use virtuemart 3.0.9 and 3.4.4 joomla
Please help me

http://tommyskoedsalg.dk/webshop/k%C3%B8d/k%C3%B8dpakker/fars-pakke-1-billig

jenkinhill

#1
You have multiple JavaScript issues which appear to be related to your crapisteer Joomla template. As a start you should try to prevent the template loading its own jQuery library:
<script src="/templates/tommy/jquery.js"></script>  as this seems to cause a conflict.   This version is 1.9.1 whereas VM uses 1.9.2 which is loaded before the template file.

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

In addition your server security certificate is reported by Firebug to use SHA-1 encryption which is depracated and known to have issues and is incompatible with some payment methods.

The error report from Firebug is:
Quote
Use of getAttributeNode() is deprecated. Use getAttribute() instead.
...ibuteNode("value"))&&b.specified?a.value:a.get("text")}};b=null;if(document.crea...

mootools-core.js (line 108)
Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead
   

/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
jquery.js (line 1)
TypeError: jQuery(...).chosen is not a function
   

jQuery(".vm-chzn-select").chosen({enable_select_all: true,select_all_text : vm2s...   
fars-pa...-billig (line 534, col 3)

This site makes use of a SHA-1 Certificate; it's recommended you use certificates with signature algorithms that use hash functions stronger than SHA-1.
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

brpa

Hi again, tank you for your help
I have addressed this with Jquery easy but it works still not, what else can I do

GJC Web Design

no chosen js loaded

TypeError: jQuery(...).chosen is not a function
   

jQuery(".vm-chzn-select").chosen({enable_select_all: true,select_all_text : vm2s...

and multiple Jquery loaded (slider)

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

brpa

I do not understand what you mean, I'm very new in this

GJC Web Design

it is all explained here:  http://forum.virtuemart.net/index.php?topic=119638.0

simple put for some reason your template isn't loading chosen.js

and your loading 2 copies of jquery.. which will always cause problems

get rid of the one loaded by the slider
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