Einhorn Farbspektrum T-Shirt Herrenshirt Unicorn Fabelwesen Magie Farbe Regenbogen

Artikelnummer
Grey Melange L190 S600
Inhalt
1 Stück

18,99 (Grundpreis: 18,99 € / Stück)

inkl. 16 % MwSt. zzgl. Versandkosten


Sie haben noch keine Variante gewählt.


(function($) { plentyAjaxRequest2 = function(plentyAjaxRequest2) { return function(target_url, fctAfterRequest, fctBeforeRequest) { plentyAjaxRequest2.call(this, target_url, function(response) { if ( !! jQuery('#PlentyAttributeErrorMsg_0_1881').html() && jQuery('#PlentyAttributeErrorMsg_0_1881').html().trim().length > 0 ) { jQuery('#PlentyAttributeErrorMsg_0_1881').show(); $('[data-plenty-details="singleItemDetails"] [data-plenty="toBasketWrapper"]').addClass('disabled'); } else { jQuery('#PlentyAttributeErrorMsg_0_1881').hide(); $('[data-plenty-details="singleItemDetails"] [data-plenty="toBasketWrapper"]').removeClass('disabled'); $('[data-plenty="attributeLabel"]').hide(); $('[data-plenty="availabilityWrapper"]').show(); } }); } }(plentyAjaxRequest2); $(document).ready(function() { // SERVER-SIDE or DISABLED availability check if( $('.PlentyAttributeErrorMsg').length > 0 ) { // check if pre-selected, enable basket button var preSelected = true; $('select.ArticleAttrSelect').each(function() { if ( ! $(this).val() ) preSelected = false; }); if ( preSelected == true ) { $('[data-plenty-details="singleItemDetails"] [data-plenty="toBasketWrapper"]').removeClass('disabled'); $('[data-plenty="attributeLabel"]').hide(); $('[data-plenty="availabilityWrapper"]').show(); } // Disable "to basket"-button if attribute selection is reset $('.ArticleAttrSelect').on('change', function() { $('.ArticleAttrSelect').each(function() { if( $(this).val() == '' ) { $('[data-plenty-details="singleItemDetails"] [data-plenty="toBasketWrapper"]').addClass('disabled'); } }); }); // for disabled availability check, enable "to basket" button on startup var foundOnChangeRequest = false; $('.ArticleAttrSelect').each(function() { if( $(this).attr('onchange').indexOf('plentyAjaxRequest2') > 0 ) { foundOnChangeRequest = true; } }); if( !foundOnChangeRequest ) { $('[data-plenty-details="singleItemDetails"] [data-plenty="toBasketWrapper"]').removeClass('disabled'); } } // client-side availability check else { // check if pre-selected if ( $('input[name*="ArticleAttribute"]').length > 0 && $('input[name*="ArticleAttribute"]').first().attr('value') != 0 ) { $('[data-plenty-details="singleItemDetails"] [data-plenty="toBasketWrapper"]').removeClass('disabled'); $('[data-plenty="attributeLabel"]').hide(); $('[data-plenty="availabilityWrapper"]').show(); } } }); // inizialize image slider (requires owl.carousel.js) $(document).ready(function() { $('[data-plenty="previewImagesSlider"]').owlCarousel({ items: 3, itemsDesktop: false, itemsDesktopSmall: false, items$bodyElemlet: false, itemsMobile: false, navigation: true, navigationText: false, lazyLoad: true, pagination: true, rewindNav: false, afterLazyLoad: function(owl) { owl.find('img:visible').css('display','inline-block'); } }); }); Variation.Presenter.Base.prototype.select = function(select) { return function(valueId) { if(PY.Item[1881].images.hasOwnProperty(valueId)){ if(PY.Item[1881].images[valueId].length>0){ MagicZoom.update("maingimgzoom", PY.Item[1881].images[valueId][0].normal, PY.Item[1881].images[valueId][0].middle); } } select.call(this, valueId); if(this.Manager.history.length !== this.Manager.numberOfAttributes) { $(window).trigger("variationReset"); } return; }; }(Variation.Presenter.Base.prototype.select); $(window).on('variationChanged', function(event, variation) { // enable "AddToBasket"-Button / availability indicator $('[data-plenty-details="singleItemDetails"] [data-plenty="toBasketWrapper"]').removeClass('disabled'); $('[data-plenty-details="singleItemDetails"] [data-plenty="attributeLabel"]').hide(); $('[data-plenty-details="singleItemDetails"] [data-plenty="availabilityWrapper"]').show(); // refresh availability icon/text $('[data-plenty-details="singleItemDetails"] [data-plenty="availabilityIcon"]').removeClass(function(index, css) { // remove classes "available-[1-10]" return (css.match (/\bavailable-\S+/g) || []).join(' '); }).addClass('available-'+variation.availabilityId); $('[data-plenty-details="singleItemDetails"] [data-plenty="availabilityText"]').html(variation.availabilityString); }); $(window).on('variationReset', function() { // disable "AddToBasket"-Button / availability indicator $('[data-plenty-details="singleItemDetails"] [data-plenty="toBasketWrapper"]').addClass('disabled'); $('[data-plenty-details="singleItemDetails"] [data-plenty="availabilityWrapper"]').hide() $('[data-plenty-details="singleItemDetails"] [data-plenty="attributeLabel"]').show(); }); })(jQuery);

Dieser Shop setzt eine Technologie ein, die in Kürze nicht mehr unterstützt wird.

Mehr Informationen