function alertSucessSent() {
alertify.set('notifier', 'position', 'top-center');
var notification = alertify.success("You Message Have Been Sent ! Thanks you for the enquiry.", "success", 5);
}
function alertRecaptchaFail() {
var notification = alertify.error("Recaptcha Validation Fail. Please Try Again Later.", "error", 5);
}
function alertEmailFail() {
var notification = alertify.error("Email Address Validation Fail. Please Try Again Later.", "error", 5);
}
function alertContactFail() {
var notification = alertify.error("Phone Number Validation Fail. Please Try Again Later.", "error", 5);
}
function alertFileFail() {
var notification = alertify.error("File Validation Fail. Please check your file type and file size.", "error", 5);
}
function alertError(errorMessage) {
// var notification = alertify.error(errorMessage, "error", 5);
alertify.set('notifier', 'position', 'top-center');
alertify.error('
' + errorMessage + '
');
}
function alertSuccessful(errorMessage) {
// var notification = alertify.error(errorMessage, "error", 5);
alertify.set('notifier', 'position', 'top-center');
alertify.success(' ' + errorMessage + '
');
}
function outofStock() {
alertify.set('notifier', 'position', 'top-center');
alertify.error(' Not enough stock
');
}
function compareMoreThan4(compareLimit) {
alertify.set('notifier', 'position', 'top-center');
alertify.error(' Sorry, cannot compare more than ' + compareLimit + ' items.
');
}
function removeSuccess() {
alertify.set('notifier', 'position', 'top-center');
alertify.success(' Item Successful Removed
');
}
function alertWrongPassOrId() {
var notification = alertify.error(" Login Failed.
Invalid Username or Password.", "error", 5);
}
function success_copy() {
var notification = alertify.success(" Successfully copied coupon code.", "success", 5);
}
function success_addtoquotation(message='') {
//var notification = alertify.success(" Successfully added product into your cart.", "success", 5);
alertify.set('notifier', 'position', 'top-center');
if (message!=''){
alertify.success(message);
}else{
alertify.success(' Successfully added into cart.
');
}
}
function alertSucess(x) {
var notification = alertify.success(x, "success", 5);
}
function alertUnsucess(x) {
var notification = alertify.error(x, "error", 5);
}