$(function(){
$('form.basketedit_productslist a.removeSelected').attr('href','/basketchange.php?change=clean&mode=1');
})
/*
var filter_send_ajaxfilter = function(xhr, filter_data) {
var tempUrl = window.location.pathname;
var tempParams = window.location.search;
if (tempParams == '') tempParams += '?';
xhr = xhr;
if(xhr && xhr.readystate != 4){
xhr.abort();
filter_active_ajax(true, false);
}
xhr = $.ajax({
type: 'GET',
//timeout: 8000,
url: tempUrl+tempParams+'&'+filter_data+'&getProductXML=true&xmlType=filtering',
//dataType: 'xml',
dataType: 'text',
success: function(xml){
filter_response_ajax(xml);
},
error: function(xml, sTextStatus, oErrorThrown) {
filter_active_ajax(true, false);
}
});
return xhr;
}
*/
var bedSet = {
mode : '', // tryb konfiguratora
modeSize : '', // rozmiar trybu
baseCount : 1, // liczba wybranych produktów bazowych 1 lub 2
sewingCount : 0, // liczba przeszyć
pillowCount : 1, // liczba poszewek 1, 2, 3, 4
bedSheet : true, // czy dołączone prześcieradło?
tokens : 0, // aktualna liczba tokenów do dodatków
maxTokens : 0, // liczba max tokenów do dodatków
prices : {
base : '0',
sewing_cost : '0', // domyślnie 8 dla jednego przeszycia, 15 w przypadku dwóch
sewing : '0',
pillow_cost : '0', // domyślnie 5 dla jednego przeszycia, 8 w przypadku dwóch, 10 w przypadku 3, 12 w przypadku 4
pillow : '0',
addons : '0',
final : '0',
},
getMode : function(size){
if (size[1] == 'PP') {
return 1;
} else {
if (size[2] == '3' || size[2] == '4' || size[2] == '6' || size[2] == '7') {
return 2;
} else {
if (size[2] == '2' && !size[4]) {
return 3;
} else {
return 4;
}
}
}
},
getModeSize : function(size){
return size[0];
},
init : function(size,price,size_id,prod_id){
// if (!$('.initial_size.active').length) return false;
$('#bedset_form *').removeClass('remove').removeAttr('data-free');
var sizeName = size.split(' ');
bedSet.mode = bedSet.getMode(sizeName);
bedSet.modeSize = bedSet.getModeSize(sizeName);
bedSet.prices.base = price;
$('input#inp_prod_id').val(prod_id);
$('input#inp_size_id').val(size_id);
//bedSet.updateFields();
if (bedSet.mode > 1) $('#bedsheet, #addons').addClass('remove');
$('#sewing option').each(function(){
if (bedSet.modeSize == '200x220') {
// if ($(this).text() < '180x200') $(this).addClass('remove');
if ($(this).text() < '180x200') $(this).remove();
if ($(this).text() == bedSet.modeSize) $(this).attr('data-free','true');
}
if (bedSet.modeSize == '160x200') {
// if ($(this).text() > bedSet.modeSize) $(this).addClass('remove');
if ($(this).text() > bedSet.modeSize) $(this).remove();
if ($(this).text() == bedSet.modeSize) $(this).attr('data-free','true');
}
if (bedSet.modeSize == '140x200') {
// if ($(this).text() > bedSet.modeSize) $(this).addClass('remove');
if ($(this).text() > bedSet.modeSize) $(this).remove();
if ($(this).text() == bedSet.modeSize) $(this).attr('data-free','true');
}
});
$('#pillowcases option').each(function(){
if (bedSet.mode < 4) {
// if ($(this).text() > '70x80') $(this).addClass('remove');
if ($(this).text() > '70x80') $(this).remove();
if ($(this).text() == '70x80') $(this).attr('data-free','true');
} else {
if ($(this).text() == '70x90') $(this).attr('data-free','true');
}
});
$('#addons input[type="text"]').val('');
$('#bedset_form #pattern input[type="radio"]:first-child, #bedset_form #bedsheet input[type="radio"]:first-child, #bedset_form #pillowcount_1 input[type="radio"]:first-child').prop('checked',true);
$('#bedset_form select').each(function(){
$(this).val($(this).find('option').not('.remove').val());
})
bedSet.run();
},
run : function() {
bedSet.baseCount = $('#pattern input[type="radio"]:checked').val();
bedSet.pillowCount = $('#pillowcases input[type="radio"]:checked').val();
bedSet.bedSheet = $('#bedsheet input[type="radio"]:checked').val();
// widoczność pól
if (bedSet.baseCount == 1) {
$('#sewing_2, #pillowcount_3, #pillowcount_4').hide();
if (bedSet.mode == 3) $('#pillowcount_2').hide();
if (bedSet.pillowCount > 1) $('#pillowcount_1 input').prop('checked',true);
if (bedSet.bedSheet) {
$('#bedset_form #bedsheet_info').show();
$('#addons').hide();
}
} else {
$('#sewing_2, #pillowcount_2').show();
if (bedSet.mode !== 3) $('#pillowcount_3, #pillowcount_4').hide();
$('#addons').show();
$('#bedset_form #bedsheet_info').hide();
}
bedSet.pillowCount = $('#pillowcases input[type="radio"]:checked').val();
// widoczność pillows
var pillLength = $('#pillowcases .config_right input').length;
for (var i = 1; i <= pillLength; i++) {
if (i <= bedSet.pillowCount) {
$('#pillowcase_'+i).show();
} else {
$('#pillowcase_'+i).hide();
}
}
// widoczność dodatków
if (bedSet.bedSheet == false || bedSet.baseCount == 2) {
$('#addons').show();
} else if (bedSet.bedSheet && bedSet.baseCount == 1) {
$('#addons').hide();
}
// upadte maxTokens
if (bedSet.bedSheet == true && bedSet.baseCount == 1) {
bedSet.maxTokens = 0;
} else if ((bedSet.bedSheet == true && bedSet.baseCount == 2) || (bedSet.bedSheet == false && bedSet.baseCount == 1)) {
bedSet.maxTokens = 10;
} else {
bedSet.maxTokens = 20;
}
bedSet.tokens = bedSet.maxTokens;
bedSet.countPrices();
bedSet.updateFields();
},
countPrices : function(){
$('#sewing input').attr('disabled','disabled');
if (bedSet.baseCount == 1) {
if ($('#sewing_1 option:selected').data('free') !== true) {
bedSet.sewingCount = 1;
bedSet.prices.sewing_cost = $('#sewing input[data-count="'+bedSet.sewingCount+'"]').attr('data-price');
$('#sewing input.product, #sewing input.number, #sewing input.size[data-count="'+bedSet.sewingCount+'"]').removeAttr('disabled');
} else {
bedSet.sewingCount = 0;
bedSet.prices.sewing_cost = 0;
}
} else {
if ($('#sewing_1 option:selected').data('free') !== true && $('#sewing_2 option:selected').data('free') !== true) {
bedSet.sewingCount = 2;
bedSet.prices.sewing_cost = $('#sewing input[data-count="'+bedSet.sewingCount+'"]').attr('data-price');
$('#sewing input.product, #sewing input.number, #sewing input.size[data-count="'+bedSet.sewingCount+'"]').removeAttr('disabled');
} else if ($('#sewing_1 option:selected').data('free') !== true || $('#sewing_2 option:selected').data('free') !== true) {
bedSet.sewingCount = 1;
bedSet.prices.sewing_cost = $('#sewing input[data-count="'+bedSet.sewingCount+'"]').attr('data-price');
$('#sewing input.product, #sewing input.number, #sewing input.size[data-count="'+bedSet.sewingCount+'"]').removeAttr('disabled');
} else {
bedSet.sewingCount = 0;
bedSet.prices.sewing_cost = 0;
}
}
var pillCnt = 0;
bedSet.prices.pillow_cost = 0;
$('#pillowcases select').each(function(){
if ($(this).is(':visible') && $(this).find('option:selected').attr('data-free')!=='true') pillCnt++;
})
$('div#pillowcases input.size').attr('disabled','disabled');
$('div#pillowcases input[data-count="'+pillCnt+'"]').removeAttr('disabled');
if (pillCnt > 0) {
bedSet.prices.pillow_cost = $('div#pillowcases input[data-count="'+pillCnt+'"]').attr('data-price');
$('div#pillowcases input.product, div#pillowcases input.number').removeAttr('disabled')
} else {
bedSet.prices.pillow_cost = 0;
$('div#pillowcases input.product, div#pillowcases input.number').attr('disabled','disabled');
}
bedSet.prices.addons_cost = 0;
if (bedSet.bedSheet == false || bedSet.baseCount == 2) {
$('#addons input[type="text"]').each(function(){
if ($(this).val() > 0) {
var tmpCost = $(this).val() * parseFloat($(this).attr('data-price'));
bedSet.prices.addons_cost = bedSet.prices.addons_cost + tmpCost;
}
})
}
bedSet.prices.base_cost = parseFloat(bedSet.prices.base * bedSet.baseCount);
bedSet.prices.sewing = parseFloat(bedSet.prices.sewing_cost);
bedSet.prices.pillow = parseFloat(bedSet.prices.pillow_cost);
bedSet.prices.addons = parseFloat(bedSet.prices.addons_cost);
bedSet.prices.final = parseFloat(bedSet.prices.base_cost) + parseFloat(bedSet.prices.sewing) + parseFloat(bedSet.prices.pillow) + parseFloat(bedSet.prices.addons);
},
updateMaxSzt : function(){
bedSet.tokens = bedSet.maxTokens;
$('#addons input[type="text"]').each(function(){
var cost = $(this).attr('data-cost');
var thisVal = parseInt($(this).val());
if (thisVal) bedSet.tokens = parseInt(bedSet.tokens - Math.ceil(thisVal * cost));
})
if (bedSet.tokens <= 0) bedSet.tokens = 0;
$('#addons input[type="text"]').each(function(){
var cost = $(this).attr('data-cost');
var thisVal = parseInt($(this).val());
if (thisVal <= 0 || !thisVal) $(this).val('');
var maxSzt = parseInt(Math.floor(bedSet.tokens / cost));
$(this).next().find('span').html(maxSzt);
$(this).attr('data-max',maxSzt);
})
$('#addons input[type="text"]').each(function(){
if ($(this).attr('data-max') == '0' && !$(this).val()) {
$(this).attr('readonly','readonly');
$(this).parent().parent().attr('style','opacity: 0.33');
$(this).parent().find('input').attr('disabled','disanled');
} else {
$(this).removeAttr('readonly');
$(this).parent().parent().removeAttr('style');
$(this).parent().find('input').removeAttr('disabled');
}
})
},
updateFields : function(){
bedSet.updateMaxSzt();
$('#tokens').html(bedSet.tokens);
$('#maxTokens').html(bedSet.maxTokens);
if (bedSet.prices.sewing > 0) {
$('#sewing div.additional_cost').show();
} else {
$('#sewing div.additional_cost').hide();
}
$('#sewing div.additional_cost b').html(bedSet.prices.sewing);
if (bedSet.prices.pillow > 0) {
$('#pillowcases div.additional_cost').show();
} else {
$('#pillowcases div.additional_cost').hide();
}
$('#pillowcases div.additional_cost b').html(bedSet.prices.pillow);
if (bedSet.prices.addons > 0) {
$('#addons div.additional_cost').show();
} else {
$('#addons div.additional_cost').hide();
}
$('#addons div.additional_cost b').html(bedSet.prices.addons);
if (bedSet.prices.final > 0) {
$('#final_cost b').html(bedSet.prices.final);
} else {
$('#final_cost').html(projectorObj.txt['tylkotel']);
}
$('#final_cost b, #bedset_form div.additional_cost b').each(function(){
$(this).html(format_price($(this).html(),{
mask: app_shop.vars.currency_format,
currency: app_shop.vars.symbol.replace(/\s+/g, ''),
currency_space: app_shop.vars.currency_space,
currency_before_price: app_shop.vars.currency_before_value
}));
})
}
}
var dialog_changeSize = function(btn_prod_id, btn_size_id){
$('body').addClass('load-content');
$('#dialog_wrapper').attr('style')
$.ajax({
type: "GET",
url: '/projector.php?product='+btn_prod_id+'&shop_xml=true&getProductXML=true',
dataType: "xml",
success: function(xml){
var obj = $('product:first', xml);
var avaStat = obj.find('sizes > size[type="'+btn_size_id+'"] > availability').attr('status');
var tmpHtml = '';
tmpHtml += '
';
$('#dialog_close').click();
$('body').dialog({
'content': tmpHtml,
'wrapperClass': 'config_dialog',
'fixed' : false,
'animate' : false
})
/* wczytywanie długiego opisu z karty towaru - zmienione na krótki opis z XML
$.ajax({
url: '/ajax/projector.php?product='+$(this).attr('data-prod_id')+'&get=longdescription,',
type: 'POST',
dataType: 'json',
data: {
getAjax: true
},
success: function (json) {
$('#config_dialog_longdesc').html(json.longdescription.item);
}
})
*/
// $('#config_dialog_longdesc').html($(this).next('div.config_shortdesc').html());
$('#config_dialog_longdesc').html(obj.find('cleardescription').text());
$('#bedset_form *[data-id]').each(function(){
$(this).attr('id',$(this).attr('data-id')).removeAttr('data-id');
})
// bedSet.init($(this).attr('data-size'),$(this).attr('data-price'),$(this).attr('data-size_id'),$(this).attr('data-prod_id'));
bedSet.init(obj.find('sizes > size[type="'+btn_size_id+'"]').attr('description'),obj.find('sizes > size[type="'+btn_size_id+'"] > price').attr('value'),obj.find('sizes > size[type="'+btn_size_id+'"]').attr('type'),obj.attr('id'));
$('select.dialog_change_size option').each(function(){
if ($(this).attr('data-size_id') == btn_size_id) $(this).attr('selected','selected');
})
if (obj.find('sizes > size[type="'+btn_size_id+'"]').attr('amount') == 1) $('#patterncount_2, label[for="patterncount_2"]').addClass('remove').attr('disabled','disabled');
var mySelectform = $('.config_dialog select')
mySelectform.fancySelect().on('change.fs', function() {
$(this).trigger('change.$');
});
var i = 1;
$('.config_dialog .config_big_label').each(function(){
$(this).html(i+'. '+$(this).html());
i++;
})
$('body').removeClass('load-content');
},
error: function(){
$('body').removeClass('load-content');
}
});
}
app_shop.run(function(){
$.ajax({
type: 'GET',
url: 'search.php?menu_alt[1_1]=2467&getProductXML=1',
dataType: 'xml',
data: {
disableFilters: true
},
timeout: 6000,
complete : function(request,settings){
if(request.status != 200){
Alertek.Start('Connection error [1]');
}
},
error: function(){
Alertek.Start('Connection error [2]');
},
success: function(xml, textStatus, jqXHR){
// aktualizacja cen poszw
$('products', xml).find('product').each(function(){
if ($(this).attr('id') == '20275') { // id produktu "Przeszycie"
$(this).find('sizes size').each(function(){
$('div[data-id="sewing"]').prepend(' ');
})
}
})
// aktualizacja cen poszewek
$('products', xml).find('product').each(function(){
if ($(this).attr('id') == '20276') { // id produktu "Przeszycie"
$(this).find('sizes size').each(function(){
var idx = parseInt($(this).index()+1);
$('div[data-id="pillowcases"]').prepend(' ');
})
}
})
// aktualizacja cen dodatków ajax
$('div[data-id="addons"] div.config_right').each(function(){
var inp = $(this).find('input[type="text"]');
var size_id = inp.prev().attr('value');
$('products', xml).find('size').each(function(){
if ($(this).attr('type') == size_id) {
inp.attr('data-price',$(this).find('price').attr('value'));
inp.attr('data-cost',$(this).find('price').attr('srp'));
}
})
})
bedSet.run();
}
});
// bedSet.init();
$('#pattern input[type="radio"], #bedsheet input[type="radio"], #pillowcases input[type="radio"]').live('click',function(){
bedSet.run();
});
$('#bedset_form select').live('change',function(){
bedSet.run();
});
$('#addons input[type="text"]').live('keyup', function(){
if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,'');
bedSet.run();
});
$('#addons input[type="text"]').live('change', function(){
/*
var max = parseInt($(this).attr('data-max'));
if (max <= 0) return false;
if ($(this).val() > max) {
$(this).val(max);
} else if ($(this).val() < 0 || !$(this).val()) {
$(this).val('');
} */
bedSet.run();
});
/*
$('.initial_size').live('click',function(){
$('.initial_size').removeClass('active');
$(this).addClass('active');
bedSet.init();
});
*/
/* poprzednia wersja przed zmianą rozmiaru selectem w popupie, zmieniona na funkcę dialog_changeSize();
$('a.run_config').live('click',function(){
var avaStat = $(this).attr('data-status');
var tmpHtml = '';
tmpHtml += '';
$('body').dialog({
'content': tmpHtml,
'wrapperClass': 'config_dialog',
'fixed' : false
})
$('#config_dialog_longdesc').html($(this).next('div.config_shortdesc').html());
$('#bedset_form *[data-id]').each(function(){
$(this).attr('id',$(this).attr('data-id')).removeAttr('data-id');
})
bedSet.init($(this).attr('data-size'),$(this).attr('data-price'),$(this).attr('data-size_id'),$(this).attr('data-prod_id'));
var mySelectform = $('.config_dialog select')
mySelectform.fancySelect().on('change.fs', function() {
$(this).trigger('change.$');
});
})
*/
$('a.run_config').die().unbind().live('click',function(){
dialog_changeSize($(this).attr('data-prod_id'),$(this).attr('data-size_id'));
})
$('select.dialog_change_size').live('change',function(){
$(this).find('option').each(function(){
if ($(this).val() == $(this).parent().parent().find('li.selected').html()) dialog_changeSize($(this).attr('data-prod_id'),$(this).attr('data-size_id'));
})
})
$('#bedset_form').live('submit',function(){
var commentVal = '';
commentVal += 'Produkt na indywidualne zamówienie:
';
commentVal +='
';
commentVal += 'ILOŚĆ POSZEW: '+$('#bedset_form label[for="'+$('#pattern input.number:checked').attr('id')+'"]').text()+'
';
$('#bedset_form #sewing select:visible').each(function(){
commentVal += '• Rozmiar: '+$(this).val()+'
';
})
commentVal +='
';
commentVal += 'ILOŚĆ POSZEWEK: '+$('#bedset_form label[for="'+$('#pillowcases input[name="fake_count"]:checked').attr('id')+'"]').text()+'
';
$('#bedset_form #pillowcases select:visible').each(function(){
commentVal += '• Rozmiar: '+$(this).val()+'
';
})
commentVal +='
';
if (bedSet.mode == 1) commentVal += 'PRZEŚCIERADŁO: '+$('#bedset_form label[for="'+$('#bedsheet input[name="przescieradlo"]:checked').attr('id')+'"]').text()+'
';
$('#bedset_form').append('');
})
},'all','#bedset_form_pattern');
Unsere Bettwäsche wurde aus Baumwollsatin hergestellt. Sie ist weich und fühlt sich angenehm an, deswegen ist sie perfekt um darin und darunter zu schlafen. Unsere Bettwäsche sichert einen angenehmen Schlafkomfort.
Opis produktu Bettwäsche aus Baumwollsatin ist weich, glatt und atmungsaktiv. Sie ist ideal für jede Jahreszeit. Kühl im Sommer und warm im Winter. Baumwollsatin ist 100% natürliche Baumwolle, deswegen ist die Bettwäsche atmungsaktiv, feuchtigkeitsregulierend und leicht glänzend. Dank der "Satinbindung" ist sie viel weicher und glatter als normale Baumwolle. Praktische Reißverschlüsse erleichtern die Handhabung merklich. Vor dem Waschen soll die Bettwäsche auf links gedreht werden und die Reißverschlüsse sollten geschlossen werden.
Pflegehinweise:
bei 40 Grad waschen,
bei geringer Temperatur trocknen,
nicht bleichen,
mit Temperatur bis 150 Grad bügeln.
Kissenbezüge haben keine Rüschen. Größentoleranz +/- 4%
2 tlg. Set: - 1x Bettdeckenbezug
- 1x Kissenbezug 70x80 cm
3 tlg. Set: - 1x Bettdeckenbezug
- 2x Kissenbezug 70x80 cm
4 tlg. Set: - 1x Bettdeckenbezug
- 2x Kissenbezug 70x80 cm
- Bettlaken ohne Gummizug
In Sets in den Größen: 135 cm x 200 cm, 140 cm x 200 cm, 155 cm x 200 cm, 160 cm x 200 cm gibt es ein Bettlaken ohne Gummizug in der Größe 180 cm x 230 cm.In Sets in den Größen: 180 cm x 200 cm, 200 cm x 200 cm, 200 cm x 220 cm gibt es ein Bettlaken ohne Gummizug in der Größe 200 cm x 230 cm.
Technische Daten:
Material : Baumwollsatin
Farbe : Weiß
,
Schwarz
,
brązowy#964B00
Opinie o produkcie (0)
Aby móc ocenić produkt lub dodać opinię, musisz być .
Produkt weiterempfehlen
Wenn Sie dieses Produkt jemandem weiterempfehlen möchten, können Sie hierfür das folgende Formular verwenden.
Sie können mehrere (durch Kommata getrennte) E-Mail-Adressen eingeben
Die mit -
- gekennzeichneten Felder müssen ausgefüllt werden
Hinterlassen Sie uns Ihre Kontaktdaten und wir werden Sie benachrichtigen, sobald dieses Produkt wieder verfügbar ist Bettwäsche Baumwollsatin A529 Wählen Sie eine Größe für den Benachrichtigung: uniwersalny
Bitte geben Sie Ihre E-Mail-Adresse ein, an die wir Ihneneine einmalige Benachrichtigung senden werden, sobald das Produkt wieder verfügbar ist.
Diese Daten werden verwendet, um Newsletter oder sonstige Werbungen zu senden. Sie stimmen zu, eine einmalige Information über die Verfügbarkeit dieses Produktes zu erhalten.
Ich möchte eine Benachrichtigung über die Verfügbarkeit erhalten
Diese Seite nutzt Cookies für verschiedene Dienstleistungen. Die
Richtlinien zur Verwendung von Cookies werden hierbei eingehalten. Sie können die Bedingungen für die Speicherung sowie den Zugriff auf die Cookie-Dateien in Ihrem Web-Browser festlegen.
Schließen