Woocommerce to Printmotor Integration

1. Contact Printmotor to sign up

Reach us as support@printmotor.com to sign up. When contacting Printmotor support, remember to add your WooCommerce URL if you already have one. You will receive credentials to log into the Printmotor admin and here you will be able to add products and fill up other details. Billing information is required before orders start being fulfilled, but is not needed to start test orders.

You’ll be adding print-ready files through Printmotor admin interface, and link them to products in your WooCommerce installation.

2. Create your products in Printmotor

Creating products at Printmotor store is very simple and straightforward. The things that should be noted is the SKU of the product. SKUs that are updated to Printmotor’s end need to match with ones in your WooCommerce installation.

SKUs contain only A-Z, 0-9 and ‘-‘ characters. Make sure that any two products do not have the same SKUs.

Keep these Variations in mind when creating your products in WooCommerce. If you want to provide just some of the possible colour variations, disable those that you do not want to provide.

3. Create your products in WooCommerce

For example, if you have a shirt called ‘Cool Shirt’ in the Printmotor App, you’ll have to create a product in WooCommerce for it.

To create a new product, click on Products then Add new. You can add it the Title, Description, Images, categories for it when you want, but the ‘Product Data’ section is what will be the focus of this explanation.

These products will be ‘Variable products’ instead of ‘Simple Product’.

To define the product’s attributes, click on the ‘Attributes’ section right below ‘Linking’.

Click ‘Add’ to create an attribute. You’re going to want one for Size and Colour. The names of the attributes, you may use “Size” or Finnish “Koko”, and for color “Color”, “Colour” or “Väri”. If other words are used, it will not work. If you’re running a site in different language than English, Finnish or Swedish, please contact Printmotor’s support at support@printmotor.com

Below is an example of what a finished attribute will look like. Make sure to select ‘Used for Variations’. Remember to check the options on the left. You can find the colours and sizes available on our Products page.

Once you’ve created all the attributes, click on Variations and select ‘Create variations from all attributes’.

You can set the prices of each variation individually, but if you’d like to have them done all at once, WooCommerce has a function for that.

For the last step, go to the inventory section of Product data and fill in the SKU. Make sure it is the right SKU you have given to the product created in the Printmotor admin. This is how Printmotor knows which product is being ordered.

That should be it for the creation of the product to be able to be used with our system.

4. Enable Rest API on WooCommerce

To create the API Key, you must go into WooCommerce > Settings > API.

  • Enable the API feature by clicking the checkbox and save the changes.

Then open Keys/Apps (in the submenu right above ‘General Options’) and click ‘Add Key’.

Give it a description (doubles as a name). It can be just as simple as Printmotor Integration or any of the sort.

Once you Generate the API key, it is important to know that once you leave the page where the generated keys are shown, it’s not possible to view them again.

You will be presented with a Consumer key and a consumer secret. Printmotor will be needing both to communicate with WooCommerce.

Once this has been finished, the integration to Printmotor should be done! The next steps are to send test orders to make sure the requests are being sent to Printmotor. When test orders have come in successfully, and you feel like you are ready to send in orders to production, keep us updated!