Klar – eine der ersten Fragen die auftritt: Was kostet mich das Ganze? – zumindest bei mir tritt diese Frage als erstes auf, da ich wie jeder andere auch, auf mein Budget achten muss. Um einen Anhaltspunkt bzw einen Angebotspreis zu bekommen, kannst du hier selbst ein Angebot für dich kalkulieren. Wenn etwas nicht aufgeführt ist, oder du Fragen zu der Preisgestaltung hast, dann zögere bitte nicht und frag einfach nach. Ich bin da völlig unkompliziert im Auskünfte geben. Einfach eine E-Mail an: info@creeativ.es
';
function currencyStyle(number){
switch (currencyStyleOption){
case 0:
number = currencySymbol(currencyLabel) + number
case 1:
number = number + ' ' + currencyLabel
break
}
return number
}
function currencySymbol(currency){
var currencySymbolLabel = '$'
switch(currency){
case 'ANG':
currencySymbolLabel = 'ƒ'
break
case 'ILS':
currencySymbolLabel = '₪'
break
case 'USD':
currencySymbolLabel = '$'
break
case 'CAD':
currencySymbolLabel = '$'
break
case 'EUR':
currencySymbolLabel = '€'
break
case 'NOK':
currencySymbolLabel = 'kr'
break
case 'JPY':
currencySymbolLabel = '¥'
break
case 'RUB':
currencySymbolLabel = '₽'
break
case 'TRY':
currencySymbolLabel = '₺'
break
case 'CHF':
currencySymbolLabel = 'Fr.'
break
case 'SEK':
currencySymbolLabel = 'kr'
break
case 'BRL':
currencySymbolLabel = 'R$'
break
case 'CNY':
currencySymbolLabel = '¥'
break
case 'AUD':
currencySymbolLabel = 'A$'
break
case 'DKK':
currencySymbolLabel = 'Kr.'
break
case 'HKD':
currencySymbolLabel = 'HK$'
break
case 'GBP':
currencySymbolLabel = '£'
break
case 'ZAR':
currencySymbolLabel = 'R'
break
case 'ZMW':
currencySymbolLabel = 'K'
break
case 'RON':
currencySymbolLabel = 'RON'
break
case 'PKR':
currencySymbolLabel = 'Rs'
break
case 'KRW':
currencySymbolLabel = '₩'
break
case 'CFA':
currencySymbolLabel = 'FCFA'
break
case 'PLN':
currencySymbolLabel = 'zł'
break
case 'IDR':
currencySymbolLabel = 'Rp'
break
default:
currencySymbolLabel = currency || '$'
}
return currencySymbolLabel
}
// currency Style function ends
// check If mandatory options are choosen
document.addEventListener('DOMContentLoaded', (event) => {
scc_jQuery('.btPayPalButtonCustom').click(function(e){
e.preventDefault();
var scc_mandatory = '';
scc_jQuery('.mandatory_yes').each(function(){
scc_jQuery(this).addClass('hehehehehehehe');
if(scc_jQuery(this).val() ==''){
scc_jQuery(this).parent().parent().find('.alert-danger').html('Please choose an option !');
scc_jQuery(this).parent().parent().find('.alert-danger').css('display','block');
scc_jQuery('html, body').animate({
scrollTop: scc_jQuery(this).offset().top
}, 1000);
scc_mandatory = 'scc_remains';
if(window.hasOwnProperty("translatorJson")){
initTranslationScriptSCC('body', {lang: "en", t: translatorJson});
}
checkIfParentIsAccordionAndOpenIt(this)
}
});
// check if mandatory checkbox/button/switches are checked
scc_jQuery('[data-mandatory=yes]').each((i,e) => {
isNoneChecked = !(scc_jQuery('input', e).map((i,ee) => {return jQuery(ee).is(':checked')}).get().some(eee => eee == true))
if (isNoneChecked) {
scc_jQuery(e).find('.alert-danger').html('Please choose an option !').css('display','block');
scc_jQuery(e).parent().find('.scc-accordion').click();
scc_jQuery('html, body').animate({
scrollTop: scc_jQuery(e).offset().top
}, 1000);
scc_mandatory = 'scc_remains';
} else {
scc_jQuery(e).find('.alert-danger').hide();
// scc_mandatory == '';
}
})
if (scc_mandatory == '') {
if(Number(total) && Number(total) > 0){
scc_jQuery("#paypal_form").submit();
scc_jQuery("#paypal_form")[0].submit();
}
}
});
});
function getDropDownValue($this){
price = scc_jQuery($this).val();
if (! price) { return 0; }
else return price;
}
function SCCOpenPopUpEmail(){
scc_jQuery.getScript('https://www.creeativ.es/wp-content/plugins/stylish-cost-calculator/assets/lib/bootstrap-3.3.5/dist/js/bootstrap.min.js', function(data) {
var scc_mandatory = '';
scc_jQuery('.mandatory_yes').each(function(){
if(scc_jQuery(this).val() ==''){
scc_jQuery(this).parent().parent().find('.alert-danger').html('Please choose an option !');
scc_jQuery(this).parent().parent().find('.alert-danger').css('display','block');
scc_jQuery('html, body').animate({
scrollTop: scc_jQuery(this).offset().top
}, 1000);
scc_mandatory = 'scc_remains';
if(window.hasOwnProperty("translatorJson")){
initTranslationScriptSCC('body', {lang: "en", t: translatorJson});
}
checkIfParentIsAccordionAndOpenIt(this)
}
});
// check if mandatory checkbox/button/switches are checked
scc_jQuery('[data-mandatory=yes]').each((i,e) => {
isNoneChecked = !(scc_jQuery('input', e).map((i,ee) => {return jQuery(ee).is(':checked')}).get().some(eee => eee == true))
if (isNoneChecked) {
scc_jQuery(e).find('.alert-danger').html('Please choose an option !').css('display','block');
scc_jQuery(e).parent().find('.scc-accordion').click();
scc_jQuery('html, body').animate({
scrollTop: scc_jQuery(e).offset().top
}, 1000);
scc_mandatory = 'scc_remains';
} else {
scc_jQuery(e).find('.alert-danger').hide();
// scc_mandatory == '';
}
})
if (scc_mandatory == '') {
scc_jQuery('#sccquoteModal').modal('show')
scc_jQuery('.modal-backdrop').each(function(){
scc_jQuery(this).remove()
})
}
})
}
document.addEventListener('DOMContentLoaded', (event) => {
scc_jQuery('.scc-email-popup-close').click(function(e){
e.preventDefault();
scc_jQuery('#sccquoteModal').modal('hide')
scc_jQuery('.scc-email-popup').removeClass('in');
})
});
function addCouponCodeModal(){
if(!coupon){
var minWidth = "500px"
var titleFontSize = "35px"
if( navigator.userAgent.match(/Android/i)
|| navigator.userAgent.match(/webOS/i)
|| navigator.userAgent.match(/iPhone/i)
|| navigator.userAgent.match(/iPad/i)
|| navigator.userAgent.match(/iPod/i)
|| navigator.userAgent.match(/BlackBerry/i)
|| navigator.userAgent.match(/Windows Phone/i)){
minWidth = "250px"
titleFontSize = "15px"
console.log('Im mobile')
}
var code=""
code += '
Your discount has been applied correctly. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.discount_value_total) + '
': '
Your discount has not been applied because the total price has to be between ' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.minspend) + ' and ' + currencySymbol(currencyLabel) + priceCommaStyler(coupon.maxspend) + '
Your discount has been applied correctly. -' + ' ' + priceCommaStyler(coupon.discount_value_total) + currencyLabel + '
': '
Your discount has not been applied because the total price has to be between ' + priceCommaStyler(coupon.minspend) + ' ' + currencyLabel + ' and ' + priceCommaStyler(coupon.maxspend) + ' ' + currencyLabel + '
Your discount has been applied correctly. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.discount_value_total) + '
': '
Your discount has not been applied because the total price has to be higher than ' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.minspend) + currencySymbol(currencyLabel) + '
Your discount has been applied correctly. -' + currencySymbol(currencyLabel) + ' ' + priceCommaStyler(coupon.discountvalue) + '
': '
Your discount has not been applied because the total price has to be lower than ' + currencySymbol(currencyLabel) + priceCommaStyler(coupon.maxspend) + '