Skip to content

Instantly share code, notes, and snippets.

@mariusbolik
Created July 9, 2025 12:45
Show Gist options
  • Save mariusbolik/246bddfd79f82ff2b7733558756343d2 to your computer and use it in GitHub Desktop.
Save mariusbolik/246bddfd79f82ff2b7733558756343d2 to your computer and use it in GitHub Desktop.
mySF x Rumpf
<!-- 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