DEV Community

prasanna malla
prasanna malla

Posted on

Start your Print-On-Demand business with Printful + Vendure

Design custom products using your art, grow your business and sell globally and earn money from home with Printful. Everything is printed and shipped on demand, under your brand! Quickly customize your own branded products using the free Design Maker tool and reach customers globally using their 15 fulfillment centers.

Vendure is a fast growing headless commerce solution with multi-vendor support in the upcoming V2 release on June 07, 2023 allowing you to build your own marketplace like Etsy or Amazon with ease. Today, we will be looking at setting up your own online store for selling print-on-demand products. Signup for a Printful account and create a Manual order platform / API as there is no official platform support for Vendure at this time.

Create Manual order platform / API

Next, create a Private token over at Printful Developers, select all options under scopes for your store and save the token someplace as it will not be shown once you navigate away from this screen. We will need to add this to the .env file as PRINTFUL_AUTH_TOKEN in our vendure app. If you are new to Vendure, checkout my earlier post to spin up an e-commerce app in under a minute! Now, create your products on Printful and add them to the store.

To start selling your products in under a minute, install the vendure-plugin-printful with yarn add @callit-today/vendure-plugin-printful and add it to the plugins array in vendure-config.ts

AdminUiPlugin.init({
    route: 'admin',
    port: 3002,
    app: compileUiExtensions({
        outputPath: path.join(__dirname, '../admin-ui'),
        extensions: [PrintfulPlugin.uiExtensions],
        devMode: IS_DEV,
    }),
}),
PrintfulPlugin.init({ enabled: true }),
Enter fullscreen mode Exit fullscreen mode

Finally, run yarn dev and go to http://localhost:3000/admin to import your Printful products and start selling! Remember to rebuild search index after import by clicking the gear icon next to the import button.

Import Printful Products in Vendure Admin

When an order is placed, printful products are automatically pushed under draft orders and will need to confirm for fulfillment.

Find me on twitter @prasmalla if you have any questions/ feature requests & showcase what you build with it! I look forward to being your customer)👌

Top comments (0)