Masalas & Spices
Product Added To Cart Successfully
-
Rs95.00
Rs92.15
-
Rs95.00
Rs92.15
-
Rs95.00
Rs92.15
-
Rs35.00
Rs33.95
-
Rs99.00
Rs96.03
-
Rs99.00
Rs96.03
-
Rs80.00
Rs77.60
-
Rs195.00
Rs189.15
-
Rs95.00
Rs92.15
-
Rs99.00
Rs96.03
-
Rs80.00
Rs77.60
-
Rs99.00
Rs96.03
-
Rs99.00
Rs96.03
-
Rs98.00
Rs95.06
-
Rs99.00
Rs96.03
-
Rs99.00
Rs96.03
-
Rs99.00
Rs96.03
-
Rs10.00
Rs9.70
-
-
Rs10.00
Rs9.70
-
Rs99.00
Rs96.03
-
Rs50.00
Rs49.00
-
Rs20.00
Rs19.40
-
Rs10.00
Rs9.70
-
Rs20.00
Rs19.40
-
Rs17.00
Rs16.49
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;
}
});
});
}