Stumjama mašīna Ferbedo tīģera pīle Janosch (1,5-4 gadiem) Vācija 150007

Apraksts

Ferbedo tīģera pīle Janosch

Vecums: 1½ - 4 gadi

mīksti rokturi

Sēdekļa veidne drošai turēšanai

Whisper riepas - labs garastāvoklis visiem istabas biedriem

Izturīgs, dobi pūsts korpuss, kas izgatavots no augstas kvalitātes plastmasas

Ražots Vācijā

Zīmols::
Preces kods: 150007
77.91€
Produkts izpirkts
Piegādes veidi

Piegādes veidi


Apraksts

Ferbedo tīģera pīle Janosch

Vecums: 1½ - 4 gadi

mīksti rokturi

Sēdekļa veidne drošai turēšanai

Whisper riepas - labs garastāvoklis visiem istabas biedriem

Izturīgs, dobi pūsts korpuss, kas izgatavots no augstas kvalitātes plastmasas

Ražots Vācijā

$(document).ready(function() { var owl = $(".box #myCarousel .carousel-inner"); $("#myCarousel_next").click(function() { owl.trigger('owl.next'); return false; }) $("#myCarousel_prev").click(function() { owl.trigger('owl.prev'); return false; }); owl.owlCarousel({ slideSpeed: 500, singleItem: true }); $("#quantity_wanted").on("change", function() { dynamicPrices() }) $(".options [type=checkbox]").on("click", function() { dynamicPrices() }) function dynamicPrices() { let price = parseFloat($("#quantity_wanted").attr("price")) let price_old = parseFloat($("#quantity_wanted").attr("price_old")) let quantity = $("#quantity_wanted").val(); let new_price = price; let new_old_price = price_old; console.log(quantity); $(".options [type=checkbox]").each(function() { if ($(this).is(":checked")) { new_price += parseFloat($(this).attr("option_price")); new_old_price += parseFloat($(this).attr("option_price")); } // console.log(; let new_option_price = (parseFloat($(this).attr("option_price")) * quantity).toFixed(2) + "€"; console.log(new_option_price); $("#option_price" + $(this).val()).html(new_option_price) console.log() // // $("#option_price" + $(this).val()).html(parseFloat($(this).attr("option_price")) * quantity + "€"); // console.log(); // console.log() }) $(".price .price-new span").html((new_price * quantity).toFixed(2) + "€") $(".price .price-old").html((new_old_price * quantity).toFixed(2) + "€") // console.log(); // console.log(new_old_price * quantity); } });
Loading