Muetzen fuer maenner
Neben maskulinem Schmuck und schicken Taschen sind auch immer mehr angesagte Mützen für Herren auf dem Vormarsch. Klassische Beanies gibt es natürlich nach wie vor, doch .'), o.close() }(); var style = document.createElement('style'); style.id = 'zEStyles'; const delay = window.innerWidth >= 1024 ? 5500 : 5835; const bottomValue = window.innerWidth >= 1024 ? '150px' : '78px'; setTimeout(() => { style.innerHTML = `#scroll-up-button { bottom: ${bottomValue} !important; }`; }, delay); document.head.appendChild(style); // Some Tablet devices (e.g. Surface 7 Pro) are identified as desktop devices by the zendesk widget so I need to overwrite the bottomOffset const isMobileDevice = window.innerWidth < 1024; let bottomOffset = 0; bottomOffset = isMobileDevice ? '3px' : '80px'; window.zESettings = { webWidget: { offset: { horizontal: '-10px', vertical: bottomOffset, mobile: { horizontal: '-10px', vertical: bottomOffset, }, }, color: { theme: '#555', launcher: '#555', // This will also update the badge launcherText: '#fff', button: '#555', resultLists: '#222', header: '#555', articleLinks: '#555' }, launcher: { chatLabel: { 'en-US': 'Questions?', 'en-UK': 'Questions?', '*': 'Fragen?' }, label: { 'en-US': 'Questions?', 'en-UK': 'Questions?', '*': 'Fragen?' } }, helpCenter: { originalArticleButton: false, title: { 'en-US': 'Your question', 'en-UK': 'Your question', '*': 'Deine Frage' }, searchPlaceholder: { 'en-US': 'How can we help? (notes)', 'en-UK': 'How can we help? (notes)', '*': 'Wie können wir helfen? (Stichworte)' }, messageButton: { 'en-US': 'Your message to us', 'en-UK': 'Your message to us', '*': 'Deine Nachricht an uns' }, chatButton: { 'en-US': 'Live chat', 'en-UK': 'Live chat', '*': 'Live-Chat' }, filter: { category: categoryFilter // ID from URL } }, contactForm: { attachments: true }, } }; zE(function() { // TODO set suggestions // zE.setHelpCenterSuggestions({ category: ['360001255700']}); // Service + Checkout -> nur service label article zE.setLocale(navigator.language || navigator.userLanguage); waitForElement('#launcher', function($chatWidgetIframe) { window.addEventListener('blur', function() { if (document.activeElement === $chatWidgetIframe) { const prefix = isMobileDevice ? 'chat_mobile' : 'chat_desktop'; sendEvent(`${prefix}.open`); } }); }); }); }, 5000); // meaningfull timeout can be defined