Shapeways widget is great!

Discussion in 'Shapeways Shops' started by Oskar_van_Deventer, Nov 5, 2010.

  1. Oskar_van_Deventer
    Oskar_van_Deventer Well-Known Member
  2. bitstoatoms
    bitstoatoms Member
    Glad you like it
    Thank Peter for making it happen

    More options of the widget to be made available VERY soon.

    Cheers
     
  3. pete
    pete Shapeways Employee CEO
    Glad you like it. Please let us know what extra features you would like in this thread. The ones I know are:

    - Shop sections
    - Multiple rows
    - Adjustable number of colums

    For info on how to use have a look at this tutorial
     
  4. 40444_deleted
    40444_deleted Member
    There is some forums based on vbulletin where HTML code are not allowed. Instead flash it is allowed.

    It would be great if you could make a flash version of the widget.

    Thanks

    Francesco
     
  5. pete
    pete Shapeways Employee CEO
    Multiple rows and colums is now supported. Check out the tutorial. Just use rows=n&cols=m. For now n,m need to be less than 5.
     
  6. mctrivia
    mctrivia Well-Known Member
    Shop sections would be my #1 request. Will check out implementing on my site tonight
     
  7. aeron203
    aeron203 Member
    I can't wait to try this out.

    I have been waiting for a features to help integrate my Shapeways shop into other web pages so this is a very exciting innovation.

    Thanks to Peter and the rest of the Shapeways team for making it happen!
     
  8. pete
    pete Shapeways Employee CEO
    Tonight the shop section feature will go live.
     
  9. virtox
    virtox Active Member Moderator
    Hoi Peter,

    The widget is getting very snazzy :)

    Is the section part live already ? How does it work?
    shopcat=? or section=?

    Cheers,

    Stijn

    Ps. Any chance of changing the shop and section pages to incorporate the widget interface ? (scrolling through products without page reloads is awesome!)


     
    Last edited: Nov 10, 2010
  10. pete
    pete Shapeways Employee CEO
    Hi Stijn, you need to use shopcat=SHOPSECTIONNAME

    Code:
    <iframe frameborder="0" style=" border:1px solid #c0c0c0; height:182px; width:628px;" src="https://www.shapeways.com/widget/include.php?shop=YOURSHOPNAME&style=light&shopcat=bestdesigns">
    </iframe>
     
  11. stop4stuff
    stop4stuff Well-Known Member
    Is the shop category bit working yet, I keep getting 'undefined' & IE8 shows an 'error on page'
     
  12. virtox
    virtox Active Member Moderator
    Yeah! it seems to be doing sections now :)

    But I still see a lot of undefined entries :
    http://blog.virtox.net/virtox-shop/

    Also, is it me/my browser, or is the text a tiny bit too large?

    Anyways, great work!
    Should you need any programming/testing help, just drop me a line :)

    Cheers
     
  13. stop4stuff
    stop4stuff Well-Known Member
    The shop section side of things shows models that are newly added to the section, but not exsisting models in that category :(

    [edit]

    Also adds...
    The shop widget shows a 'starting at' price on mouseover the image, trouble is though that price is the maximum (i.e. Silver Glossy) if there are no plastic materials made available for that model.
    To see what I mean, visit https://www.stop4stuff.com/shapeways/ and look at the bottom four items
     
    Last edited: Nov 11, 2010
  14. pete
    pete Shapeways Employee CEO
    Ok guys, fixed a bug on the sections. If a model is available in multiple sections that should work better now.

    Will have a look at the pricing comment later today
     
  15. stop4stuff
    stop4stuff Well-Known Member
    Pricing looks ok now that silver has been pulled. (was confused for a bit as the pricing was changing whilst I was looking)

    Can you fix the multiple sections thing in actual shop on-this-website-sections too please.
     
  16. pete
    pete Shapeways Employee CEO
    Updated. If incomplete set than the space is now to the right. Also pager buttons are not present when not needed. Fixed page numbering bug.

    shop4stuff, perhaps use this table for sizing of your iframes, because in chrome I get scroll bars.

    Code:
    cols/rows	width	height	if cols=1
    1	         168 	 176	height +12
    2	         320 	 320
    3	         474	 464
    4	         628	 608
     
  17. stop4stuff
    stop4stuff Well-Known Member
    I weren't far off... 462 vs 464px on height... and, Pete, you weren't far off either, its sTop4stuff ;)
     
  18. stop4stuff
    stop4stuff Well-Known Member
    Here's a bonus with the shop widget 'as-is'...
    insert name="whatever-name-you-choose" into the Iframe html tag and then use target="whatever-name-you-choose" in conjuction with the full URL in the A (anchor/link) tag for your shop section and you can have your shop sections load up in a click on the same page.

    For Pete's example above, the code might be;
    Code:
    <iframe name="whatever-name-you-choose" frameborder="0" style=" border:1px solid #c0c0c0; height:182px; width:628px;" src="https://www.shapeways.com/widget/include.php?shop=YOURSHOPNAME&style=light&shopcat=bestdesigns">
    </iframe>
    <a href="https://www.shapeways.com/widget/include.php?shop=YOURSHOPNAME&style=light&shopcat=moredesigns" target="whatever-name-you-choose">More designs</a>
    
    For a tacky, but working example, see https://www.stop4stuff.com/shapeways (please feel free to view the source code to re-work it as you see fit)
     
  19. gibell
    gibell Well-Known Member
    I got it working on my home page!

    I noticed that the tutorial is missing the "</iframe>" at the end, which results in the rest of the web page not being shown.
     
  20. pete
    pete Shapeways Employee CEO
    Hi stop4stuff, like it a lot! Great idea.

    Nice to see the widget being used in "the wild". Keep the examples coming (and by the way the feature requests!)