Website Design
Estimate
Estimate
Your discount has been applied correctly. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon_1.discount_value_total) + '
') }else{ scc_jQuery('#coupon_info_spend_range_1').html('Your discount has been applied correctly. -' + ' ' + priceCommaStyler(coupon_1.discount_value_total) + currencyLabel + '
') } }else{ if(Number(coupon_1.minspend) != -1.00 && Number(coupon_1.maxspend) != -1.00){ if(currencyStyleOption === 0){ scc_jQuery('#coupon_info_spend_range_1').html(Number(coupon_1.price_without_discount) >= Number(coupon_1.minspend) && Number(coupon_1.maxspend) >= Number(coupon_1.price_without_discount) ? 'Your discount has been applied correctly. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon_1.discount_value_total) + '
': 'Your discount has not been applied because the total price has to be between ' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon_1.minspend) + ' and ' + currencySymbol(currencyLabel) + priceCommaStyler(coupon_1.maxspend) + '
') }else{ scc_jQuery('#coupon_info_spend_range_1').html(Number(coupon_1.price_without_discount) >= Number(coupon_1.minspend) && Number(coupon_1.maxspend) >= Number(coupon_1.price_without_discount) ? 'Your discount has been applied correctly. -' + ' ' + priceCommaStyler(coupon_1.discount_value_total) + currencyLabel + '
': 'Your discount has not been applied because the total price has to be between ' + priceCommaStyler(coupon_1.minspend) + ' ' + currencyLabel + ' and ' + priceCommaStyler(coupon_1.maxspend) + ' ' + currencyLabel + '
') } }else if(Number(coupon_1.minspend) != -1.00 && Number(coupon_1.maxspend) === -1.00){ if(currencyStyleOption === 0){ scc_jQuery('#coupon_info_spend_range_1').html(Number(coupon_1.price_without_discount) >= Number(coupon_1.minspend) ? 'Your discount has been applied correctly. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon_1.discount_value_total) + '
': 'Your discount has not been applied because the total price has to be higher than ' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon_1.minspend) + currencySymbol(currencyLabel) + '
') }else{ scc_jQuery('#coupon_info_spend_range_1').html(Number(coupon_1.price_without_discount) >= Number(coupon_1.minspend) ? 'Your discount has been applied correctly. -' + ' ' + priceCommaStyler(coupon_1.discount_value_total) + currencyLabel + '
': 'Your discount has not been applied because the total price has to be higher than ' + priceCommaStyler(coupon_1.minspend) + ' ' + currencyLabel + '
') } }else if(Number(coupon_1.minspend) === -1.00 && Number(coupon_1.maxspend) != -1.00){ if(currencyStyleOption === 0){ scc_jQuery('#coupon_info_spend_range_1').html(Number(coupon_1.maxspend) >= Number(coupon.price_without_discount) ? 'Your discount has been applied correctly. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon_1.discountvalue) + '
': 'Your discount has not been applied because the total price has to be lower than ' + currencySymbol(currencyLabel) + priceCommaStyler(coupon_1.maxspend) + '
') }else{ scc_jQuery('#coupon_info_spend_range_1').html(Number(coupon_1.maxspend) >= Number(coupon.price_without_discount) ? 'Your discount has been applied correctly. -' + ' ' + priceCommaStyler(coupon_1.discountvalue) + currencyLabel + '
': 'Your discount has not been applied because the total price has to be lower than ' + priceCommaStyler(coupon_1.maxspend) + ' ' + currencyLabel + '
') } } } }return price }