Face Care
Product Added To Cart Successfully
-
Rs55.00
Rs53.00
-
Rs55.00
Rs53.35
-
Rs55.00
Rs53.00
-
Rs90.00
Rs87.00
-
-
-
-
Rs120.00
Rs110.00
-
-
Rs70.00
Rs68.00
-
-
-
Rs105.00
Rs101.85
-
Rs45.00
Rs43.65
-
Rs45.00
Rs43.65
-
Rs45.00
Rs43.65
-
-
Rs120.00
Rs116.40
-
Rs105.00
Rs101.85
-
Rs60.00
Rs58.20
-
Rs120.00
Rs116.40
-
Rs99.00
Rs96.03
-
Rs110.00
Rs106.70
-
-
Rs120.00
Rs116.40
-
Rs90.00
Rs87.30
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;
}
});
});
}