Created
July 9, 2025 12:45
-
-
Save mariusbolik/246bddfd79f82ff2b7733558756343d2 to your computer and use it in GitHub Desktop.
mySF x Rumpf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Load the mySHOEFITTER Script --> | |
<script src="https://js.myshoefitter.com/v1/script.js"></script> | |
<!-- Initialize mySHOEFITTER --> | |
<script type="application/javascript"> | |
const isEng = document.querySelector('html').getAttribute('lang').includes('en'); | |
myshoefitter.init({ | |
shopSystem: 'shopware', | |
enabledProductNames: ['1567', '1533', '1534', 'CH791'], | |
button: { | |
text: isEng ? 'Find your size' : 'Größe herausfinden', | |
logo: false, | |
attachTo: '.product-detail-configurator-group-title', | |
position: 'after', | |
styles: { | |
fontSize: '12px', | |
color: '#B20019', | |
border: '1px solid', | |
borderRadius: 0, | |
fontWeight: 500, | |
padding: '7px 24px', | |
} | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment