![Yaras Zip-Off Fahrrad Hose Herren
Mit recycelten Altreifen aus Massenbilanz-Verfahren.
Regulärer Preis
170,00 €
ab
136,00 €
Inkl. 19% MwSt. /
zzgl. Versandkosten
function initConfigurableSwatchOptions_77967() {
const configurableOptionsComponent = initConfigurableOptions(
'77967',
{"attributes":{"346":{"id":"346","code":"size","label":"Gr\u00f6\u00dfe","options":[{"id":"352","label":"S","products":["40263","172652"]},{"id":"358","label":"S-Short","products":["40209","172667"]},{"id":"355","label":"S-Long","products":["40236","172643"]},{"id":"340","label":"M","products":["40269","172655"]},{"id":"346","label":"M-Short","products":["40221","172664"]},{"id":"343","label":"M-Long","products":["40242","172640"]},{"id":"328","label":"L","products":["40278","172646"]},{"id":"334","label":"L-Short","products":["40227","172658"]},{"id":"331","label":"L-Long","products":["40254","172631"]},{"id":"364","label":"XL","products":["40218","172637"]},{"id":"370","label":"XL-Short","products":["40245","172661"]},{"id":"367","label":"XL-Long","products":["40260","172628"]},{"id":"388","label":"XXL","products":["40224","172634"]},{"id":"394","label":"XXL-Short","products":["40251","172649"]},{"id":"391","label":"XXL-Long","products":["40266","172625"]},{"id":"400","label":"XXXL","products":["40233"]},{"id":"406","label":"XXXL-Short","products":["40257"]},{"id":"403","label":"XXXL-Long","products":["40272"]}],"position":2},"349":{"id":"349","code":"colour","label":"Farbe","options":[{"id":"895","label":"dark sea","products":["172625","172628","172637","172634","172640","172631","172643","172646","172649","172652","172655","172661","172658","172664","172667"]},{"id":"2260","label":"heron","products":[]},{"id":"451","label":"black","products":["40209","40218","40251","40263","40278","40221","40224","40227","40233","40236","40245","40242","40254","40257","40260","40266","40269","40272"]}],"position":1}},"template":"<%- data.price %>\u00a0\u20ac","currencyFormat":"%s\u00a0\u20ac","optionPrices":{"40209":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40218":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40251":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40263":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40278":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40221":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40224":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40227":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40233":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40236":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40245":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40242":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40254":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40257":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":170},"finalPrice":{"amount":170},"tierPrices":[],"msrpPrice":{"amount":0}},"40260":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40266":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40269":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40272":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":170},"finalPrice":{"amount":170},"tierPrices":[],"msrpPrice":{"amount":0}},"172625":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172628":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172637":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172634":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172640":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172631":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172643":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172646":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172649":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172652":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172655":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172661":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172658":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172664":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172667":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}}},"priceFormat":{"pattern":"%s\u00a0\u20ac","precision":2,"requiredPrecision":2,"decimalSymbol":",","groupSymbol":".","groupLength":3,"integerRequired":false},"prices":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136}},"productId":"77967","chooseText":"W\u00e4hlen Sie eine Option...","images":[],"index":{"40209":{"346":"358","349":"451"},"40218":{"346":"364","349":"451"},"40251":{"346":"394","349":"451"},"40263":{"346":"352","349":"451"},"40278":{"346":"328","349":"451"},"40221":{"346":"346","349":"451"},"40224":{"346":"388","349":"451"},"40227":{"346":"334","349":"451"},"40233":{"346":"400","349":"451"},"40236":{"346":"355","349":"451"},"40245":{"346":"370","349":"451"},"40242":{"346":"343","349":"451"},"40254":{"346":"331","349":"451"},"40257":{"346":"406","349":"451"},"40260":{"346":"367","349":"451"},"40266":{"346":"391","349":"451"},"40269":{"346":"340","349":"451"},"40272":{"346":"403","349":"451"},"172625":{"346":"391","349":"895"},"172628":{"346":"367","349":"895"},"172637":{"346":"364","349":"895"},"172634":{"346":"388","349":"895"},"172640":{"346":"343","349":"895"},"172631":{"346":"331","349":"895"},"172643":{"346":"355","349":"895"},"172646":{"346":"328","349":"895"},"172649":{"346":"394","349":"895"},"172652":{"346":"352","349":"895"},"172655":{"346":"340","349":"895"},"172661":{"346":"370","349":"895"},"172658":{"346":"334","349":"895"},"172664":{"346":"346","349":"895"},"172667":{"346":"358","349":"895"}},"salable":{"346":{"364":["40218","172637"],"394":["40251","172649"],"352":["40263","172652"],"328":["40278","172646"],"346":["40221","172664"],"388":["40224","172634"],"334":["40227"],"400":["40233"],"355":["40236","172643"],"370":["40245","172661"],"343":["40242","172640"],"331":["40254","172631"],"406":["40257"],"367":["40260","172628"],"391":["40266","172625"],"340":["40269","172655"],"403":["40272"],"358":["172667"]},"349":{"451":["40218","40251","40263","40278","40221","40224","40227","40233","40236","40245","40242","40254","40257","40260","40266","40269","40272"],"895":["172625","172628","172637","172634","172640","172631","172643","172646","172649","172652","172655","172661","172664","172667"]}},"canDisplayShowOutOfStockStatus":true,"preSelectedGallery":[],"checkoutDisabled":false,"outtra":{"eans":{"40209":"4062218342019","40218":"4062218341982","40251":"4062218342057","40263":"4062218341951","40278":"4062218341975","40221":"4062218342026","40224":"4062218341999","40227":"4062218342033","40233":"4062218342002","40236":"4062218342071","40245":"4062218342040","40242":"4062218342088","40254":"4062218342095","40257":"4062218342064","40260":"4062218342101","40266":"4062218342118","40269":"4062218341968","40272":"4062218342125","102056":"4062218818736","102065":"4062218818637","102059":"4062218818750","102080":"4062218818675","102086":"4062218818705","172625":"4067729142820","172628":"4067729142790","172637":"4067729142554","172634":"4067729142578","172640":"4067729142738","172631":"4067729142776","172643":"4067729142707","172646":"4067729142530","172649":"4067729142677","172652":"4067729142493","172655":"4067729142509","172661":"4067729142653","172658":"4067729142639","172664":"4067729142608","172667":"4067729142592"}},"channel":"website","salesChannelCode":"vaude_de","sku":{"40209":"426890103200","40218":"426890105500","40251":"426890103600","40263":"426890105200","40278":"426890105400","40221":"426890103300","40224":"426890105600","40227":"426890103400","40233":"426890105700","40236":"426890107200","40245":"426890103500","40242":"426890107300","40254":"426890107400","40257":"426890103700","40260":"426890107500","40266":"426890107600","40269":"426890105300","40272":"426890107700","172625":"426891797600","172628":"426891797500","172637":"426891795500","172634":"426891795600","172640":"426891797300","172631":"426891797400","172643":"426891797200","172646":"426891795400","172649":"426891793600","172652":"426891795200","172655":"426891795300","172661":"426891793500","172658":"426891793400","172664":"426891793300","172667":"426891793200"}} );
const swatchOptionsComponent = initSwatchOptions({"349":{"451":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/2\/42689_010_6__426890103200_e67d23f3.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/2\/42689_010_6__426890103200_e67d23f3.jpg","label":"black","product_id":40272,"base_colour":"schwarz"},"895":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/2\/42689_179_6__426891797600_c4482d06.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/2\/42689_179_6__426891797600_c4482d06.jpg","label":"dark sea","product_id":172667,"base_colour":"blau"},"additional_data":"{\"swatch_input_type\":\"visual\",\"update_product_preview_image\":\"1\",\"use_product_image_for_swatch\":\"1\"}"}});
const basePreselectFirstOptions = configurableOptionsComponent.preselectFirstOptions;
return Object.assign(
configurableOptionsComponent,
swatchOptionsComponent,
{
mediaCallback: "https\u003A\u002F\u002Fwww.vaude.com\u002Fde\u002Fde\u002Fswatches\u002Fajax\u002Fmedia\u002F",
isAutoPreselect: false,
preselectFirstOptions() {
this.isAutoPreselect = true;
basePreselectFirstOptions.call(this);
this.isAutoPreselect = false;
},
changeOption(optionId, value, skipUpdateGallery) {
this.selectedValues[optionId] = value;
this.findSimpleIndex();
this.findAllowedAttributeOptions();
this.updatePrices();
!this.isAutoPreselect && this.updateProductLink(optionId, value);
!skipUpdateGallery && this.updateGallery();
},
initSwatchGallery() {
this.hidePriceLabelIfNoSpecialPrice();
this.initBreakpoint();
this.findAllowedAttributeOptions();
this.preselectFirstOptionIfNoneSelected();
},
allowedAttributeOptionsAnySize: null,
optionIsActive(attributeId, optionId) {
if (this.allowedAttributeOptionsAnySize === null) {
this.allowedAttributeOptionsAnySize = this.calculateAllowedAttributeOptions([]);
}
return !!(this.allowedAttributeOptionsAnySize[attributeId] || []).find(
option => option.id === optionId
);
},
initBreakpoint() {
const bp = window.matchMedia('(min-width: 810px)'),
app = this,
swatchCountMobile = 2;
this.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile;
bp.addEventListener('change', (ev) => {
app.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile;
});
},
hidePriceLabelIfNoSpecialPrice() {
let hidePriceLabel = true;
let specialOption;
Object.values(this.optionConfig.optionPrices).forEach((option) => {
if (option.finalPrice.amount < option.oldPrice.amount) {
hidePriceLabel = false;
specialOption = option;
}
});
hidePriceLabel && this.$root.closest('.product-item-inner')?.querySelector('.normal-price .price-label')?.classList.add('!hidden');
},
updateGallery() {
if (!this.productIndex) {
return;
}
fetch(`${this.mediaCallback}?product_id=${this.productIndex}&isAjax=true`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'X-Requested-With': 'XMLHttpRequest'
}
}
).then(response => {
return response.json()
}
).then(data => {
if (data.errors) {
// non critical failure only console logged
console.warn(data.errors);
} else {
const image = data && data.medium;
image && window.dispatchEvent(
new CustomEvent(
"update-gallery-77967",
{detail: image}
)
);
}
}).catch(error => {
console.warn(error)
});
},
preselectQuerystringItems() {
let url = new URL(window.location.href),
selectedColours = [];
url.searchParams.forEach((v, k) => {
k.indexOf('base_colour') === 0 && selectedColours.push(v);
});
if (selectedColours.length) {
Object.keys(this.swatchConfig).forEach((k) => {
Object.keys(this.swatchConfig[k]).some((optId) => {
if (this.swatchConfig[k][optId]['base_colour'] && selectedColours.includes(this.swatchConfig[k][optId]['base_colour'])) {
this.$el.querySelector('input[value="' + optId + '"]')?.dispatchEvent(new Event('change'));
return true;
}
})
})
}
},
preselectFirstOptionIfNoneSelected() {
const hasSelection = Object.values(this.selectedValues).some(v => v);
if (hasSelection) {
return;
}
for (const attributeId in this.optionConfig.attributes) {
const options = this.optionConfig.attributes[attributeId].options;
if (options && options.length) {
this.isAutoPreselect = true;
this.changeOption(attributeId, options[0].id);
this.isAutoPreselect = false;
break;
}
}
},
updateProductLink(optionId, value) {
const linkEl = this.$el.closest('a'),
attribute = this.optionConfig.attributes[optionId];
if (linkEl && attribute?.code) {
let url = new URL(linkEl.href);
const isValidOption = !!value && (attribute.options || []).some(option => option.id === value);
isValidOption
? url.searchParams.set(attribute.code, value)
: url.searchParams.delete(attribute.code);
linkEl.href = decodeURI(url.toString());
}
},
getActiveAndEnabledOptions(attributeId) {
if (this.optionConfig.attributes[attributeId].options && !this.activeAndEnabledOptions[this.optionConfig.attributes[attributeId].options[0].id]) {
this.optionConfig.attributes[attributeId].options.forEach((option) => {
if (this.optionIsEnabled(attributeId, option.id) || this.optionIsActive(attributeId, option.id)) {
!this.activeAndEnabledOptions[attributeId] && (this.activeAndEnabledOptions[attributeId] = {});
!this.activeAndEnabledOptions[attributeId][option.id] && (this.activeAndEnabledOptions[attributeId][option.id] = option) && this.enabledOptionsCount++;
}
})
}
return this.activeAndEnabledOptions[attributeId] || [];
},
mouseDown: false,
startX: 0,
maxScroll: 0,
scrollLeft: null,
slider: null,
maxInitial: 3,
activeAndEnabledOptions: [],
enabledOptionsCount: 0,
showAll: false,
scrollEvents: {
['@mousedown'](e) {
this.slider = e.target.closest('.snap');
if (!this.slider) {
return;
}
this.maxScroll = this.slider.scrollWidth - this.slider.offsetWidth;
this.startX = e.pageX - this.slider.offsetLeft;
this.scrollLeft = this.slider.scrollLeft;
this.mouseDown = true;
},
['@mouseout.self']() {
this.mouseDown = false;
},
['@mouseup']() {
this.mouseDown = false;
},
['@mousemove'](e) {
e.preventDefault();
if (!this.mouseDown) {
return;
}
const x = e.pageX - this.slider.offsetLeft;
const scroll = x - this.startX;
const scrollLeft = this.scrollLeft - scroll;
if (scrollLeft > this.maxScroll) {
this.slider.scrollLeft = this.maxScroll;
return
}
this.slider.scrollLeft = this.scrollLeft - scroll;
},
['@onselectstart']() {
return false;
}
},
resizeEvent() {
Array.from(this.$el.querySelectorAll('.snap')).forEach(slider => {
slider.scrollLeft = 0;
})
}
}
);
}
plus](https://www.vaude.com/media/catalog/product/cache/67ee89799642c567a71fc92f3699d937/4/2/42689_010_6__426890103200_e67d23f3.jpg)
VAUDE
Yaras Zip-Off Fahrrad Hose Herren Mit recycelten Altreifen aus Massenbilanz-Verfahren. Regulärer Preis 170,00 € ab 136,00 € Inkl. 19% MwSt. / zzgl. Versandkosten function initConfigurableSwatchOptions_77967() { const configurableOptionsComponent = initConfigurableOptions( '77967', {"attributes":{"346":{"id":"346","code":"size","label":"Gr\u00f6\u00dfe","options":[{"id":"352","label":"S","products":["40263","172652"]},{"id":"358","label":"S-Short","products":["40209","172667"]},{"id":"355","label":"S-Long","products":["40236","172643"]},{"id":"340","label":"M","products":["40269","172655"]},{"id":"346","label":"M-Short","products":["40221","172664"]},{"id":"343","label":"M-Long","products":["40242","172640"]},{"id":"328","label":"L","products":["40278","172646"]},{"id":"334","label":"L-Short","products":["40227","172658"]},{"id":"331","label":"L-Long","products":["40254","172631"]},{"id":"364","label":"XL","products":["40218","172637"]},{"id":"370","label":"XL-Short","products":["40245","172661"]},{"id":"367","label":"XL-Long","products":["40260","172628"]},{"id":"388","label":"XXL","products":["40224","172634"]},{"id":"394","label":"XXL-Short","products":["40251","172649"]},{"id":"391","label":"XXL-Long","products":["40266","172625"]},{"id":"400","label":"XXXL","products":["40233"]},{"id":"406","label":"XXXL-Short","products":["40257"]},{"id":"403","label":"XXXL-Long","products":["40272"]}],"position":2},"349":{"id":"349","code":"colour","label":"Farbe","options":[{"id":"895","label":"dark sea","products":["172625","172628","172637","172634","172640","172631","172643","172646","172649","172652","172655","172661","172658","172664","172667"]},{"id":"2260","label":"heron","products":[]},{"id":"451","label":"black","products":["40209","40218","40251","40263","40278","40221","40224","40227","40233","40236","40245","40242","40254","40257","40260","40266","40269","40272"]}],"position":1}},"template":"<%- data.price %>\u00a0\u20ac","currencyFormat":"%s\u00a0\u20ac","optionPrices":{"40209":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40218":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40251":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40263":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40278":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40221":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40224":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40227":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40233":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40236":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40245":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40242":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40254":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40257":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":170},"finalPrice":{"amount":170},"tierPrices":[],"msrpPrice":{"amount":0}},"40260":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40266":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40269":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"40272":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":170},"finalPrice":{"amount":170},"tierPrices":[],"msrpPrice":{"amount":0}},"172625":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172628":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172637":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172634":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172640":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172631":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172643":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172646":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172649":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172652":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172655":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172661":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172658":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172664":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}},"172667":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136},"tierPrices":[],"msrpPrice":{"amount":0}}},"priceFormat":{"pattern":"%s\u00a0\u20ac","precision":2,"requiredPrecision":2,"decimalSymbol":",","groupSymbol":".","groupLength":3,"integerRequired":false},"prices":{"baseOldPrice":{"amount":170},"oldPrice":{"amount":170},"basePrice":{"amount":136},"finalPrice":{"amount":136}},"productId":"77967","chooseText":"W\u00e4hlen Sie eine Option...","images":[],"index":{"40209":{"346":"358","349":"451"},"40218":{"346":"364","349":"451"},"40251":{"346":"394","349":"451"},"40263":{"346":"352","349":"451"},"40278":{"346":"328","349":"451"},"40221":{"346":"346","349":"451"},"40224":{"346":"388","349":"451"},"40227":{"346":"334","349":"451"},"40233":{"346":"400","349":"451"},"40236":{"346":"355","349":"451"},"40245":{"346":"370","349":"451"},"40242":{"346":"343","349":"451"},"40254":{"346":"331","349":"451"},"40257":{"346":"406","349":"451"},"40260":{"346":"367","349":"451"},"40266":{"346":"391","349":"451"},"40269":{"346":"340","349":"451"},"40272":{"346":"403","349":"451"},"172625":{"346":"391","349":"895"},"172628":{"346":"367","349":"895"},"172637":{"346":"364","349":"895"},"172634":{"346":"388","349":"895"},"172640":{"346":"343","349":"895"},"172631":{"346":"331","349":"895"},"172643":{"346":"355","349":"895"},"172646":{"346":"328","349":"895"},"172649":{"346":"394","349":"895"},"172652":{"346":"352","349":"895"},"172655":{"346":"340","349":"895"},"172661":{"346":"370","349":"895"},"172658":{"346":"334","349":"895"},"172664":{"346":"346","349":"895"},"172667":{"346":"358","349":"895"}},"salable":{"346":{"364":["40218","172637"],"394":["40251","172649"],"352":["40263","172652"],"328":["40278","172646"],"346":["40221","172664"],"388":["40224","172634"],"334":["40227"],"400":["40233"],"355":["40236","172643"],"370":["40245","172661"],"343":["40242","172640"],"331":["40254","172631"],"406":["40257"],"367":["40260","172628"],"391":["40266","172625"],"340":["40269","172655"],"403":["40272"],"358":["172667"]},"349":{"451":["40218","40251","40263","40278","40221","40224","40227","40233","40236","40245","40242","40254","40257","40260","40266","40269","40272"],"895":["172625","172628","172637","172634","172640","172631","172643","172646","172649","172652","172655","172661","172664","172667"]}},"canDisplayShowOutOfStockStatus":true,"preSelectedGallery":[],"checkoutDisabled":false,"outtra":{"eans":{"40209":"4062218342019","40218":"4062218341982","40251":"4062218342057","40263":"4062218341951","40278":"4062218341975","40221":"4062218342026","40224":"4062218341999","40227":"4062218342033","40233":"4062218342002","40236":"4062218342071","40245":"4062218342040","40242":"4062218342088","40254":"4062218342095","40257":"4062218342064","40260":"4062218342101","40266":"4062218342118","40269":"4062218341968","40272":"4062218342125","102056":"4062218818736","102065":"4062218818637","102059":"4062218818750","102080":"4062218818675","102086":"4062218818705","172625":"4067729142820","172628":"4067729142790","172637":"4067729142554","172634":"4067729142578","172640":"4067729142738","172631":"4067729142776","172643":"4067729142707","172646":"4067729142530","172649":"4067729142677","172652":"4067729142493","172655":"4067729142509","172661":"4067729142653","172658":"4067729142639","172664":"4067729142608","172667":"4067729142592"}},"channel":"website","salesChannelCode":"vaude_de","sku":{"40209":"426890103200","40218":"426890105500","40251":"426890103600","40263":"426890105200","40278":"426890105400","40221":"426890103300","40224":"426890105600","40227":"426890103400","40233":"426890105700","40236":"426890107200","40245":"426890103500","40242":"426890107300","40254":"426890107400","40257":"426890103700","40260":"426890107500","40266":"426890107600","40269":"426890105300","40272":"426890107700","172625":"426891797600","172628":"426891797500","172637":"426891795500","172634":"426891795600","172640":"426891797300","172631":"426891797400","172643":"426891797200","172646":"426891795400","172649":"426891793600","172652":"426891795200","172655":"426891795300","172661":"426891793500","172658":"426891793400","172664":"426891793300","172667":"426891793200"}} ); const swatchOptionsComponent = initSwatchOptions({"349":{"451":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/2\/42689_010_6__426890103200_e67d23f3.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/2\/42689_010_6__426890103200_e67d23f3.jpg","label":"black","product_id":40272,"base_colour":"schwarz"},"895":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/2\/42689_179_6__426891797600_c4482d06.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/2\/42689_179_6__426891797600_c4482d06.jpg","label":"dark sea","product_id":172667,"base_colour":"blau"},"additional_data":"{\"swatch_input_type\":\"visual\",\"update_product_preview_image\":\"1\",\"use_product_image_for_swatch\":\"1\"}"}}); const basePreselectFirstOptions = configurableOptionsComponent.preselectFirstOptions; return Object.assign( configurableOptionsComponent, swatchOptionsComponent, { mediaCallback: "https\u003A\u002F\u002Fwww.vaude.com\u002Fde\u002Fde\u002Fswatches\u002Fajax\u002Fmedia\u002F", isAutoPreselect: false, preselectFirstOptions() { this.isAutoPreselect = true; basePreselectFirstOptions.call(this); this.isAutoPreselect = false; }, changeOption(optionId, value, skipUpdateGallery) { this.selectedValues[optionId] = value; this.findSimpleIndex(); this.findAllowedAttributeOptions(); this.updatePrices(); !this.isAutoPreselect && this.updateProductLink(optionId, value); !skipUpdateGallery && this.updateGallery(); }, initSwatchGallery() { this.hidePriceLabelIfNoSpecialPrice(); this.initBreakpoint(); this.findAllowedAttributeOptions(); this.preselectFirstOptionIfNoneSelected(); }, allowedAttributeOptionsAnySize: null, optionIsActive(attributeId, optionId) { if (this.allowedAttributeOptionsAnySize === null) { this.allowedAttributeOptionsAnySize = this.calculateAllowedAttributeOptions([]); } return !!(this.allowedAttributeOptionsAnySize[attributeId] || []).find( option => option.id === optionId ); }, initBreakpoint() { const bp = window.matchMedia('(min-width: 810px)'), app = this, swatchCountMobile = 2; this.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile; bp.addEventListener('change', (ev) => { app.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile; }); }, hidePriceLabelIfNoSpecialPrice() { let hidePriceLabel = true; let specialOption; Object.values(this.optionConfig.optionPrices).forEach((option) => { if (option.finalPrice.amount < option.oldPrice.amount) { hidePriceLabel = false; specialOption = option; } }); hidePriceLabel && this.$root.closest('.product-item-inner')?.querySelector('.normal-price .price-label')?.classList.add('!hidden'); }, updateGallery() { if (!this.productIndex) { return; } fetch(`${this.mediaCallback}?product_id=${this.productIndex}&isAjax=true`, { method: 'GET', headers: { 'Content-Type': 'application/json', 'X-Requested-With': 'XMLHttpRequest' } } ).then(response => { return response.json() } ).then(data => { if (data.errors) { // non critical failure only console logged console.warn(data.errors); } else { const image = data && data.medium; image && window.dispatchEvent( new CustomEvent( "update-gallery-77967", {detail: image} ) ); } }).catch(error => { console.warn(error) }); }, preselectQuerystringItems() { let url = new URL(window.location.href), selectedColours = []; url.searchParams.forEach((v, k) => { k.indexOf('base_colour') === 0 && selectedColours.push(v); }); if (selectedColours.length) { Object.keys(this.swatchConfig).forEach((k) => { Object.keys(this.swatchConfig[k]).some((optId) => { if (this.swatchConfig[k][optId]['base_colour'] && selectedColours.includes(this.swatchConfig[k][optId]['base_colour'])) { this.$el.querySelector('input[value="' + optId + '"]')?.dispatchEvent(new Event('change')); return true; } }) }) } }, preselectFirstOptionIfNoneSelected() { const hasSelection = Object.values(this.selectedValues).some(v => v); if (hasSelection) { return; } for (const attributeId in this.optionConfig.attributes) { const options = this.optionConfig.attributes[attributeId].options; if (options && options.length) { this.isAutoPreselect = true; this.changeOption(attributeId, options[0].id); this.isAutoPreselect = false; break; } } }, updateProductLink(optionId, value) { const linkEl = this.$el.closest('a'), attribute = this.optionConfig.attributes[optionId]; if (linkEl && attribute?.code) { let url = new URL(linkEl.href); const isValidOption = !!value && (attribute.options || []).some(option => option.id === value); isValidOption ? url.searchParams.set(attribute.code, value) : url.searchParams.delete(attribute.code); linkEl.href = decodeURI(url.toString()); } }, getActiveAndEnabledOptions(attributeId) { if (this.optionConfig.attributes[attributeId].options && !this.activeAndEnabledOptions[this.optionConfig.attributes[attributeId].options[0].id]) { this.optionConfig.attributes[attributeId].options.forEach((option) => { if (this.optionIsEnabled(attributeId, option.id) || this.optionIsActive(attributeId, option.id)) { !this.activeAndEnabledOptions[attributeId] && (this.activeAndEnabledOptions[attributeId] = {}); !this.activeAndEnabledOptions[attributeId][option.id] && (this.activeAndEnabledOptions[attributeId][option.id] = option) && this.enabledOptionsCount++; } }) } return this.activeAndEnabledOptions[attributeId] || []; }, mouseDown: false, startX: 0, maxScroll: 0, scrollLeft: null, slider: null, maxInitial: 3, activeAndEnabledOptions: [], enabledOptionsCount: 0, showAll: false, scrollEvents: { ['@mousedown'](e) { this.slider = e.target.closest('.snap'); if (!this.slider) { return; } this.maxScroll = this.slider.scrollWidth - this.slider.offsetWidth; this.startX = e.pageX - this.slider.offsetLeft; this.scrollLeft = this.slider.scrollLeft; this.mouseDown = true; }, ['@mouseout.self']() { this.mouseDown = false; }, ['@mouseup']() { this.mouseDown = false; }, ['@mousemove'](e) { e.preventDefault(); if (!this.mouseDown) { return; } const x = e.pageX - this.slider.offsetLeft; const scroll = x - this.startX; const scrollLeft = this.scrollLeft - scroll; if (scrollLeft > this.maxScroll) { this.slider.scrollLeft = this.maxScroll; return } this.slider.scrollLeft = this.scrollLeft - scroll; }, ['@onselectstart']() { return false; } }, resizeEvent() { Array.from(this.$el.querySelectorAll('.snap')).forEach(slider => { slider.scrollLeft = 0; }) } } ); } plus
€170
Buy at VAUDE
Checkout happens on the brand’s own shop. We take no cut.
Fibre
19% mwst
- Brand
- VAUDE ↗
- Brand home
- Germany
- Made for
- Men
- Availability
- Available
- On the brand
- Sustainable outdoor gear
Field notes
This piece already exists. Its fibre is grown, its water spent, its box already on a shelf in Germany. Wearing it for a decade is the most ecological thing that can still happen to it.
Read why we aggregate sale pieces →![Essential T-Shirt mit Wolle Damen
Mit zertifizierter Wolle
Regulärer Preis
75,00 €
ab
52,50 €
Inkl. 19% MwSt. /
zzgl. Versandkosten
function initConfigurableSwatchOptions_161654() {
const configurableOptionsComponent = initConfigurableOptions(
'161654',
{"attributes":{"346":{"id":"346","code":"size","label":"Gr\u00f6\u00dfe","options":[{"id":"97","label":"34","products":["168905","168920","168947"]},{"id":"109","label":"36","products":["168890","168923","168941"]},{"id":"127","label":"38","products":["168896","168914","168944"]},{"id":"148","label":"40","products":["168893","168911","168938"]},{"id":"163","label":"42","products":["168887","168908","168932"]},{"id":"178","label":"44","products":["168881","168917","168935"]},{"id":"196","label":"46","products":["168878","168899","168929"]},{"id":"211","label":"48","products":["168884","168902","168926"]}],"position":2},"349":{"id":"349","code":"colour","label":"Farbe","options":[{"id":"895","label":"dark sea","products":["168902","168899","168908","168914","168911","168917","168920","168923"]},{"id":"18985","label":"agave","products":["168926","168929","168932","168935","168941","168938","168944","168947"]},{"id":"19113","label":"magento","products":["168878","168884","168893","168881","168890","168896","168887","168905"]}],"position":1}},"template":"<%- data.price %>\u00a0\u20ac","currencyFormat":"%s\u00a0\u20ac","optionPrices":{"168878":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":52.5},"finalPrice":{"amount":52.5},"tierPrices":[],"msrpPrice":{"amount":0}},"168884":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":52.5},"finalPrice":{"amount":52.5},"tierPrices":[],"msrpPrice":{"amount":0}},"168893":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":52.5},"finalPrice":{"amount":52.5},"tierPrices":[],"msrpPrice":{"amount":0}},"168881":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":52.5},"finalPrice":{"amount":52.5},"tierPrices":[],"msrpPrice":{"amount":0}},"168890":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":52.5},"finalPrice":{"amount":52.5},"tierPrices":[],"msrpPrice":{"amount":0}},"168896":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":52.5},"finalPrice":{"amount":52.5},"tierPrices":[],"msrpPrice":{"amount":0}},"168887":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":52.5},"finalPrice":{"amount":52.5},"tierPrices":[],"msrpPrice":{"amount":0}},"168902":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168899":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168905":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":52.5},"finalPrice":{"amount":52.5},"tierPrices":[],"msrpPrice":{"amount":0}},"168908":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168914":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168911":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168917":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168920":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168923":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168926":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168929":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168932":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168935":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168941":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168938":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168944":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}},"168947":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":75},"finalPrice":{"amount":75},"tierPrices":[],"msrpPrice":{"amount":0}}},"priceFormat":{"pattern":"%s\u00a0\u20ac","precision":2,"requiredPrecision":2,"decimalSymbol":",","groupSymbol":".","groupLength":3,"integerRequired":false},"prices":{"baseOldPrice":{"amount":75},"oldPrice":{"amount":75},"basePrice":{"amount":52.5},"finalPrice":{"amount":52.5}},"productId":"161654","chooseText":"W\u00e4hlen Sie eine Option...","images":[],"index":{"168878":{"346":"196","349":"19113"},"168884":{"346":"211","349":"19113"},"168893":{"346":"148","349":"19113"},"168881":{"346":"178","349":"19113"},"168890":{"346":"109","349":"19113"},"168896":{"346":"127","349":"19113"},"168887":{"346":"163","349":"19113"},"168902":{"346":"211","349":"895"},"168899":{"346":"196","349":"895"},"168905":{"346":"97","349":"19113"},"168908":{"346":"163","349":"895"},"168914":{"346":"127","349":"895"},"168911":{"346":"148","349":"895"},"168917":{"346":"178","349":"895"},"168920":{"346":"97","349":"895"},"168923":{"346":"109","349":"895"},"168926":{"346":"211","349":"18985"},"168929":{"346":"196","349":"18985"},"168932":{"346":"163","349":"18985"},"168935":{"346":"178","349":"18985"},"168941":{"346":"109","349":"18985"},"168938":{"346":"148","349":"18985"},"168944":{"346":"127","349":"18985"},"168947":{"346":"97","349":"18985"}},"salable":{"346":{"178":["168881","168917","168935"],"211":["168902"],"196":["168899"],"97":["168905","168920","168947"],"163":["168908","168932"],"127":["168914"],"109":["168923"],"148":["168938"]},"349":{"19113":["168881","168905"],"895":["168902","168899","168908","168914","168917","168920","168923"],"18985":["168932","168935","168938","168947"]}},"canDisplayShowOutOfStockStatus":true,"checkoutDisabled":false,"outtra":{"eans":{"168878":"4067729194881","168884":"4067729194898","168893":"4067729194850","168881":"4067729194874","168890":"4067729194836","168896":"4067729194843","168887":"4067729194867","168902":"4067729136188","168899":"4062218962989","168905":"4067729194829","168908":"4062218962941","168914":"4062218962873","168911":"4062218962910","168917":"4062218962958","168920":"4067729136119","168923":"4062218962835","168926":"4067729136096","168929":"4062218962811","168932":"4062218962767","168935":"4062218962781","168941":"4062218962699","168938":"4062218962743","168944":"4062218962712","168947":"4067729136003"}},"channel":"website","salesChannelCode":"vaude_de","sku":{"168878":"471154290460","168884":"471154290480","168893":"471154290400","168881":"471154290440","168890":"471154290360","168896":"471154290380","168887":"471154290420","168902":"471151790480","168899":"471151790460","168905":"471154290340","168908":"471151790420","168914":"471151790380","168911":"471151790400","168917":"471151790440","168920":"471151790340","168923":"471151790360","168926":"471151230480","168929":"471151230460","168932":"471151230420","168935":"471151230440","168941":"471151230360","168938":"471151230400","168944":"471151230380","168947":"471151230340"}} );
const swatchOptionsComponent = initSwatchOptions({"349":{"18985":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47115_123_6__471151230480_18dbbe90.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47115_123_6__471151230480_18dbbe90.jpg","label":"agave","product_id":168947,"base_colour":"khaki"},"895":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47115_179_6__471151790480_0a6a3365.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47115_179_6__471151790480_0a6a3365.jpg","label":"dark sea","product_id":168923,"base_colour":"blau"},"19113":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47115_429_6__471154290460_d9b6a84e.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47115_429_6__471154290460_d9b6a84e.jpg","label":"magento","product_id":168905,"base_colour":"lila"},"additional_data":"{\"swatch_input_type\":\"visual\",\"update_product_preview_image\":\"1\",\"use_product_image_for_swatch\":\"1\"}"}});
const basePreselectFirstOptions = configurableOptionsComponent.preselectFirstOptions;
return Object.assign(
configurableOptionsComponent,
swatchOptionsComponent,
{
mediaCallback: "https\u003A\u002F\u002Fwww.vaude.com\u002Fde\u002Fde\u002Fswatches\u002Fajax\u002Fmedia\u002F",
isAutoPreselect: false,
preselectFirstOptions() {
this.isAutoPreselect = true;
basePreselectFirstOptions.call(this);
this.isAutoPreselect = false;
},
changeOption(optionId, value, skipUpdateGallery) {
this.selectedValues[optionId] = value;
this.findSimpleIndex();
this.findAllowedAttributeOptions();
this.updatePrices();
!this.isAutoPreselect && this.updateProductLink(optionId, value);
!skipUpdateGallery && this.updateGallery();
},
initSwatchGallery() {
this.hidePriceLabelIfNoSpecialPrice();
this.initBreakpoint();
this.findAllowedAttributeOptions();
this.preselectFirstOptionIfNoneSelected();
},
allowedAttributeOptionsAnySize: null,
optionIsActive(attributeId, optionId) {
if (this.allowedAttributeOptionsAnySize === null) {
this.allowedAttributeOptionsAnySize = this.calculateAllowedAttributeOptions([]);
}
return !!(this.allowedAttributeOptionsAnySize[attributeId] || []).find(
option => option.id === optionId
);
},
initBreakpoint() {
const bp = window.matchMedia('(min-width: 810px)'),
app = this,
swatchCountMobile = 2;
this.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile;
bp.addEventListener('change', (ev) => {
app.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile;
});
},
hidePriceLabelIfNoSpecialPrice() {
let hidePriceLabel = true;
let specialOption;
Object.values(this.optionConfig.optionPrices).forEach((option) => {
if (option.finalPrice.amount < option.oldPrice.amount) {
hidePriceLabel = false;
specialOption = option;
}
});
hidePriceLabel && this.$root.closest('.product-item-inner')?.querySelector('.normal-price .price-label')?.classList.add('!hidden');
},
updateGallery() {
if (!this.productIndex) {
return;
}
fetch(`${this.mediaCallback}?product_id=${this.productIndex}&isAjax=true`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'X-Requested-With': 'XMLHttpRequest'
}
}
).then(response => {
return response.json()
}
).then(data => {
if (data.errors) {
// non critical failure only console logged
console.warn(data.errors);
} else {
const image = data && data.medium;
image && window.dispatchEvent(
new CustomEvent(
"update-gallery-161654",
{detail: image}
)
);
}
}).catch(error => {
console.warn(error)
});
},
preselectQuerystringItems() {
let url = new URL(window.location.href),
selectedColours = [];
url.searchParams.forEach((v, k) => {
k.indexOf('base_colour') === 0 && selectedColours.push(v);
});
if (selectedColours.length) {
Object.keys(this.swatchConfig).forEach((k) => {
Object.keys(this.swatchConfig[k]).some((optId) => {
if (this.swatchConfig[k][optId]['base_colour'] && selectedColours.includes(this.swatchConfig[k][optId]['base_colour'])) {
this.$el.querySelector('input[value="' + optId + '"]')?.dispatchEvent(new Event('change'));
return true;
}
})
})
}
},
preselectFirstOptionIfNoneSelected() {
const hasSelection = Object.values(this.selectedValues).some(v => v);
if (hasSelection) {
return;
}
for (const attributeId in this.optionConfig.attributes) {
const options = this.optionConfig.attributes[attributeId].options;
if (options && options.length) {
this.isAutoPreselect = true;
this.changeOption(attributeId, options[0].id);
this.isAutoPreselect = false;
break;
}
}
},
updateProductLink(optionId, value) {
const linkEl = this.$el.closest('a'),
attribute = this.optionConfig.attributes[optionId];
if (linkEl && attribute?.code) {
let url = new URL(linkEl.href);
const isValidOption = !!value && (attribute.options || []).some(option => option.id === value);
isValidOption
? url.searchParams.set(attribute.code, value)
: url.searchParams.delete(attribute.code);
linkEl.href = decodeURI(url.toString());
}
},
getActiveAndEnabledOptions(attributeId) {
if (this.optionConfig.attributes[attributeId].options && !this.activeAndEnabledOptions[this.optionConfig.attributes[attributeId].options[0].id]) {
this.optionConfig.attributes[attributeId].options.forEach((option) => {
if (this.optionIsEnabled(attributeId, option.id) || this.optionIsActive(attributeId, option.id)) {
!this.activeAndEnabledOptions[attributeId] && (this.activeAndEnabledOptions[attributeId] = {});
!this.activeAndEnabledOptions[attributeId][option.id] && (this.activeAndEnabledOptions[attributeId][option.id] = option) && this.enabledOptionsCount++;
}
})
}
return this.activeAndEnabledOptions[attributeId] || [];
},
mouseDown: false,
startX: 0,
maxScroll: 0,
scrollLeft: null,
slider: null,
maxInitial: 3,
activeAndEnabledOptions: [],
enabledOptionsCount: 0,
showAll: false,
scrollEvents: {
['@mousedown'](e) {
this.slider = e.target.closest('.snap');
if (!this.slider) {
return;
}
this.maxScroll = this.slider.scrollWidth - this.slider.offsetWidth;
this.startX = e.pageX - this.slider.offsetLeft;
this.scrollLeft = this.slider.scrollLeft;
this.mouseDown = true;
},
['@mouseout.self']() {
this.mouseDown = false;
},
['@mouseup']() {
this.mouseDown = false;
},
['@mousemove'](e) {
e.preventDefault();
if (!this.mouseDown) {
return;
}
const x = e.pageX - this.slider.offsetLeft;
const scroll = x - this.startX;
const scrollLeft = this.scrollLeft - scroll;
if (scrollLeft > this.maxScroll) {
this.slider.scrollLeft = this.maxScroll;
return
}
this.slider.scrollLeft = this.scrollLeft - scroll;
},
['@onselectstart']() {
return false;
}
},
resizeEvent() {
Array.from(this.$el.querySelectorAll('.snap')).forEach(slider => {
slider.scrollLeft = 0;
})
}
}
);
}
plus](https://www.vaude.com/media/catalog/product/cache/67ee89799642c567a71fc92f3699d937/4/7/47115_429_6__471154290460_d9b6a84e.jpg)
![Essential T-Shirt mit Wolle Herren
Mit zertifizierter Wolle
Regulärer Preis
80,00 €
ab
64,00 €
Inkl. 19% MwSt. /
zzgl. Versandkosten
function initConfigurableSwatchOptions_161651() {
const configurableOptionsComponent = initConfigurableOptions(
'161651',
{"attributes":{"346":{"id":"346","code":"size","label":"Gr\u00f6\u00dfe","options":[{"id":"352","label":"S","products":["168320","168341","168353"]},{"id":"340","label":"M","products":["168311","168332","168356"]},{"id":"328","label":"L","products":["168308","168338","168350"]},{"id":"364","label":"XL","products":["168314","168329","168347"]},{"id":"388","label":"XXL","products":["168317","168326","168344"]},{"id":"400","label":"XXXL","products":["168305","168323","168335"]}],"position":2},"349":{"id":"349","code":"colour","label":"Farbe","options":[{"id":"2260","label":"heron","products":["168305","168314","168311","168317","168308","168320"]},{"id":"442","label":"carmine","products":["168335","168344","168347","168350","168353","168356"]},{"id":"19451","label":"light leaf","products":["168323","168326","168329","168332","168341","168338"]}],"position":1}},"template":"<%- data.price %>\u00a0\u20ac","currencyFormat":"%s\u00a0\u20ac","optionPrices":{"168305":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168314":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168311":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168317":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168308":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168323":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":64},"finalPrice":{"amount":64},"tierPrices":[],"msrpPrice":{"amount":0}},"168320":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168326":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":64},"finalPrice":{"amount":64},"tierPrices":[],"msrpPrice":{"amount":0}},"168329":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":64},"finalPrice":{"amount":64},"tierPrices":[],"msrpPrice":{"amount":0}},"168332":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":64},"finalPrice":{"amount":64},"tierPrices":[],"msrpPrice":{"amount":0}},"168341":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":64},"finalPrice":{"amount":64},"tierPrices":[],"msrpPrice":{"amount":0}},"168335":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168344":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168338":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":64},"finalPrice":{"amount":64},"tierPrices":[],"msrpPrice":{"amount":0}},"168347":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168350":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168353":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}},"168356":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":80},"finalPrice":{"amount":80},"tierPrices":[],"msrpPrice":{"amount":0}}},"priceFormat":{"pattern":"%s\u00a0\u20ac","precision":2,"requiredPrecision":2,"decimalSymbol":",","groupSymbol":".","groupLength":3,"integerRequired":false},"prices":{"baseOldPrice":{"amount":80},"oldPrice":{"amount":80},"basePrice":{"amount":64},"finalPrice":{"amount":64}},"productId":"161651","chooseText":"W\u00e4hlen Sie eine Option...","images":[],"index":{"168305":{"346":"400","349":"2260"},"168314":{"346":"364","349":"2260"},"168311":{"346":"340","349":"2260"},"168317":{"346":"388","349":"2260"},"168308":{"346":"328","349":"2260"},"168323":{"346":"400","349":"19451"},"168320":{"346":"352","349":"2260"},"168326":{"346":"388","349":"19451"},"168329":{"346":"364","349":"19451"},"168332":{"346":"340","349":"19451"},"168341":{"346":"352","349":"19451"},"168335":{"346":"400","349":"442"},"168344":{"346":"388","349":"442"},"168338":{"346":"328","349":"19451"},"168347":{"346":"364","349":"442"},"168350":{"346":"328","349":"442"},"168353":{"346":"352","349":"442"},"168356":{"346":"340","349":"442"}},"salable":{"346":{"400":["168305","168323","168335"],"364":["168314","168329","168347"],"340":["168311"],"388":["168317","168344"],"328":["168308","168350"],"352":["168341","168353"]},"349":{"2260":["168305","168314","168311","168317","168308"],"19451":["168323","168329","168341"],"442":["168335","168344","168347","168350","168353"]}},"canDisplayShowOutOfStockStatus":true,"preSelectedGallery":[],"checkoutDisabled":false,"outtra":{"eans":{"168305":"4067729167991","168314":"4067729167939","168311":"4067729167878","168317":"4067729167960","168308":"4067729167908","168323":"4067729167724","168320":"4067729167830","168326":"4067729167700","168329":"4067729167694","168332":"4067729167649","168341":"4067729167618","168335":"4067729167588","168344":"4067729167571","168338":"4067729167670","168347":"4067729167557","168350":"4067729167533","168353":"4067729167472","168356":"4067729167502"}},"channel":"website","salesChannelCode":"vaude_de","sku":{"168305":"471979645700","168314":"471979645500","168311":"471979645300","168317":"471979645600","168308":"471979645400","168323":"471970175700","168320":"471979645200","168326":"471970175600","168329":"471970175500","168332":"471970175300","168341":"471970175200","168335":"471970075700","168344":"471970075600","168338":"471970175400","168347":"471970075500","168350":"471970075400","168353":"471970075200","168356":"471970075300"}} );
const swatchOptionsComponent = initSwatchOptions({"349":{"442":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47197_007_6__471970075700_810890e6.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47197_007_6__471970075700_810890e6.jpg","label":"carmine","product_id":168356,"base_colour":"rot"},"2260":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47197_964_6__471979645700_b9677d5b.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47197_964_6__471979645700_b9677d5b.jpg","label":"heron","product_id":168320,"base_colour":"grau"},"19451":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47197_017_6__471970175700_9a7d9999.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47197_017_6__471970175700_9a7d9999.jpg","label":"light leaf","product_id":168338,"base_colour":"gr\u00fcn"},"additional_data":"{\"swatch_input_type\":\"visual\",\"update_product_preview_image\":\"1\",\"use_product_image_for_swatch\":\"1\"}"}});
const basePreselectFirstOptions = configurableOptionsComponent.preselectFirstOptions;
return Object.assign(
configurableOptionsComponent,
swatchOptionsComponent,
{
mediaCallback: "https\u003A\u002F\u002Fwww.vaude.com\u002Fde\u002Fde\u002Fswatches\u002Fajax\u002Fmedia\u002F",
isAutoPreselect: false,
preselectFirstOptions() {
this.isAutoPreselect = true;
basePreselectFirstOptions.call(this);
this.isAutoPreselect = false;
},
changeOption(optionId, value, skipUpdateGallery) {
this.selectedValues[optionId] = value;
this.findSimpleIndex();
this.findAllowedAttributeOptions();
this.updatePrices();
!this.isAutoPreselect && this.updateProductLink(optionId, value);
!skipUpdateGallery && this.updateGallery();
},
initSwatchGallery() {
this.hidePriceLabelIfNoSpecialPrice();
this.initBreakpoint();
this.findAllowedAttributeOptions();
this.preselectFirstOptionIfNoneSelected();
},
allowedAttributeOptionsAnySize: null,
optionIsActive(attributeId, optionId) {
if (this.allowedAttributeOptionsAnySize === null) {
this.allowedAttributeOptionsAnySize = this.calculateAllowedAttributeOptions([]);
}
return !!(this.allowedAttributeOptionsAnySize[attributeId] || []).find(
option => option.id === optionId
);
},
initBreakpoint() {
const bp = window.matchMedia('(min-width: 810px)'),
app = this,
swatchCountMobile = 2;
this.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile;
bp.addEventListener('change', (ev) => {
app.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile;
});
},
hidePriceLabelIfNoSpecialPrice() {
let hidePriceLabel = true;
let specialOption;
Object.values(this.optionConfig.optionPrices).forEach((option) => {
if (option.finalPrice.amount < option.oldPrice.amount) {
hidePriceLabel = false;
specialOption = option;
}
});
hidePriceLabel && this.$root.closest('.product-item-inner')?.querySelector('.normal-price .price-label')?.classList.add('!hidden');
},
updateGallery() {
if (!this.productIndex) {
return;
}
fetch(`${this.mediaCallback}?product_id=${this.productIndex}&isAjax=true`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'X-Requested-With': 'XMLHttpRequest'
}
}
).then(response => {
return response.json()
}
).then(data => {
if (data.errors) {
// non critical failure only console logged
console.warn(data.errors);
} else {
const image = data && data.medium;
image && window.dispatchEvent(
new CustomEvent(
"update-gallery-161651",
{detail: image}
)
);
}
}).catch(error => {
console.warn(error)
});
},
preselectQuerystringItems() {
let url = new URL(window.location.href),
selectedColours = [];
url.searchParams.forEach((v, k) => {
k.indexOf('base_colour') === 0 && selectedColours.push(v);
});
if (selectedColours.length) {
Object.keys(this.swatchConfig).forEach((k) => {
Object.keys(this.swatchConfig[k]).some((optId) => {
if (this.swatchConfig[k][optId]['base_colour'] && selectedColours.includes(this.swatchConfig[k][optId]['base_colour'])) {
this.$el.querySelector('input[value="' + optId + '"]')?.dispatchEvent(new Event('change'));
return true;
}
})
})
}
},
preselectFirstOptionIfNoneSelected() {
const hasSelection = Object.values(this.selectedValues).some(v => v);
if (hasSelection) {
return;
}
for (const attributeId in this.optionConfig.attributes) {
const options = this.optionConfig.attributes[attributeId].options;
if (options && options.length) {
this.isAutoPreselect = true;
this.changeOption(attributeId, options[0].id);
this.isAutoPreselect = false;
break;
}
}
},
updateProductLink(optionId, value) {
const linkEl = this.$el.closest('a'),
attribute = this.optionConfig.attributes[optionId];
if (linkEl && attribute?.code) {
let url = new URL(linkEl.href);
const isValidOption = !!value && (attribute.options || []).some(option => option.id === value);
isValidOption
? url.searchParams.set(attribute.code, value)
: url.searchParams.delete(attribute.code);
linkEl.href = decodeURI(url.toString());
}
},
getActiveAndEnabledOptions(attributeId) {
if (this.optionConfig.attributes[attributeId].options && !this.activeAndEnabledOptions[this.optionConfig.attributes[attributeId].options[0].id]) {
this.optionConfig.attributes[attributeId].options.forEach((option) => {
if (this.optionIsEnabled(attributeId, option.id) || this.optionIsActive(attributeId, option.id)) {
!this.activeAndEnabledOptions[attributeId] && (this.activeAndEnabledOptions[attributeId] = {});
!this.activeAndEnabledOptions[attributeId][option.id] && (this.activeAndEnabledOptions[attributeId][option.id] = option) && this.enabledOptionsCount++;
}
})
}
return this.activeAndEnabledOptions[attributeId] || [];
},
mouseDown: false,
startX: 0,
maxScroll: 0,
scrollLeft: null,
slider: null,
maxInitial: 3,
activeAndEnabledOptions: [],
enabledOptionsCount: 0,
showAll: false,
scrollEvents: {
['@mousedown'](e) {
this.slider = e.target.closest('.snap');
if (!this.slider) {
return;
}
this.maxScroll = this.slider.scrollWidth - this.slider.offsetWidth;
this.startX = e.pageX - this.slider.offsetLeft;
this.scrollLeft = this.slider.scrollLeft;
this.mouseDown = true;
},
['@mouseout.self']() {
this.mouseDown = false;
},
['@mouseup']() {
this.mouseDown = false;
},
['@mousemove'](e) {
e.preventDefault();
if (!this.mouseDown) {
return;
}
const x = e.pageX - this.slider.offsetLeft;
const scroll = x - this.startX;
const scrollLeft = this.scrollLeft - scroll;
if (scrollLeft > this.maxScroll) {
this.slider.scrollLeft = this.maxScroll;
return
}
this.slider.scrollLeft = this.scrollLeft - scroll;
},
['@onselectstart']() {
return false;
}
},
resizeEvent() {
Array.from(this.$el.querySelectorAll('.snap')).forEach(slider => {
slider.scrollLeft = 0;
})
}
}
);
}
plus](https://www.vaude.com/media/catalog/product/cache/67ee89799642c567a71fc92f3699d937/4/7/47197_017_6__471970175700_9a7d9999.jpg)
![Neyland II 2,5-Lagen Wanderjacke Damen
Mit recycelten PET-Flaschen
Regulärer Preis
180,00 €
ab
126,00 €
Inkl. 19% MwSt. /
zzgl. Versandkosten
function initConfigurableSwatchOptions_161468() {
const configurableOptionsComponent = initConfigurableOptions(
'161468',
{"attributes":{"346":{"id":"346","code":"size","label":"Gr\u00f6\u00dfe","options":[{"id":"97","label":"34","products":["165908","165926","165956"]},{"id":"109","label":"36","products":["165905","165920","165947"]},{"id":"127","label":"38","products":["165902","165932","165944"]},{"id":"148","label":"40","products":["165899","165923","165938"]},{"id":"163","label":"42","products":["165896","165914","165941"]},{"id":"178","label":"44","products":["165893","165917","165935"]},{"id":"196","label":"46","products":["165890","165911","165929"]}],"position":2},"349":{"id":"349","code":"colour","label":"Farbe","options":[{"id":"18985","label":"agave","products":["165911","165914","165917","165923","165926","165920","165932"]},{"id":"19116","label":"shore blue","products":["165893","165890","165896","165899","165905","165902","165908"]},{"id":"19457","label":"pink orchid","products":["165929","165935","165938","165941","165944","165947","165956"]}],"position":1}},"template":"<%- data.price %>\u00a0\u20ac","currencyFormat":"%s\u00a0\u20ac","optionPrices":{"165893":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165890":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165896":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165899":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165905":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165902":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165911":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165914":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165908":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165917":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165923":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165929":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165926":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165920":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165932":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165935":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165938":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165941":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165944":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165947":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}},"165956":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126},"tierPrices":[],"msrpPrice":{"amount":0}}},"priceFormat":{"pattern":"%s\u00a0\u20ac","precision":2,"requiredPrecision":2,"decimalSymbol":",","groupSymbol":".","groupLength":3,"integerRequired":false},"prices":{"baseOldPrice":{"amount":180},"oldPrice":{"amount":180},"basePrice":{"amount":126},"finalPrice":{"amount":126}},"productId":"161468","chooseText":"W\u00e4hlen Sie eine Option...","images":[],"index":{"165893":{"346":"178","349":"19116"},"165890":{"346":"196","349":"19116"},"165896":{"346":"163","349":"19116"},"165899":{"346":"148","349":"19116"},"165905":{"346":"109","349":"19116"},"165902":{"346":"127","349":"19116"},"165911":{"346":"196","349":"18985"},"165914":{"346":"163","349":"18985"},"165908":{"346":"97","349":"19116"},"165917":{"346":"178","349":"18985"},"165923":{"346":"148","349":"18985"},"165929":{"346":"196","349":"19457"},"165926":{"346":"97","349":"18985"},"165920":{"346":"109","349":"18985"},"165932":{"346":"127","349":"18985"},"165935":{"346":"178","349":"19457"},"165938":{"346":"148","349":"19457"},"165941":{"346":"163","349":"19457"},"165944":{"346":"127","349":"19457"},"165947":{"346":"109","349":"19457"},"165956":{"346":"97","349":"19457"}},"salable":{"346":{"178":["165893","165917","165935"],"196":["165890","165911","165929"],"163":["165896","165914","165941"],"148":["165899","165923"],"109":["165905","165920","165947"],"127":["165902","165932","165944"],"97":["165908","165926","165956"]},"349":{"19116":["165893","165890","165896","165899","165905","165902","165908"],"18985":["165911","165914","165917","165923","165926","165920","165932"],"19457":["165929","165935","165941","165944","165947","165956"]}},"canDisplayShowOutOfStockStatus":true,"checkoutDisabled":false,"outtra":{"eans":{"165893":"4067729128572","165890":"4067729128589","165896":"4067729128565","165899":"4067729128558","165905":"4067729128534","165902":"4067729128541","165911":"4067729128510","165914":"4067729128497","165908":"4067729128527","165917":"4067729128503","165923":"4067729128480","165929":"4067729128442","165926":"4067729128459","165920":"4067729128466","165932":"4067729128473","165935":"4067729128435","165938":"4067729128411","165941":"4067729128428","165944":"4067729128404","165947":"4067729128398","165956":"4067729128381"}},"channel":"website","salesChannelCode":"vaude_de","sku":{"165893":"485074260440","165890":"485074260460","165896":"485074260420","165899":"485074260400","165905":"485074260360","165902":"485074260380","165911":"485071230460","165914":"485071230420","165908":"485074260340","165917":"485071230440","165923":"485071230400","165929":"485070900460","165926":"485071230340","165920":"485071230360","165932":"485071230380","165935":"485070900440","165938":"485070900400","165941":"485070900420","165944":"485070900380","165947":"485070900360","165956":"485070900340"}} );
const swatchOptionsComponent = initSwatchOptions({"349":{"18985":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/8\/48507_123_6__485071230460_c63eb8ab.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/8\/48507_123_6__485071230460_c63eb8ab.jpg","label":"agave","product_id":165932,"base_colour":"khaki"},"19116":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/8\/48507_426_6__485074260440_21ea1cf2.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/8\/48507_426_6__485074260440_21ea1cf2.jpg","label":"shore blue","product_id":165908,"base_colour":"blau"},"19457":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/8\/48507_090_6__485070900460_3b02c061.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/8\/48507_090_6__485070900460_3b02c061.jpg","label":"pink orchid","product_id":165956,"base_colour":"pink"},"additional_data":"{\"swatch_input_type\":\"visual\",\"update_product_preview_image\":\"1\",\"use_product_image_for_swatch\":\"1\"}"}});
const basePreselectFirstOptions = configurableOptionsComponent.preselectFirstOptions;
return Object.assign(
configurableOptionsComponent,
swatchOptionsComponent,
{
mediaCallback: "https\u003A\u002F\u002Fwww.vaude.com\u002Fde\u002Fde\u002Fswatches\u002Fajax\u002Fmedia\u002F",
isAutoPreselect: false,
preselectFirstOptions() {
this.isAutoPreselect = true;
basePreselectFirstOptions.call(this);
this.isAutoPreselect = false;
},
changeOption(optionId, value, skipUpdateGallery) {
this.selectedValues[optionId] = value;
this.findSimpleIndex();
this.findAllowedAttributeOptions();
this.updatePrices();
!this.isAutoPreselect && this.updateProductLink(optionId, value);
!skipUpdateGallery && this.updateGallery();
},
initSwatchGallery() {
this.hidePriceLabelIfNoSpecialPrice();
this.initBreakpoint();
this.findAllowedAttributeOptions();
this.preselectFirstOptionIfNoneSelected();
},
allowedAttributeOptionsAnySize: null,
optionIsActive(attributeId, optionId) {
if (this.allowedAttributeOptionsAnySize === null) {
this.allowedAttributeOptionsAnySize = this.calculateAllowedAttributeOptions([]);
}
return !!(this.allowedAttributeOptionsAnySize[attributeId] || []).find(
option => option.id === optionId
);
},
initBreakpoint() {
const bp = window.matchMedia('(min-width: 810px)'),
app = this,
swatchCountMobile = 2;
this.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile;
bp.addEventListener('change', (ev) => {
app.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile;
});
},
hidePriceLabelIfNoSpecialPrice() {
let hidePriceLabel = true;
let specialOption;
Object.values(this.optionConfig.optionPrices).forEach((option) => {
if (option.finalPrice.amount < option.oldPrice.amount) {
hidePriceLabel = false;
specialOption = option;
}
});
hidePriceLabel && this.$root.closest('.product-item-inner')?.querySelector('.normal-price .price-label')?.classList.add('!hidden');
},
updateGallery() {
if (!this.productIndex) {
return;
}
fetch(`${this.mediaCallback}?product_id=${this.productIndex}&isAjax=true`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'X-Requested-With': 'XMLHttpRequest'
}
}
).then(response => {
return response.json()
}
).then(data => {
if (data.errors) {
// non critical failure only console logged
console.warn(data.errors);
} else {
const image = data && data.medium;
image && window.dispatchEvent(
new CustomEvent(
"update-gallery-161468",
{detail: image}
)
);
}
}).catch(error => {
console.warn(error)
});
},
preselectQuerystringItems() {
let url = new URL(window.location.href),
selectedColours = [];
url.searchParams.forEach((v, k) => {
k.indexOf('base_colour') === 0 && selectedColours.push(v);
});
if (selectedColours.length) {
Object.keys(this.swatchConfig).forEach((k) => {
Object.keys(this.swatchConfig[k]).some((optId) => {
if (this.swatchConfig[k][optId]['base_colour'] && selectedColours.includes(this.swatchConfig[k][optId]['base_colour'])) {
this.$el.querySelector('input[value="' + optId + '"]')?.dispatchEvent(new Event('change'));
return true;
}
})
})
}
},
preselectFirstOptionIfNoneSelected() {
const hasSelection = Object.values(this.selectedValues).some(v => v);
if (hasSelection) {
return;
}
for (const attributeId in this.optionConfig.attributes) {
const options = this.optionConfig.attributes[attributeId].options;
if (options && options.length) {
this.isAutoPreselect = true;
this.changeOption(attributeId, options[0].id);
this.isAutoPreselect = false;
break;
}
}
},
updateProductLink(optionId, value) {
const linkEl = this.$el.closest('a'),
attribute = this.optionConfig.attributes[optionId];
if (linkEl && attribute?.code) {
let url = new URL(linkEl.href);
const isValidOption = !!value && (attribute.options || []).some(option => option.id === value);
isValidOption
? url.searchParams.set(attribute.code, value)
: url.searchParams.delete(attribute.code);
linkEl.href = decodeURI(url.toString());
}
},
getActiveAndEnabledOptions(attributeId) {
if (this.optionConfig.attributes[attributeId].options && !this.activeAndEnabledOptions[this.optionConfig.attributes[attributeId].options[0].id]) {
this.optionConfig.attributes[attributeId].options.forEach((option) => {
if (this.optionIsEnabled(attributeId, option.id) || this.optionIsActive(attributeId, option.id)) {
!this.activeAndEnabledOptions[attributeId] && (this.activeAndEnabledOptions[attributeId] = {});
!this.activeAndEnabledOptions[attributeId][option.id] && (this.activeAndEnabledOptions[attributeId][option.id] = option) && this.enabledOptionsCount++;
}
})
}
return this.activeAndEnabledOptions[attributeId] || [];
},
mouseDown: false,
startX: 0,
maxScroll: 0,
scrollLeft: null,
slider: null,
maxInitial: 3,
activeAndEnabledOptions: [],
enabledOptionsCount: 0,
showAll: false,
scrollEvents: {
['@mousedown'](e) {
this.slider = e.target.closest('.snap');
if (!this.slider) {
return;
}
this.maxScroll = this.slider.scrollWidth - this.slider.offsetWidth;
this.startX = e.pageX - this.slider.offsetLeft;
this.scrollLeft = this.slider.scrollLeft;
this.mouseDown = true;
},
['@mouseout.self']() {
this.mouseDown = false;
},
['@mouseup']() {
this.mouseDown = false;
},
['@mousemove'](e) {
e.preventDefault();
if (!this.mouseDown) {
return;
}
const x = e.pageX - this.slider.offsetLeft;
const scroll = x - this.startX;
const scrollLeft = this.scrollLeft - scroll;
if (scrollLeft > this.maxScroll) {
this.slider.scrollLeft = this.maxScroll;
return
}
this.slider.scrollLeft = this.scrollLeft - scroll;
},
['@onselectstart']() {
return false;
}
},
resizeEvent() {
Array.from(this.$el.querySelectorAll('.snap')).forEach(slider => {
slider.scrollLeft = 0;
})
}
}
);
}
plus](https://www.vaude.com/media/catalog/product/cache/67ee89799642c567a71fc92f3699d937/4/8/48507_426_6__485074260440_21ea1cf2.jpg)
![Everhike Softshelljacke Damen
Mit recycelten PET-Flaschen
Regulärer Preis
110,00 €
ab
77,00 €
Inkl. 19% MwSt. /
zzgl. Versandkosten
function initConfigurableSwatchOptions_161465() {
const configurableOptionsComponent = initConfigurableOptions(
'161465',
{"attributes":{"346":{"id":"346","code":"size","label":"Gr\u00f6\u00dfe","options":[{"id":"97","label":"34","products":["165842","165869","165887"]},{"id":"109","label":"36","products":["165839","165860","165884"]},{"id":"127","label":"38","products":["165836","165866","165881"]},{"id":"148","label":"40","products":["165830","165854","165875"]},{"id":"163","label":"42","products":["165833","165851","165878"]},{"id":"178","label":"44","products":["165827","165848","165872"]},{"id":"196","label":"46","products":["165824","165845","165857"]},{"id":"211","label":"48","products":["165863"]}],"position":2},"349":{"id":"349","code":"colour","label":"Farbe","options":[{"id":"18985","label":"agave","products":["165845","165848","165851","165854","165860","165866","165869"]},{"id":"451","label":"black","products":["165857","165863","165872","165875","165878","165881","165884","165887"]},{"id":"19116","label":"shore blue","products":["165824","165827","165830","165833","165836","165839","165842"]}],"position":1}},"template":"<%- data.price %>\u00a0\u20ac","currencyFormat":"%s\u00a0\u20ac","optionPrices":{"165824":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165827":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165830":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165833":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165836":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165839":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165842":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165845":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165848":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165851":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165854":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165860":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165857":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":110},"finalPrice":{"amount":110},"tierPrices":[],"msrpPrice":{"amount":0}},"165866":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165869":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77},"tierPrices":[],"msrpPrice":{"amount":0}},"165863":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":110},"finalPrice":{"amount":110},"tierPrices":[],"msrpPrice":{"amount":0}},"165872":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":110},"finalPrice":{"amount":110},"tierPrices":[],"msrpPrice":{"amount":0}},"165875":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":110},"finalPrice":{"amount":110},"tierPrices":[],"msrpPrice":{"amount":0}},"165878":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":110},"finalPrice":{"amount":110},"tierPrices":[],"msrpPrice":{"amount":0}},"165881":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":110},"finalPrice":{"amount":110},"tierPrices":[],"msrpPrice":{"amount":0}},"165884":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":110},"finalPrice":{"amount":110},"tierPrices":[],"msrpPrice":{"amount":0}},"165887":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":110},"finalPrice":{"amount":110},"tierPrices":[],"msrpPrice":{"amount":0}}},"priceFormat":{"pattern":"%s\u00a0\u20ac","precision":2,"requiredPrecision":2,"decimalSymbol":",","groupSymbol":".","groupLength":3,"integerRequired":false},"prices":{"baseOldPrice":{"amount":110},"oldPrice":{"amount":110},"basePrice":{"amount":77},"finalPrice":{"amount":77}},"productId":"161465","chooseText":"W\u00e4hlen Sie eine Option...","images":[],"index":{"165824":{"346":"196","349":"19116"},"165827":{"346":"178","349":"19116"},"165830":{"346":"148","349":"19116"},"165833":{"346":"163","349":"19116"},"165836":{"346":"127","349":"19116"},"165839":{"346":"109","349":"19116"},"165842":{"346":"97","349":"19116"},"165845":{"346":"196","349":"18985"},"165848":{"346":"178","349":"18985"},"165851":{"346":"163","349":"18985"},"165854":{"346":"148","349":"18985"},"165860":{"346":"109","349":"18985"},"165857":{"346":"196","349":"451"},"165866":{"346":"127","349":"18985"},"165869":{"346":"97","349":"18985"},"165863":{"346":"211","349":"451"},"165872":{"346":"178","349":"451"},"165875":{"346":"148","349":"451"},"165878":{"346":"163","349":"451"},"165881":{"346":"127","349":"451"},"165884":{"346":"109","349":"451"},"165887":{"346":"97","349":"451"}},"salable":{"346":{"178":["165827","165848","165872"],"148":["165830","165854","165875"],"163":["165833","165878"],"127":["165836","165866","165881"],"109":["165839","165860","165884"],"97":["165842","165869","165887"],"196":["165845","165857"],"211":["165863"]},"349":{"19116":["165827","165830","165833","165836","165839","165842"],"18985":["165845","165848","165854","165860","165866","165869"],"451":["165857","165863","165872","165875","165878","165881","165884","165887"]}},"canDisplayShowOutOfStockStatus":true,"checkoutDisabled":false,"outtra":{"eans":{"165824":"4067729130698","165827":"4067729130674","165830":"4067729130636","165833":"4067729130650","165836":"4067729130612","165839":"4067729130599","165842":"4067729130575","165845":"4067729130551","165848":"4067729130537","165851":"4067729130513","165854":"4067729130490","165860":"4067729130452","165857":"4067729130391","165866":"4067729130476","165869":"4067729130438","165863":"4067729130414","165872":"4067729130377","165875":"4067729130339","165878":"4067729130353","165881":"4067729130315","165884":"4067729130292","165887":"4067729130261"}},"channel":"website","salesChannelCode":"vaude_de","sku":{"165824":"485084260460","165827":"485084260440","165830":"485084260400","165833":"485084260420","165836":"485084260380","165839":"485084260360","165842":"485084260340","165845":"485081230460","165848":"485081230440","165851":"485081230420","165854":"485081230400","165860":"485081230360","165857":"485080100460","165866":"485081230380","165869":"485081230340","165863":"485080100480","165872":"485080100440","165875":"485080100400","165878":"485080100420","165881":"485080100380","165884":"485080100360","165887":"485080100340"}} );
const swatchOptionsComponent = initSwatchOptions({"349":{"18985":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/8\/48508_123_6__485081230460_06be13fc.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/8\/48508_123_6__485081230460_06be13fc.jpg","label":"agave","product_id":165869,"base_colour":"khaki"},"451":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/8\/48508_010_6__485080100460_930bd710.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/8\/48508_010_6__485080100460_930bd710.jpg","label":"black","product_id":165887,"base_colour":"schwarz"},"19116":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/8\/48508_426_6__485084260460_6db98e64.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/8\/48508_426_6__485084260460_6db98e64.jpg","label":"shore blue","product_id":165842,"base_colour":"blau"},"additional_data":"{\"swatch_input_type\":\"visual\",\"update_product_preview_image\":\"1\",\"use_product_image_for_swatch\":\"1\"}"}});
const basePreselectFirstOptions = configurableOptionsComponent.preselectFirstOptions;
return Object.assign(
configurableOptionsComponent,
swatchOptionsComponent,
{
mediaCallback: "https\u003A\u002F\u002Fwww.vaude.com\u002Fde\u002Fde\u002Fswatches\u002Fajax\u002Fmedia\u002F",
isAutoPreselect: false,
preselectFirstOptions() {
this.isAutoPreselect = true;
basePreselectFirstOptions.call(this);
this.isAutoPreselect = false;
},
changeOption(optionId, value, skipUpdateGallery) {
this.selectedValues[optionId] = value;
this.findSimpleIndex();
this.findAllowedAttributeOptions();
this.updatePrices();
!this.isAutoPreselect && this.updateProductLink(optionId, value);
!skipUpdateGallery && this.updateGallery();
},
initSwatchGallery() {
this.hidePriceLabelIfNoSpecialPrice();
this.initBreakpoint();
this.findAllowedAttributeOptions();
this.preselectFirstOptionIfNoneSelected();
},
allowedAttributeOptionsAnySize: null,
optionIsActive(attributeId, optionId) {
if (this.allowedAttributeOptionsAnySize === null) {
this.allowedAttributeOptionsAnySize = this.calculateAllowedAttributeOptions([]);
}
return !!(this.allowedAttributeOptionsAnySize[attributeId] || []).find(
option => option.id === optionId
);
},
initBreakpoint() {
const bp = window.matchMedia('(min-width: 810px)'),
app = this,
swatchCountMobile = 2;
this.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile;
bp.addEventListener('change', (ev) => {
app.maxInitialCurrent = bp.matches ? this.maxInitial : swatchCountMobile;
});
},
hidePriceLabelIfNoSpecialPrice() {
let hidePriceLabel = true;
let specialOption;
Object.values(this.optionConfig.optionPrices).forEach((option) => {
if (option.finalPrice.amount < option.oldPrice.amount) {
hidePriceLabel = false;
specialOption = option;
}
});
hidePriceLabel && this.$root.closest('.product-item-inner')?.querySelector('.normal-price .price-label')?.classList.add('!hidden');
},
updateGallery() {
if (!this.productIndex) {
return;
}
fetch(`${this.mediaCallback}?product_id=${this.productIndex}&isAjax=true`, {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'X-Requested-With': 'XMLHttpRequest'
}
}
).then(response => {
return response.json()
}
).then(data => {
if (data.errors) {
// non critical failure only console logged
console.warn(data.errors);
} else {
const image = data && data.medium;
image && window.dispatchEvent(
new CustomEvent(
"update-gallery-161465",
{detail: image}
)
);
}
}).catch(error => {
console.warn(error)
});
},
preselectQuerystringItems() {
let url = new URL(window.location.href),
selectedColours = [];
url.searchParams.forEach((v, k) => {
k.indexOf('base_colour') === 0 && selectedColours.push(v);
});
if (selectedColours.length) {
Object.keys(this.swatchConfig).forEach((k) => {
Object.keys(this.swatchConfig[k]).some((optId) => {
if (this.swatchConfig[k][optId]['base_colour'] && selectedColours.includes(this.swatchConfig[k][optId]['base_colour'])) {
this.$el.querySelector('input[value="' + optId + '"]')?.dispatchEvent(new Event('change'));
return true;
}
})
})
}
},
preselectFirstOptionIfNoneSelected() {
const hasSelection = Object.values(this.selectedValues).some(v => v);
if (hasSelection) {
return;
}
for (const attributeId in this.optionConfig.attributes) {
const options = this.optionConfig.attributes[attributeId].options;
if (options && options.length) {
this.isAutoPreselect = true;
this.changeOption(attributeId, options[0].id);
this.isAutoPreselect = false;
break;
}
}
},
updateProductLink(optionId, value) {
const linkEl = this.$el.closest('a'),
attribute = this.optionConfig.attributes[optionId];
if (linkEl && attribute?.code) {
let url = new URL(linkEl.href);
const isValidOption = !!value && (attribute.options || []).some(option => option.id === value);
isValidOption
? url.searchParams.set(attribute.code, value)
: url.searchParams.delete(attribute.code);
linkEl.href = decodeURI(url.toString());
}
},
getActiveAndEnabledOptions(attributeId) {
if (this.optionConfig.attributes[attributeId].options && !this.activeAndEnabledOptions[this.optionConfig.attributes[attributeId].options[0].id]) {
this.optionConfig.attributes[attributeId].options.forEach((option) => {
if (this.optionIsEnabled(attributeId, option.id) || this.optionIsActive(attributeId, option.id)) {
!this.activeAndEnabledOptions[attributeId] && (this.activeAndEnabledOptions[attributeId] = {});
!this.activeAndEnabledOptions[attributeId][option.id] && (this.activeAndEnabledOptions[attributeId][option.id] = option) && this.enabledOptionsCount++;
}
})
}
return this.activeAndEnabledOptions[attributeId] || [];
},
mouseDown: false,
startX: 0,
maxScroll: 0,
scrollLeft: null,
slider: null,
maxInitial: 3,
activeAndEnabledOptions: [],
enabledOptionsCount: 0,
showAll: false,
scrollEvents: {
['@mousedown'](e) {
this.slider = e.target.closest('.snap');
if (!this.slider) {
return;
}
this.maxScroll = this.slider.scrollWidth - this.slider.offsetWidth;
this.startX = e.pageX - this.slider.offsetLeft;
this.scrollLeft = this.slider.scrollLeft;
this.mouseDown = true;
},
['@mouseout.self']() {
this.mouseDown = false;
},
['@mouseup']() {
this.mouseDown = false;
},
['@mousemove'](e) {
e.preventDefault();
if (!this.mouseDown) {
return;
}
const x = e.pageX - this.slider.offsetLeft;
const scroll = x - this.startX;
const scrollLeft = this.scrollLeft - scroll;
if (scrollLeft > this.maxScroll) {
this.slider.scrollLeft = this.maxScroll;
return
}
this.slider.scrollLeft = this.scrollLeft - scroll;
},
['@onselectstart']() {
return false;
}
},
resizeEvent() {
Array.from(this.$el.querySelectorAll('.snap')).forEach(slider => {
slider.scrollLeft = 0;
})
}
}
);
}
plus](https://www.vaude.com/media/catalog/product/cache/67ee89799642c567a71fc92f3699d937/4/8/48508_426_6__485084260460_6db98e64.jpg)