Home » Community » Shapeways Shops » Any nice BUY NOW Shapeways button I can use on my website?
Search Search  
Show: Today's Messages    Show Polls    Message Navigator
Any nice BUY NOW Shapeways button I can use on my website? [message #39040] Tue, 22 November 2011 13:22 UTC Go to next message
avatar thomashuang.net  is currently offline thomashuang.net
Messages: 84
Registered: September 2011
Go to my shop
Member
Is there a BUY NOW button I can use to add a link on my own website to the shapeways model page, similar to Paypal's BUY buttons?
Re: Any nice BUY NOW Shapeways button I can use on my website? [message #39041 is a reply to message #39040 ] Tue, 22 November 2011 13:30 UTC Go to previous messageGo to next message
avatar virtox  is currently offline virtox
Messages: 1163
Registered: August 2008
Go to my shop
Shapie Expert
moderator
There is something like that possible :

http://www.shapeways.com/blog/archives/1027-How-To-Create-a- Shapeways-Shopping-Cart-for-your-own-External-Shop.html


- Artist / Engineer / Designer / Shopowner / Volunteer / Moderator -
Re: Any nice BUY NOW Shapeways button I can use on my website? [message #39196 is a reply to message #39041 ] Thu, 24 November 2011 06:04 UTC Go to previous messageGo to next message
avatar thomashuang.net  is currently offline thomashuang.net
Messages: 84
Registered: September 2011
Go to my shop
Member
Thanks for the tutorial.

But the example page doesn't actually work.
http://www.shapeways.com/topics/udesign/tutorials/shoppingca rt/shopexample.html

It doesn't add the items to the cart, just shows an empty cart. Is there something wrong with the code?

Here is the code I have for one of my products, it doesn't add to the cart either.

<form name="Nomad Panohead +5" action="http://www.shapeways.com/addToCart" method="GET">
<input type="hidden" name="model_id[]" value="387585"/>

<select name="material_id[]" >
<option value='25'> black $145 </option>
<option value='59'> gray $145 </option>
<option value='58'> indigo $145 </option>
<option value='45'> red $145 </option>
<option value='6'> white $130 </option>
</select>
<br/>
<p style="float:right">Shapeways</p>
<input type="image" name="submit" id="add-to-cart" src="../../images/buy-button.jpg" alt="add to cart" value="Checkout"/>
</form>
Re: Any nice BUY NOW Shapeways button I can use on my website? [message #39197 is a reply to message #39196 ] Thu, 24 November 2011 06:42 UTC Go to previous messageGo to next message
avatar thomashuang.net  is currently offline thomashuang.net
Messages: 84
Registered: September 2011
Go to my shop
Member
I tried playing with the link and this looks like it works if pasting directly into the browser, but it doesn't work when I try to modify the link and names in the form menu. Is there something I am missing in the form syntax?:
www.shapeways.com/cart/add?itemId=302496&materialId=23

The link format from the tutorial was this:
http://www.shapeways.com/addToCart?model_id[]=302496&material_id[]=23

Strangely, after adding an item to the cart and 30 minutes, all the items from the several attempts showed up in the cart. But when I try repeating the process the items haven't showed up again.
Re: Any nice BUY NOW Shapeways button I can use on my website? [message #43321 is a reply to message #39197 ] Thu, 02 February 2012 04:38 UTC Go to previous messageGo to next message
avatar baltimore  is currently offline baltimore
Messages: 152
Registered: January 2010
Go to my shop
Senior Member
Shapeways Crew
I've been working recently on building www.custom3dstuff.com/shop using the shapeways cart. check it out and let me know what you think! who else is building a site like this?


www.Custom3dStuff.com
Re: Any nice BUY NOW Shapeways button I can use on my website? [message #44123 is a reply to message #43321 ] Wed, 15 February 2012 21:10 UTC Go to previous messageGo to next message
avatar LincolnK  is currently offline LincolnK
Messages: 359
Registered: July 2010
Go to my shop
Senior Member
baltimore,

I checked it out. I even clicked on the buy it button and it worked.

It would be great if SW made an easy way for us to do this.

Lincoln


For special discounts and news add us on Facebook: https://www.facebook.com/Craftosterone
www.Craftosterone.com
http://www.shapeways.com/shops/novakingway
Re: Any nice BUY NOW Shapeways button I can use on my website? [message #44124 is a reply to message #44123 ] Wed, 15 February 2012 21:15 UTC Go to previous message
avatar baltimore  is currently offline baltimore
Messages: 152
Registered: January 2010
Go to my shop
Senior Member
Shapeways Crew
it wasn't so hard to set up. i used the sample code, and modified it some, copied the css 'definitions' to the css section on my site and then everything just kinda worked. the hardest thing is going to be updating when materials change or prices change.

it'd be sweet to have a generate javascript button in some advanced panel that made the code for you for whatever materials and markup you had selected, but i think maybe that feature would be tailored to too tight an audience


www.Custom3dStuff.com

 
   
Previous Topic:Shop widget not working
Next Topic:Model Description

Logo

Hello.

We're sorry to inform you that we no longer support this browser and can't confirm that everything will work as expected. For the best Shapeways experience, please use one of the following browsers:

Click anywhere outside this window to continue.