Introducing 14k Gold, read more on the blog.
HelpTutorialsShapeways Shopping Cart for your External Shop

Shapeways Shopping Cart for your External Shop

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

The url for the link looks like this:

http://www.shapeways.com/cart/addMultiple?model_id[]=302496

See, 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.




The url for this product is: www.shapeways.com/model/835118/skull_ring_us_6.html
So the model id is 835118

The product will be added to the shopping cart with the default material you set for your product.
To set the material, the link looks like this:

http://www.shapeways.com/cart/addMultiple?model_id[]=302496&material_id[]=23

Just 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 | Raw Silver
54 | Polished Silver
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
83 | Gold Plated Brass
84 | Raw Brass
85 | Polished Brass
86 | Raw Bronze
87 | Polished Bronze
88 | Polished Nickel Steel
89 | Matte Black Steel
90 | Polished Grey Steel

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[]=39

That'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.