Sending Orders to Shopify

IN THIS GUIDE

Overview
Sending Orders to Shopify
Shopify Variant ID
Vat Taxes
Getting Shipments from Shopify

Overview

Some merchants may need to send orders from other carts to Shopify for fulfillment through a Shopify app. This guide will show you how to set up a rule to do this and then how to get the shipment info back to Order Desk and back to the customer.

Sending Orders to Shopify

Tip: Sending orders to Shopify is an Order Desk Pro feature. You can upgrade your account from your Billing Page.

To set up Order Desk to send orders to Shopify you will need to create a rule that will tell Order Desk which types of orders should be sent to Shopify.

As an example, if you want to send all orders from Amazon to Shopify, you would create a rule that says " When Order is Imported" (event), "If Order Source = Amazon" (condition), then "Submit Order to Shopify" (action).

This is just one example of a rule that can be made. You can choose the specific event and conditions necessary for your orders to trigger the action that submits them to Shopify. Depending on where your orders are coming from and which orders (if not all of them) need to be submitted to Shopify, you'll need to create the necessary condition(s) for this rule to work properly. For more information on the Order Desk Rule Builder, please refer to our Getting Started guide on Rules.

Contact Order Desk Support if you need help setting up this rule for your store.

Shopify Variant ID

While Order Desk matches products by SKU, Shopify matches products by their Shopify Variant ID. When sending orders to Shopify, if you need the products in the order to sync with your products in Shopify, they'll have to have the Variant ID attached to them. We'll go over how to set this up properly in this section of the guide.

First, though, if your products coming into Order Desk have SKUs that don't match the SKUs you have in Shopify, you'll need to replace those SKUs as soon as orders are imported to Order Desk. This is done with an item metadata field called code_replace. For detailed instructions on how to set this up, please read through our Code Replace guide. Once you have your products saved here in Order Desk with code_replace added to them, you can move on to the next step for how to get the Shopify Variant IDs in Order Desk.

If your SKUs already match the SKUs you have in Shopify, you can skip the code replace step and instead go straight to importing your Shopify products with their variant IDs.

The Shopify Variant ID is an item metadata field similar to code_replace. When we send through an order to Shopify, if the variant ID is attached to any products in the order, Shopify will know what those products are and will sync them into the products you have saved there. To get this metadata field onto your items here in Order Desk, you'll need to import your items from Shopify.

Go into your Shopify integration settings, and on the right side of the page you'll see where you can import your items:
254779cb2a692d61109f137aac7c2027.pngClick the Import Inventory Items Now button, and Order Desk will automatically pull in all of your Shopify products with the Variant ID included as metadata.

You will also need to make sure your store is automatically syncing inventory items into orders as they are imported. To check this, go to your Store Settings page and under the Inventory Settings over on the right side of the page, make sure the Automatically Sync Details With Inventory Items option is enabled:

With these settings in place, when an order comes in, it will look for the same item here in Order Desk. If it sees code_replace on the item, the code will be swapped out with your Shopify SKU, then it will look at your Shopify products and sync any variant IDs into the appropriate items in the order. This will all happen automatically so the order can be sent to Shopify for fulfillment right after it imports to Order Desk.

Vat Taxes

If your store handles VAT taxes and you need these included with your orders when sent to Shopify, you can set them as either a Checkout Data field or a Metadata Field called "vat_tax" in the order:

If vat_tax is saved as checkout data or metadata, that value will be used instead of the order tax total, and the taxes will be included when orders are sent to Shopify.

This will automatically be done for orders from Amazon Marketplace EU. If you need to set this up to happen automatically for orders from any other shopping cart integrations, you can create a rule that says:

event: When Order is Imported
action: Set Checkout Data Value - vat_tax|{{ tax_total }}

If you have some orders that will have VAT tax and others that won't, you'll also need to set up a condition in your rule to apply only to the specific shipping countries necessary, or, if they are all coming from one integration but not another, you can set a condition for the order source to equal the integration that is importing orders with VAT taxes.

For more information on working with the rule builder, please read through this guide.

Getting Shipments from Shopify

Once an order is fulfilled in Shopify, you can pull the shipment info back into Order Desk. To make sure this info is synced back to the order, go to your Shopify settings under the Integrations menu in the left sidebar:

Then enable the Download Shopify Shipments setting:

With this setting enabled, orders that have been sent to Shopify will be marked as closed and tracking info added as that information is updated in Shopify.

Check the shopping cart integration where the orders came from (not Shopify) for a Sync Tracking Numbers setting, and enable it to pass the shipment info back through to the cart:

Alternatively, you can set up an email template to send a shipment notification to your customers directly from Order Desk. For instructions on how to do this, read our Sending Tracking Details to Customers guide.

Still need help? Contact Us Contact Us