`<div class="shipping-information-wrap">
<div class="shipping-information" id="shipping-information-detail">
<p>
Wir versenden mit unserem Versandpartner DPD in die meisten europäischen Länder. Lieferungen an Anschriften in Deutschland, Luxemburg und Belgien sind kostenfrei ab 99,- €. Für alle weiteren Versandziele entnehmen Sie die Versandkosten und voraussichtliche Lieferzeit für das jeweilige Land bitte der untenstehenden Tabelle.
</p>
<div class="free-shipping-country">
<select name="shipping_country">
<option value="de">Deutschland</option>
<option value="at">Österreich</option>
<option value="cz">Tschechien</option>
<option value="lu">Luxemburg</option>
</select>
</div>
<div class="table clearfix shipping-table">
<div class="thead">
<div class="tr">
<div class="th col-shipping-options">Versandart</div>
<div class="th col-delivery-time">Geschätzte Lieferzeit</div>
<div class="th col-shipping-costs">Versandkosten</div>
<div class="th col-free-shipping">Versand kostenfrei ab</div>
</div>
</div>
<div class="tbody">
<div class="tr">
<div class="td col-shipping-options">
<div class="fl">DPD</div>
</div>
<div class="td col-delivery-time up">3-6 TAGEN</div>
<div class="td col-shipping-costs">€ 4.95</div>
<div class="td col-free-shipping">€ 99.00</div>
</div>
<div class="tr">
<div class="td col-shipping-options">
<div class="fl">PARCEL SHOP</div>
</div>
<div class="td col-delivery-time up">3-6 TAGEN</div>
<div class="td col-shipping-costs">€ 4.95</div>
<div class="td col-free-shipping">€ 99.00</div>
</div>
</div>
</div>
<p>
*Je nach Produktverfügbarkeit<br />
** Versandkosten in Euro, inkl. MwSt
</p>
</div>
<style>
.free-shipping-country {
margin-top: 15px;
margin-bottom: 15px;
}
.free-shipping-country select {
line-height: 1.5;
}
</style>
<script>
$(function () {
var country_data = {
at: {
dpd: {
title: "DPD",
time: "3-6 TAGEN",
cost: "€ 9.95",
free: "€ 199.00",
icon: "",
},
parcel: {
title: "PARCEL SHOP",
time: "3-6 TAGEN",
cost: "€ 9.95",
free: "€ 199.00",
icon: "",
},
},
be: {
dpd: {
title: "DPD",
time: "3-6 TAGEN",
cost: "€ 4.95",
free: "€ 59.00",
icon: "",
},
parcel: {
title: "PARCEL SHOP",
time: "3-6 TAGEN",
cost: "€ 4.95",
free: "€ 59.00",
icon: "",
},
},
cz: {
dpd: {
title: "DHL Express",
time: "3-6 TAGEN",
cost: "€ 19.95",
free: "€ 249.00",
icon: "",
},
},
de: {
dpd: {
title: "DPD",
time: "3-6 TAGEN",
cost: "€ 4.95",
free: "€ 79.00",
icon: "",
},
parcel: {
title: "PARCEL SHOP",
time: "3-6 TAGEN",
cost: "€ 4.95",
free: "€ 79.00",
icon: "",
},
},
dk: {
dpd: {
title: "DPD",
time: "3-6 TAGEN",
cost: "€ 12.95",
free: "€ 199.00",
icon: "",
},
parcel: {
title: "PARCEL SHOP",
time: "3-6 TAGEN",
cost: "€ 12.95",
free: "€ 199.00",
icon: "",
},
},
es: {
dpd: {
title: "DHL Express",
time: "3-6 TAGEN",
cost: "€ 19.95",
free: "€ 249.00",
icon: "",
},
},
fi: {
dpd: {
title: "DHL Express",
time: "3-6 TAGEN",
cost: "€ 19.95",
free: "€ 249.00",
icon: "",
},
},
ie: {
dpd: {
title: "DHL Express",
time: "3-6 TAGEN",
cost: "€ 19.95",
free: "€ 249.00",
icon: "",
},
},
it: {
dpd: {
title: "DHL Express",
time: "3-6 business days",
cost: "€ 19.95",
free: "€ 249.00",
icon: "",
},
},
lt: {
dpd: {
title: "DHL Express",
time: "3-6 TAGEN",
cost: "€ 19.95",
free: "€ 249.00",
icon: "",
},
},
lv: {
dpd: {
title: "DHL Express",
time: "3-6 business days",
cost: "€ 19.95",
free: "€ 249.00",
icon: "",
},
},
lu: {
dpd: {
title: "DPD",
time: "3-6 TAGEN",
cost: "€ 4.95",
free: "€ 99.00",
icon: "",
},
parcel: {
title: "PARCEL SHOP",
time: "3-6 TAGEN",
cost: "€ 4.95",
free: "€ 99.00",
icon: "",
},
},
nl: {
dpd: {
title: "DPD",
time: "3-6 business days",
cost: "€ 4.95",
free: "€ 59.00",
icon: "",
},
parcel: {
title: "PARCEL SHOP",
time: "3-6 business days",
cost: "€ 4.95",
free: "€ 59.00",
icon: "",
},
},
pr: {
dpd: {
title: "DPD",
time: "3-6 TAGEN",
cost: "€ 19.95",
free: "€ 249.00",
icon: "",
},
parcel: {
title: "PARCEL SHOP",
time: "3-6 business days",
cost: "€ 19.95",
free: "€ 249.00",
icon: "",
},
},
sw: {
dpd: {
title: "DHL Express",
time: "3-6 business days",
cost: "€ 19.95",
free: "€ 249.00",
icon: "",
},
},
};
$("#shipping-information-detail select").eq(0).off("change");
$("#shipping-information-detail select")
.eq(0)
.change(function () {
var country = $(this).val();
if (typeof country_data[country] != "undefined") {
var $container = $("#shipping-information-detail .table .tbody");
$container.empty();
Object.entries(country_data[country]).forEach(([key, method]) => {
$container.append(
'<div class="tr"><div class="td col-shipping-options"><div class="fl">' +
method.title +
'</div></div><div class="td col-delivery-time up">' +
method.time +
'</div><div class="td col-shipping-costs">' +
method.cost +
'</div><div class="td col-free-shipping">' +
method.free +
"</div></div>"
);
});
}
});
});
</script>
</div>
`