DarkKitarist
Member
Hello,
Soo... Yesterday I started to play around with adding a shop(SpreadShirt) to our forum, to sell some t-shirts with our design. Adding the shop link was a straight forward process, I just edited the navigation file in templates. But then I thought it would be cool to integrate the shop directly into the website.
The good people at speadshirt have added some integration code, which is a js script:
So my question is how to integrate the shop in a way so that when a user chooses the "Shop" from the navigation tab the shop opens within the page. Instead of the tab going to a Forum or Sub-Forum(or the shop itself outside the Forum) it would just open and show the div with shop.
I've been experimenting myself, but if someone knows how to do already do this it would be super awesome
PS. I've been searching the forums and found a thread talking about integration, but the only thing that thread told me was that it's possible and people have already done it with no actual pointers towards how to do it.
Soo... Yesterday I started to play around with adding a shop(SpreadShirt) to our forum, to sell some t-shirts with our design. Adding the shop link was a straight forward process, I just edited the navigation file in templates. But then I thought it would be cool to integrate the shop directly into the website.
The good people at speadshirt have added some integration code, which is a js script:
Code:
<div id="myshop"></div>
<script>
var spread_shop_config= {
"shopName" : "SugarBombed Shop",
"locale" : "en_US",
"prefix" : "//shop.spreadshirt.com",
"baseId" : "100050964"
};
</script>
<script type="text/javascript" src="//shop.spreadshirt.com/shopfiles/shopclient/shopclient.nocache.js"></script>
So my question is how to integrate the shop in a way so that when a user chooses the "Shop" from the navigation tab the shop opens within the page. Instead of the tab going to a Forum or Sub-Forum(or the shop itself outside the Forum) it would just open and show the div with shop.
I've been experimenting myself, but if someone knows how to do already do this it would be super awesome
PS. I've been searching the forums and found a thread talking about integration, but the only thing that thread told me was that it's possible and people have already done it with no actual pointers towards how to do it.