Skip to content
lagomsale
Tamaro IV Halfzip Fahrrad Shirt Damen                
                                                    
                        Mit recycelten PET-Flaschen                    
                            
        

        
        
        
            
                    
        
            Regulärer Preis
        65,00 €
        
    



            ab
        52,00 €
        



                                        
                    Inkl. 19% MwSt.                     / 
                    
                                                    zzgl.                             Versandkosten
                                            
                
                        
            
                                
        function initConfigurableSwatchOptions_136800() {
            const configurableOptionsComponent = initConfigurableOptions(
                '136800',
                {"attributes":{"346":{"id":"346","code":"size","label":"Gr\u00f6\u00dfe","options":[{"id":"109","label":"36","products":["169412","169436","169448","169469"]},{"id":"127","label":"38","products":["169397","169427","169445","169466"]},{"id":"148","label":"40","products":["169406","169424","169442","169460"]},{"id":"163","label":"42","products":["169409","169421","169439","169463"]},{"id":"178","label":"44","products":["169403","169415","169430","169457"]},{"id":"196","label":"46","products":["169400","169418","169433","169451"]}],"position":2},"349":{"id":"349","code":"colour","label":"Farbe","options":[{"id":"1900","label":"linen","products":["169400","169406","169397","169409","169403","169412"]},{"id":"1948","label":"brick","products":[]},{"id":"18985","label":"agave","products":[]},{"id":"895","label":"dark sea","products":[]},{"id":"841","label":"dark sea uni","products":["169451","169457","169460","169463","169466","169469"]},{"id":"18929","label":"nordic blue","products":[]},{"id":"19113","label":"magento","products":["169433","169439","169430","169445","169442","169448"]},{"id":"19119","label":"dusty fern","products":["169418","169415","169424","169421","169436","169427"]}],"position":1}},"template":"<%- data.price %>\u00a0\u20ac","currencyFormat":"%s\u00a0\u20ac","optionPrices":{"169400":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169406":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169397":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169409":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169403":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169412":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169418":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169433":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169415":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169424":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169421":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169439":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169436":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169427":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169430":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169445":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169442":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169448":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169451":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}},"169457":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}},"169460":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}},"169463":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}},"169466":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}},"169469":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}}},"priceFormat":{"pattern":"%s\u00a0\u20ac","precision":2,"requiredPrecision":2,"decimalSymbol":",","groupSymbol":".","groupLength":3,"integerRequired":false},"prices":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52}},"productId":"136800","chooseText":"W\u00e4hlen Sie eine Option...","images":[],"index":{"169400":{"346":"196","349":"1900"},"169406":{"346":"148","349":"1900"},"169397":{"346":"127","349":"1900"},"169409":{"346":"163","349":"1900"},"169403":{"346":"178","349":"1900"},"169412":{"346":"109","349":"1900"},"169418":{"346":"196","349":"19119"},"169433":{"346":"196","349":"19113"},"169415":{"346":"178","349":"19119"},"169424":{"346":"148","349":"19119"},"169421":{"346":"163","349":"19119"},"169439":{"346":"163","349":"19113"},"169436":{"346":"109","349":"19119"},"169427":{"346":"127","349":"19119"},"169430":{"346":"178","349":"19113"},"169445":{"346":"127","349":"19113"},"169442":{"346":"148","349":"19113"},"169448":{"346":"109","349":"19113"},"169451":{"346":"196","349":"841"},"169457":{"346":"178","349":"841"},"169460":{"346":"148","349":"841"},"169463":{"346":"163","349":"841"},"169466":{"346":"127","349":"841"},"169469":{"346":"109","349":"841"}},"salable":{"346":{"196":["169400","169418","169433","169451"],"148":["169406","169424","169442","169460"],"127":["169397","169427","169445","169466"],"163":["169409","169421","169439","169463"],"178":["169403","169415","169430","169457"],"109":["169412","169436","169448","169469"]},"349":{"1900":["169400","169406","169397","169409","169403","169412"],"19119":["169418","169415","169424","169421","169436","169427"],"19113":["169433","169439","169430","169445","169442","169448"],"841":["169451","169457","169460","169463","169466","169469"]}},"canDisplayShowOutOfStockStatus":true,"preSelectedGallery":[],"checkoutDisabled":false,"outtra":{"eans":{"138861":"4067729000045","138840":"4067729000342","138816":"4067729000892","138828":"4067729000717","138855":"4067729000083","138846":"4067729000410","138804":"4067729000908","138819":"4067729000748","138849":"4067729000137","138834":"4067729000533","138801":"4067729000946","138822":"4067729000762","138858":"4067729000175","138837":"4067729000595","138795":"4067729000960","138810":"4067729000793","138843":"4067729000212","138831":"4067729000656","138792":"4067729000984","138807":"4067729000830","138852":"4067729000267","138825":"4067729000687","138798":"4067729001011","138813":"4067729000854","169400":"4067729140208","169406":"4067729140178","169397":"4067729140161","169409":"4067729140185","169403":"4067729140192","169412":"4067729140154","169418":"4067729140147","169433":"4067729140086","169415":"4067729140130","169424":"4067729140116","169421":"4067729140123","169439":"4067729140062","169436":"4067729140093","169427":"4067729140109","169430":"4067729140079","169445":"4067729140048","169442":"4067729140055","169448":"4067729140031","169451":"4067729139882","169457":"4067729139844","169460":"4067729139769","169463":"4067729139790","169466":"4067729139738","169469":"4067729139714"}},"channel":"website","salesChannelCode":"vaude_de","sku":{"169400":"470757810460","169406":"470757810400","169397":"470757810380","169409":"470757810420","169403":"470757810440","169412":"470757810360","169418":"470754330460","169433":"470754290460","169415":"470754330440","169424":"470754330400","169421":"470754330420","169439":"470754290420","169436":"470754330360","169427":"470754330380","169430":"470754290440","169445":"470754290380","169442":"470754290400","169448":"470754290360","169451":"470751600460","169457":"470751600440","169460":"470751600400","169463":"470751600420","169466":"470751600380","169469":"470751600360"}}            );
            const swatchOptionsComponent = initSwatchOptions({"349":{"841":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47075_160_6__470751600460_554ff9d1.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47075_160_6__470751600460_554ff9d1.jpg","label":"dark sea uni","product_id":169469,"base_colour":"blau"},"1900":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47075_781_6__470757810460_ed1abb25.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47075_781_6__470757810460_ed1abb25.jpg","label":"linen","product_id":169412,"base_colour":"beige"},"19113":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47075_429_6__470754290460_6ebf10d8.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47075_429_6__470754290460_6ebf10d8.jpg","label":"magento","product_id":169448,"base_colour":"lila"},"19119":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47075_433_6__470754330460_c50b9378.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47075_433_6__470754330460_c50b9378.jpg","label":"dusty fern","product_id":169427,"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-136800",
                                        {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
VAUDE

Tamaro IV Halfzip Fahrrad Shirt Damen Mit recycelten PET-Flaschen Regulärer Preis 65,00 € ab 52,00 € Inkl. 19% MwSt. / zzgl. Versandkosten function initConfigurableSwatchOptions_136800() { const configurableOptionsComponent = initConfigurableOptions( '136800', {"attributes":{"346":{"id":"346","code":"size","label":"Gr\u00f6\u00dfe","options":[{"id":"109","label":"36","products":["169412","169436","169448","169469"]},{"id":"127","label":"38","products":["169397","169427","169445","169466"]},{"id":"148","label":"40","products":["169406","169424","169442","169460"]},{"id":"163","label":"42","products":["169409","169421","169439","169463"]},{"id":"178","label":"44","products":["169403","169415","169430","169457"]},{"id":"196","label":"46","products":["169400","169418","169433","169451"]}],"position":2},"349":{"id":"349","code":"colour","label":"Farbe","options":[{"id":"1900","label":"linen","products":["169400","169406","169397","169409","169403","169412"]},{"id":"1948","label":"brick","products":[]},{"id":"18985","label":"agave","products":[]},{"id":"895","label":"dark sea","products":[]},{"id":"841","label":"dark sea uni","products":["169451","169457","169460","169463","169466","169469"]},{"id":"18929","label":"nordic blue","products":[]},{"id":"19113","label":"magento","products":["169433","169439","169430","169445","169442","169448"]},{"id":"19119","label":"dusty fern","products":["169418","169415","169424","169421","169436","169427"]}],"position":1}},"template":"<%- data.price %>\u00a0\u20ac","currencyFormat":"%s\u00a0\u20ac","optionPrices":{"169400":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169406":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169397":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169409":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169403":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169412":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169418":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169433":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169415":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169424":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169421":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169439":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169436":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169427":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169430":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169445":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169442":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169448":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52},"tierPrices":[],"msrpPrice":{"amount":0}},"169451":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}},"169457":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}},"169460":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}},"169463":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}},"169466":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}},"169469":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":65},"finalPrice":{"amount":65},"tierPrices":[],"msrpPrice":{"amount":0}}},"priceFormat":{"pattern":"%s\u00a0\u20ac","precision":2,"requiredPrecision":2,"decimalSymbol":",","groupSymbol":".","groupLength":3,"integerRequired":false},"prices":{"baseOldPrice":{"amount":65},"oldPrice":{"amount":65},"basePrice":{"amount":52},"finalPrice":{"amount":52}},"productId":"136800","chooseText":"W\u00e4hlen Sie eine Option...","images":[],"index":{"169400":{"346":"196","349":"1900"},"169406":{"346":"148","349":"1900"},"169397":{"346":"127","349":"1900"},"169409":{"346":"163","349":"1900"},"169403":{"346":"178","349":"1900"},"169412":{"346":"109","349":"1900"},"169418":{"346":"196","349":"19119"},"169433":{"346":"196","349":"19113"},"169415":{"346":"178","349":"19119"},"169424":{"346":"148","349":"19119"},"169421":{"346":"163","349":"19119"},"169439":{"346":"163","349":"19113"},"169436":{"346":"109","349":"19119"},"169427":{"346":"127","349":"19119"},"169430":{"346":"178","349":"19113"},"169445":{"346":"127","349":"19113"},"169442":{"346":"148","349":"19113"},"169448":{"346":"109","349":"19113"},"169451":{"346":"196","349":"841"},"169457":{"346":"178","349":"841"},"169460":{"346":"148","349":"841"},"169463":{"346":"163","349":"841"},"169466":{"346":"127","349":"841"},"169469":{"346":"109","349":"841"}},"salable":{"346":{"196":["169400","169418","169433","169451"],"148":["169406","169424","169442","169460"],"127":["169397","169427","169445","169466"],"163":["169409","169421","169439","169463"],"178":["169403","169415","169430","169457"],"109":["169412","169436","169448","169469"]},"349":{"1900":["169400","169406","169397","169409","169403","169412"],"19119":["169418","169415","169424","169421","169436","169427"],"19113":["169433","169439","169430","169445","169442","169448"],"841":["169451","169457","169460","169463","169466","169469"]}},"canDisplayShowOutOfStockStatus":true,"preSelectedGallery":[],"checkoutDisabled":false,"outtra":{"eans":{"138861":"4067729000045","138840":"4067729000342","138816":"4067729000892","138828":"4067729000717","138855":"4067729000083","138846":"4067729000410","138804":"4067729000908","138819":"4067729000748","138849":"4067729000137","138834":"4067729000533","138801":"4067729000946","138822":"4067729000762","138858":"4067729000175","138837":"4067729000595","138795":"4067729000960","138810":"4067729000793","138843":"4067729000212","138831":"4067729000656","138792":"4067729000984","138807":"4067729000830","138852":"4067729000267","138825":"4067729000687","138798":"4067729001011","138813":"4067729000854","169400":"4067729140208","169406":"4067729140178","169397":"4067729140161","169409":"4067729140185","169403":"4067729140192","169412":"4067729140154","169418":"4067729140147","169433":"4067729140086","169415":"4067729140130","169424":"4067729140116","169421":"4067729140123","169439":"4067729140062","169436":"4067729140093","169427":"4067729140109","169430":"4067729140079","169445":"4067729140048","169442":"4067729140055","169448":"4067729140031","169451":"4067729139882","169457":"4067729139844","169460":"4067729139769","169463":"4067729139790","169466":"4067729139738","169469":"4067729139714"}},"channel":"website","salesChannelCode":"vaude_de","sku":{"169400":"470757810460","169406":"470757810400","169397":"470757810380","169409":"470757810420","169403":"470757810440","169412":"470757810360","169418":"470754330460","169433":"470754290460","169415":"470754330440","169424":"470754330400","169421":"470754330420","169439":"470754290420","169436":"470754330360","169427":"470754330380","169430":"470754290440","169445":"470754290380","169442":"470754290400","169448":"470754290360","169451":"470751600460","169457":"470751600440","169460":"470751600400","169463":"470751600420","169466":"470751600380","169469":"470751600360"}} ); const swatchOptionsComponent = initSwatchOptions({"349":{"841":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47075_160_6__470751600460_554ff9d1.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47075_160_6__470751600460_554ff9d1.jpg","label":"dark sea uni","product_id":169469,"base_colour":"blau"},"1900":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47075_781_6__470757810460_ed1abb25.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47075_781_6__470757810460_ed1abb25.jpg","label":"linen","product_id":169412,"base_colour":"beige"},"19113":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47075_429_6__470754290460_6ebf10d8.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47075_429_6__470754290460_6ebf10d8.jpg","label":"magento","product_id":169448,"base_colour":"lila"},"19119":{"type":2,"value":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/6568fd4874619b61d9c78a45db328fb7\/4\/7\/47075_433_6__470754330460_c50b9378.jpg","thumb":"https:\/\/www.vaude.com\/media\/catalog\/product\/cache\/0d6bbfa5e5141e0e4f1fffd16d79012e\/4\/7\/47075_433_6__470754330460_c50b9378.jpg","label":"dusty fern","product_id":169427,"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-136800", {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

€65
Buy at VAUDE

Checkout happens on the brand’s own shop. We take no cut.

Fibre

19% mwst

Field notes

Brand home
Germany
Made for
Women
Availability
Available
On the brand
Sustainable outdoor gear

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 →

More from VAUDE

Every VAUDE piece
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
VAUDE

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

€75Wool & alpaca
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
VAUDE

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

€80Wool & alpaca
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
VAUDE

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

€180
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
VAUDE

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

€110