Artwork

内容由Wes Bos and Scott Tolinski - Full Stack JavaScript Web Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 Wes Bos and Scott Tolinski - Full Stack JavaScript Web Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal
Player FM -播客应用
使用Player FM应用程序离线!

Selling and Shipping T-Shirts with TypeScript

56:09
 
分享
 

Manage episode 290485305 series 1469447
内容由Wes Bos and Scott Tolinski - Full Stack JavaScript Web Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 Wes Bos and Scott Tolinski - Full Stack JavaScript Web Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

In this episode of Syntax, Scott and Wes talk about selling and shipping t-shirts, and how to do it all in TypeScript!

Prismic - Sponsor

Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.

Sentry - Sponsor

If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.

Deque - Sponsor

Deque’s axe DevTools makes accessibility testing easy and doesn’t require special expertise. Find and fix issues while you code. Get started with a free trial of axe DevTools Pro at deque.com/syntax. No credit card needed.

Show Notes

01:58 - T-Shirts 101

  • T-Shirts are cool
  • I sold 100 right away to get the kinks out
  • Then I did pre-order
  • The stack

09:08 - Selling: Front-end

  • Snipcart
  • It’s a button
  • When Someone buys, they scrape the site for the HTML
    • If you only have a client-side rendered button, you use the JSON API instead
  • Integrated into Gatsby pretty easily
  • Wrote one custom hook to count inventory and disable when sold out
  • I thought Snipcart would be enough, but I soon realized it wasn’t. I needed something to fulfill the shipment.

10:10 - Selling: Shipping Quotes

  • Snipcart has integration for USPS, etc.
  • You can also do custom shippers
  • It’s a webhook
  • They also take care of customs declaration

13:30 - Selling: Backend

18:05 - Fulfilling

  • Printing labels
    • Designed with CSS + React
    • Print CSS is wild
    • Fan Fold labels were way better
    • I switched to Stallion Express
    • Cheaper
  • Printing packing slips
  • Batch scanning
  • Scanning → Mark as shipped
    • Started with webcam
    • Bought scanner for cheap
    • QR code was better because my tokens were long
    • Data matrix is often better
  • Sending notifications
    • Hit the endpoint via Snipcart

28:48 - The physical part

  • T-Shirts printed from local supplier
    • U-Haul to get them here
  • Bags printed in China (about 40 cents each)
  • I wrote a bunch of code to organize by size
    • This cut down on moving around (14 hours if you save 30 seconds per shirt)
  • Some got stickers
  • Multiples were the hardest
    • 24 different types of shirts
      • some wanted 4xl
      • some wanted tall

36:30 - Common questions

  • Why did you do this yourself?
    • Fun project
    • I learned a ton
    • This is how you don’t burn out
  • Why not print-on-demand? (DTG)
    • Tonal
    • Embroidery
    • Quality
    • Money
      • Pay people in my community
  • Control
  • Why not $companyThatHandlesIt
    • I want to do stickers
    • I want to do decks
  • Why not Shopify
    • Large orders still need major fulfillment strategies
    • Code has to be written or money spent

44:16 - Other lessons learned

  • Queues would be good here
    • Sometimes you had to wait 3+ seconds for the confirmation of shipping
  • No one reads, it was pre-order
  • Don’t buy shipping right away — people email about incorrect addresses
  • Over-order by a few each (out of 1550 orders, five got partial refunds and three got full refunds)
  • Pre-order is great because you can offer many sizes
  • Async JS to do things at most 50 at a time
Links ××× SIIIIICK ××× PIIIICKS ××× Shameless Plugs Tweet us your tasty treats!
  continue reading

759集单集

Artwork
icon分享
 
Manage episode 290485305 series 1469447
内容由Wes Bos and Scott Tolinski - Full Stack JavaScript Web Developers提供。所有播客内容(包括剧集、图形和播客描述)均由 Wes Bos and Scott Tolinski - Full Stack JavaScript Web Developers 或其播客平台合作伙伴直接上传和提供。如果您认为有人在未经您许可的情况下使用您的受版权保护的作品,您可以按照此处概述的流程进行操作https://zh.player.fm/legal

In this episode of Syntax, Scott and Wes talk about selling and shipping t-shirts, and how to do it all in TypeScript!

Prismic - Sponsor

Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/syntax.

Sentry - Sponsor

If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.

Deque - Sponsor

Deque’s axe DevTools makes accessibility testing easy and doesn’t require special expertise. Find and fix issues while you code. Get started with a free trial of axe DevTools Pro at deque.com/syntax. No credit card needed.

Show Notes

01:58 - T-Shirts 101

  • T-Shirts are cool
  • I sold 100 right away to get the kinks out
  • Then I did pre-order
  • The stack

09:08 - Selling: Front-end

  • Snipcart
  • It’s a button
  • When Someone buys, they scrape the site for the HTML
    • If you only have a client-side rendered button, you use the JSON API instead
  • Integrated into Gatsby pretty easily
  • Wrote one custom hook to count inventory and disable when sold out
  • I thought Snipcart would be enough, but I soon realized it wasn’t. I needed something to fulfill the shipment.

10:10 - Selling: Shipping Quotes

  • Snipcart has integration for USPS, etc.
  • You can also do custom shippers
  • It’s a webhook
  • They also take care of customs declaration

13:30 - Selling: Backend

18:05 - Fulfilling

  • Printing labels
    • Designed with CSS + React
    • Print CSS is wild
    • Fan Fold labels were way better
    • I switched to Stallion Express
    • Cheaper
  • Printing packing slips
  • Batch scanning
  • Scanning → Mark as shipped
    • Started with webcam
    • Bought scanner for cheap
    • QR code was better because my tokens were long
    • Data matrix is often better
  • Sending notifications
    • Hit the endpoint via Snipcart

28:48 - The physical part

  • T-Shirts printed from local supplier
    • U-Haul to get them here
  • Bags printed in China (about 40 cents each)
  • I wrote a bunch of code to organize by size
    • This cut down on moving around (14 hours if you save 30 seconds per shirt)
  • Some got stickers
  • Multiples were the hardest
    • 24 different types of shirts
      • some wanted 4xl
      • some wanted tall

36:30 - Common questions

  • Why did you do this yourself?
    • Fun project
    • I learned a ton
    • This is how you don’t burn out
  • Why not print-on-demand? (DTG)
    • Tonal
    • Embroidery
    • Quality
    • Money
      • Pay people in my community
  • Control
  • Why not $companyThatHandlesIt
    • I want to do stickers
    • I want to do decks
  • Why not Shopify
    • Large orders still need major fulfillment strategies
    • Code has to be written or money spent

44:16 - Other lessons learned

  • Queues would be good here
    • Sometimes you had to wait 3+ seconds for the confirmation of shipping
  • No one reads, it was pre-order
  • Don’t buy shipping right away — people email about incorrect addresses
  • Over-order by a few each (out of 1550 orders, five got partial refunds and three got full refunds)
  • Pre-order is great because you can offer many sizes
  • Async JS to do things at most 50 at a time
Links ××× SIIIIICK ××× PIIIICKS ××× Shameless Plugs Tweet us your tasty treats!
  continue reading

759集单集

Усі епізоди

×
 
Loading …

欢迎使用Player FM

Player FM正在网上搜索高质量的播客,以便您现在享受。它是最好的播客应用程序,适用于安卓、iPhone和网络。注册以跨设备同步订阅。

 

快速参考指南