Daugiau informacijos
Daugiau informacijos:
Mebel pagamintas iš baldinės plokštės MDP o grubości 16 mm i 22 mm w kolorystyce: Balta Mat + juoda Połysk
Matmenys Stalai:
Plotis: 100 cm, Aukštis: 45 cm, Gylis: 70 cm
.groupcnt background: #fff;border: 10px solid #F8F6F6 .groupcnt h2 padding-bottom: 0px;display: block;background: #fff;
Gylis: 70px;position: relative; margin-top: 0px;margin-bottom: 0px;font-size: 17px;padding: 10px;line-
Gylis: 36px .groupcnt h2 span font-family: Ubuntu;
Spalva: #000000; font-size: 18.23px; /* Przybliżenie (wynika su podstawienia czcionki) */ font-weight: 400; line-
Gylis: 47.445px; /* Przybliżenie (wynika su podstawienia czcionki) */ text-align: left;text-transform: uppercase .groupcnt h2: after content: float: right; padding: 18px; font-size: 12px;
Ilgis: 25px;
Gylis: 25px; display: block; background: url(http:
idzczak-sklep.pl/themes/idzczak/img/idzczak/sd.png) no-repeat center center .groupcnt.unfolded h2: afte
ackground-image: url(http:
idzczak-sklep.pl/themes/idzczak/img/idzczak/su.png) .groupcnt .groupcnt_content background: #fff;padding: 0px 0px 15px 10px .groupcnt .groupcnt_content .elem
Ilgis: 90px;float: left;margin: 15px 15px 0px 0px; background: #fdf3f6;
Gylis: 140px; position: relative; cursor: pointer; #warlist label display: block;font-family: ubuntu;font-size: 15px;
Spalva: #454141;font-weight: normal; #warlist padding-bottom: 15px .groupcnt .groupcnt_content .elem: nth-child(5n) margin-right: 0 .groupcnt .groupcnt_content .elem div.checker margin: 4px auto 0 auto .groupcnt .groupcnt_content .elem label display: block;padding: 2px;margin-bottom: 0px .groupcnt .groupcnt_content .elem label input
Ilgis: 100%;display: block;float: none .groupcnt .groupcnt_content .elem div.desc
Gylis: 55px;font-family: ubuntu;margin: 0;padding: 5px;font-size: 14px; text-align: center; line-
Gylis: 15px;
Spalva: #000;text-align: center .groupcnt .groupcnt_content .elem div.cena text-align: center;background: #fff;font-size: 14px;
Spalva: #fff;line-
Gylis: 26px; .groupcnt .groupcnt_content .elem span.i overflow: hidden;
Ilgis: 100%;
Gylis: 58px;display: block;overflow: hidden .groupcnt .groupcnt_content .elem span.i img max-
Ilgis: 100% .groupcnt .groupcnt_content .elem.sel background: #ff7d00 .groupcnt .groupcnt_content .elem.sel div.desc
Spalva: #fff .groupcnt .groupcnt_content .elem span.info display: none;
Ilgis: 450px; .groupcnt .groupcnt_content .elem: hover span.info su-index: ;top: 25%;left: 25%;display: block;max-
Ilgis: 450px;padding: 0px;background: rgba(0, 0, 0, 0);position: absolute .groupcnt .groupcnt_content .elem.oppo: hover span.info left: auto;right: 25% .groupcnt .groupcnt_content .elem: hover span.info img max-
Ilgis: 100% #bigcena font-size: 14px;
Spalva: #fff;
Ilgis: auto;min-
Ilgis: 120px;position: fixed;right: 5px;bottom: 5px; padding: 10px;background: #ff7d00; /* Old
owsers */ text-align: right #bigcena div display: block;line-
Gylis: 44px;
Spalva: #fff #bigcena div span font-size: 29px;font-weight: bold;
Spalva: #fff
(document).ready(function if((.groupcnt_content .elem).get.length>0) (#short_description_block).append(PRZEJDŹ DO KONFIGURACJI PRODUKTU) (.groupcnt_content .elem).each(function if((this).offset.left+600
(window).width) (this).addClass(oppo)) (#description_content).attr(original-desc, (#description_content).html) (.navigation_page).attr(original-desc, (.navigation_page).html) (#bigpic).attr(original-src, (#bigpic).prop(src)) (#bigpic).attr(original-src, (#bigpic).prop(src)) (#views_block a).each(function (this).attr(original-src, (this).prop(href)) (img, this).attr(original-src, (this).prop(src))) (A.fancybox).fancybox; (.groupcnt h2).css(cursor, pointer).click(function (.groupcnt_content, (this).closest(.groupcnt)).slideToggle(100) (this).closest(.groupcnt).toggleClass(unfolded)) var aL = (.groupcnt).get; for(var i=0;i1)(h2, aL[i]).click; (#buy_block).append (.elem).click(function var oC = (input[type=checkbox], this) var iCS = oC.prop(checked) if((this).hasClass(multi_0)) (input[type=checkbox]: checked, (this).closest(.groupcnt_content)).click oC.prop(checked, iCS) oC.click; if(oC.prop(checked))
(select, #warlist).val((this).prop(id))
(.groupcnt_content input[type=checkbox]).prop(checked, false) oC.prop(checked, true) .uniform.update; updatechecks) (.elem input[type=checkbox]).click(function(e)).css(pointer-events, none) (.groupcnt_content input[type=checkbox]).prop(checked, false) if((#bigcena).get.length==0 && (input.priceadd).get.length>0)(body).append(Aktualna Cena: )
(#quantity_wanted_p).before(Format obrazu+(.origpname).val+) var aL= (div.elem).get; for(var i=0;i 0) basePriceWithoutTax = combination.specific_price.price;
Apply group reduction priceWithGroupReductionWithoutTax = basePriceWithoutTax * (1 – group_reduction) var priceWithDiscountsWithoutTax = priceWithGroupReductionWithoutTax;
Apply Tax if necessary if (noTaxForThisProduct customerGroupWithoutTax) basePriceDisplay = basePriceWithoutTax; priceWithDiscountsDisplay = priceWithDiscountsWithoutTax; else
priceWithDiscountsWithoutTax basePriceDisplay = basePriceWithoutTax * (taxRate/100 + 1) priceWithDiscountsDisplay = priceWithDiscountsWithoutTax * (taxRate/100 + 1)
console.log(priceWithDiscountsDisplay)
console.log(priceWithDiscountsDisplay) if (default_eco_tax)
combination.ecotax doesnt modify the price but only the display basePriceDisplay = basePriceDisplay + default_eco_tax * (1 + ecotaxTax_rate
100) priceWithDiscountsDisplay = priceWithDiscountsDisplay + default_eco_tax * (1 + ecotaxTax_rate
100)
Apply specific price (discount)
Note: Reduction amounts are given after tax if (combination.specific_price && combination.specific_price.reduction
0) if (combination.specific_price.reduction_type == amount) priceWithDiscountsDisplay = priceWithDiscountsDisplay – combination.specific_price.reduction;
We recalculate the price without tax in order to keep the data consistency priceWithDiscountsWithoutTax = priceWithDiscountsDisplay * (1/(1+taxRate)
100) else if (combination.specific_price.reduction_type == percentage) priceWithDiscountsDisplay = priceWithDiscountsDisplay * (1 – combination.specific_price.reduction)
We recalculate the price without tax in order to keep the data consistency priceWithDiscountsWithoutTax = priceWithDiscountsDisplay * (1/(1+taxRate)
100)
Compute discount value and percentage
Done just before display update so we have final prices if (basePriceDisplay != priceWithDiscountsDisplay) var discountValue = basePriceDisplay – priceWithDiscountsDisplay; var discountPercentage = (1-(priceWithDiscountsDisplay/basePriceDisplay))*100; /* Update the page content, no price calculation happens after *
Hide everything then show what needs to be shown (#reduction_percent).hide; (#reduction_amount).hide; (#old_price, #old_price_display, #old_price_display_taxes).hide; (.price-ecotax).hide; (.unit-price).hide; (#our_price_display).text(formatCurrency(priceWithDiscountsDisplay * currencyRate, currencyFormat, currencySign, currencyBlank))
If the calculated price (after all discounts) is different than the base price
we show the old price striked through if (priceWithDiscountsDisplay.toFixed(2) != basePriceDisplay.toFixed(2)) (#old_price_display).text(formatCurrency(basePriceDisplay * currencyRate, currencyFormat, currencySign, currencyBlank)) (#old_price, #old_price_display, #old_price_display_taxes).show;
Then if its not only a group reduction we display the discount in red box if (priceWithDiscountsWithoutTax != priceWithGroupReductionWithoutTax) if (combination.specific_price.reduction_type == amount) (#reduction_amount_display).html(- + formatCurrency(parseFloat(discountValue), currencyFormat, currencySign, currencyBlank)) (#reduction_amount).show; else (#reduction_percent_display).html(- + parseFloat(discountPercentage).toFixed(0) + %) (#reduction_percent).show;
Green Tax (Eco tax)
Update display of Green Tax if (default_eco_tax) ecotax = default_eco_tax;
If the default product ecotax is overridden by the combination if (combination.ecotax) ecotax = combination.ecotax; if (!noTaxForThisProduct) ecotax = ecotax * (1 + ecotaxTax_rate/100) (#ecotax_price_display).text(formatCurrency(ecotax * currencyRate, currencyFormat, currencySign, currencyBlank)) (.price-ecotax).show;
Unit price are the price per piece, per kg, per m²
It doesnt modify the price, its only for display if (productUnitPriceRatio
0) unit_price = priceWithDiscountsDisplay
productUnitPriceRatio; (#unit_price_display).text(formatCurrency(unit_price * currencyRate, currencyFormat, currencySign, currencyBlank)) (.unit-price).show;
If there is a quantity discount table,
we update it according to the new price updateDiscountTable(priceWithDiscountsDisplay) (#bigcena>div).html((.our_price_display).html)