Washing Powder
Product Added To Cart Successfully
-
-
Rs53.00
Rs51.00
-
-
Rs220.00
Rs213.40
-
Rs138.00
Rs133.86
-
Rs235.00
Rs227.95
-
Rs215.00
Rs208.55
-
Rs46.00
Rs44.62
-
Rs65.00
Rs63.05
-
Rs79.00
Rs76.63
-
-
-
-
Rs220.00
Rs213.40
-
Rs49.00
Rs47.53
-
-
-
-
Rs95.00
Rs93.00
-
Rs220.00
Rs213.40
-
Rs115.00
Rs110.00
-
Rs99.00
Rs95.00
function kirana(id){
// alert('test');
var ajx_form_submit = function(button, url) {
if (this.validator.validate()) {
var form = this.form;
var oldUrl = form.action;
if (url) {
form.action = url;
}
var e = null;
try {
this.form.submit();
} catch (e) {
}
this.form.action = oldUrl;
if (e) {
throw e;
}
if (button && button != 'undefined') {
button.disabled = true;
}
}
};
var ajx_form_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'];
// Remove custom datetime validators
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);
}
};
productAddToCartForm = new VarienForm(id);
productAddToCartForm.submit = ajx_form_submit.bind(productAddToCartForm);
productAddToCartForm.submitLight = ajx_form_submitLight.bind(productAddToCartForm);
ajaxaddtocart.ajaxCartSubmit(productAddToCartForm);
$$('.product_addtocart_form input.qty').each(function(el) {
el.observe('blur', function(e){
if( el.value <= 0 || isNaN(el.value) === true) {
el.value = 1;
}
});
});
}