My English is not good but i will try my best with help of google translate
The idea is to add content to your site and include JavaScript in it
I will try to explain my method, it may not be the best method, But it might put you on the road
I use Drupal on my site only because I am used to it, you can use any CMS or tool.
I created a content type for my designs, consisting of a (title, description, design image, some product images, categories, tags …, in addition to the product URL).
Thus, I add each design manually and when the design is displayed I include JavaScript to display this product using the product URL.
You can see how I display all products and each product separately from here
https://shirts.ly/shop
Here is an example of how to display a single product or section of the store
<script>
var spread_shop_config = {
shopName: 'shirtsly',
locale: 'us_US',
prefix: 'https://shop.spreadshirt.com',
updateMetadata: false,
baseId: 'myShop'
};
</script>
<script type="text/javascript"
src="https://shop.spreadshirt.com/shopfiles/shopclient/shopclient.nocache.js">
</script>
<script>
window.location.hash ="!/the+humble+frog+prince-A5feb6f02f4c3283c13c76263"
</script>
use “window location hash” to display a specific part of your store.
I hope this helps even a little
Any questions, I would be happy to help
Any suggestions for improving my method would also please me