Il nostro menu

");}altro{. JQuery ( "# ajaxcartloading") spettacolo (0) css ({ "visualizzazione": "blocco",})}var act = jQuery (this) .attr ('action'); var serial = jQuery (this) .serialize (); console.log (serial); var d = deparam (serial); console.log (d); if (d.qty == 0){D.qty = 1;}var idVal = jQuery (this) .children ('input [nome = qty]'). val (); var qtyVal = jQuery (this) .children (". add-to-cart"). figli (". qty- block "). children ('input [nome = qty]'). val (); var formData = {'qty': d.qty, 'id': d.id,}; console.log (formData); jQuery .ajax ({type: 'GET', url: atto + seriale, i dati: formdata, dataType: 'json', codificare: true}). Done (function (dati) {console.log (dati); jQuery ( "# ajaxcartloading ") nasconde (0);. console.log (data.ajaxcart); jQuery (". sintesi-top ") html (data.ajaxCountItem); jQuery (" ajaxcartbl ") html (data.ajaxcart)..; var succ = data.ajaxcontinue; jQuery (". wrapper"). prepend (""); setTimeout (function () {jQuery (". toast"). fadeOut (1000);}, 1500); setTimeout (function () {jQuery (". toast"). remove ();}, 2500);});}); function bindForm (id){Console.log (id);}var formCreate = function (idOfForm){this.pToCart = new VarienForm (idOfForm); this.submitForm = function (form){This.pToCart.submit (modulo);}; this.attach = funzione (){var productAddToCartForm; productAddToCartForm = this.pToCart; productAddToCartForm.submit = function (button, url) {if (this.validator.validate ()) {var form = this.form; var oldUrl = form.action; if (url) {form.action = url;}var e = null; prova {this.form.submit ();} catch (e) {}this.form.action = oldUrl; if (e) {throw e;}if (button && button! = 'undefined') {button.disabled = true;}}}. bind (productAddToCartForm); productAddToCartForm.submitLight = function (button, url) {if (this.validator) {var nv = Validation.methods; delete Validation.methods ['required-entry']; delete Validation.methods ['validate-one-required']; delete Validation.methods ['validate-one-required-by-name']; for (var methodName in Validation .methods) {if (methodName.match (/ ^ validate-datetime -. * / i)) {delete Validation.methods [methodName];}}if (this.validator.validate ()) {if (url) {this.form.action = url;}this.form.submit ();}Object.extend (Validation.methods, nv);.}} Bind (productAddToCartForm);};}
  • Nuovo

  • Nuovo

  • Nuovo

4.8
5
15
4
2
3
3
2
3
1
1