About the need for partners to better integrate Spreadshirt into their web sites

Hi team!

Not a question but a general comment. Some of us are trying to create a clothing brand, and we use Spreadshirt as the partner that handles payment, production and shipment, but ideally, the fact that Spreadshirt is there, shouldn’t really be obvious to visitors, since it breaks a bit the branding aspect. In this regard, any features that make integrating the spreadshirt logic with a website in a different domain, are much appreciated. Please keep this in mind, since a lot of us are always trying to figure out what’s the most seamless way to integrate. Right now API is too dificult, and embedding as iframe brings a few technical problems (e.g. iframe height is very difficult to predict at run time so sometimes nasty scrollbars show up. Or also, people that have third-party cookies disabled can’t add stuff to the cart, since the domain that visitors enter, is different to the domain of the embedded iframe, and therefore adding items doesn’t persist on the next page load).

Thanks a lot for the hard work!

Many of the problems that you’ve described are gone when you use the javascript integrated shop instead of an iframe. Check https://help.spreadshirt.com/hc/en-us/articles/207487815-Webseiten-Integration-per-JavaScript for details.

Thanks! I will try that.

Thanks!

Please be aware that I’ve just found an error in the english howto. It’ll be fixed in a minute but the correct config object looks like:

var spread_shop_config = { shopName: 'goats', prefix: 'https://shop.spreadshirt.de', baseId: 'shop' };

2 Likes