Shapeways provides a free marketplace for you to directly sell your designs. However, we know many of you have your own website, and might have your own shop. So, we have an easy way for you to use the Shapeways checkout system on your own site.
This tutorial shows you how to make a "Add to Cart" button for any of your products. You can use this to add multiple products at the same time and set the material for each item too.
Currently, if you're linking to your product description page on Shapeways, you can actually use a link to put that product directly into the shopping cart.
Give it a try here:
Click to Add Product to Cart
Or, you can select the stainless steel version instead. Try this:
Click to Add Product to Cart
http://www.shapeways.com/cart/addMultiple?model_id[]=302496See, just put the 6-digit model id for your product. You can find the model id from the url of your product page on Shapeways.

www.shapeways.com/model/835118/skull_ring_us_6.htmlhttp://www.shapeways.com/cart/addMultiple?model_id[]=302496&material_id[]=23Just put the number associated with the material you want.
4 | Transparent Detail 5 | White Detail 6 | White Strong & Flexible 7 | Black Detail 23 | Stainless Steel 25 | Black Strong & Flexible 26 | Full Color Sandstone 27 | Sandstone 28 | Alumide 37 | Antique Bronze Matte 38 | Antique Bronze Glossy 39 | Gold Plated Glossy 53 | Silver 54 | Silver Glossy 60 | Frosted Detail 61 | Frosted Ultra Detail 62 | White Strong & Flexible Polished 63 | Glazed Ceramics 64 | Gloss Black Ceramics 66 | Polished Alumide 70 | Satin Black Ceramics 72 | Eggshell Blue Ceramics 73 | Avocado Green Ceramics 74 | Pastel Yellow Ceramics 75 | Violet Purple Strong & Flexible 76 | Coral Red Strong & Flexible 77 | Hot Pink Strong & Flexible 78 | Royal Blue Strong & Flexible 81 | Premium Silver You can also assign the quantity for the item. So if you want to make a button to buy 5 Skull Rings in polished gold, the link url looks like this:
http://www.shapeways.com/cart/addMultiple?model_id[]=302496&count[]=5&material_id[]=39That's basically it.
You can especially use this if you have a product that prints in multiple pieces, or if you want to make a drop down selector for size. You can use this to easily make your own custom shop page on your website that is powered by Shapeways.
We have an example shop page that demonstrates this.
It's a more advanced way to use the Shopping Cart. The drop down selectors are form elements, and it sends model_id, material_id, and/or count via GET or POST to http://www.shapeways.com/cart/addMultiple
You can download the code for the Example Shop in a zip:
Shapeways_example_shop.zip
Feel free to use the example however you like.