Skip to main content

Digital products recipe

Learn how to set up and manage digital products (like software, e-books, or services) in Saleor with this guide. Since these items don't require shipping, the focus is on configuring specific product types and setting up automated asset delivery after purchase.

Create Product Type for digital goods

A Product Type acts as a template for creating products. It defines the structure, including whether items require shipping and what attributes they have.

Set up a new Product Type. Make sure to disable the "Requires Shipping" setting for this type, so the shipping step is skipped during checkout if the cart only contains these digital products.

Create your products

Create products using new product type. Fill in the product details, such as name, description, category and add variants.

Create stocks for variants. Without them products wont be available for purchase. If your product has unlimited stock, turn off the "track inventory" setting.

Make changes in your storefront

Your storefront needs to adapt its checkout flow based on whether shipping is required.

When a cart contains only digital products (where isShippingRequired is false), the checkout process should skip shipping address collection and shipping method selection.

Asset delivery

When order is made and paid, make content accessible to the customer. Use webhooks to integrate with your business backend.

Create webhook in the dashboard. Choose Order fully paid event, define subscription query and target URL. When order is paid, Saleor will send data defined by subscription query to provided address. Now recipient application will be able to perform necessary operations like updating subscription details or sending an email with download link.