Skip to main content

How free gift lines import from Shopify

Shopify stores give free gifts in a few ways: a $0 product, a "buy X, get Y free" discount, or an app that adds the gift to the order. SKU.io has no free-gift setting of its own. It imports a gift line by the same rules as every other line on the order, so what the gift becomes depends on how Shopify sends it and how its listing is linked.

This page covers free items. A gift card your store sells is different. See Book Shopify gift cards as a liability.

A gift line is a product line when it ships​

SKU.io makes a gift line an ordinary product line on the sales order when all of these are true in Shopify:

  • The line has a SKU and comes from a product variant.
  • Shopify says the item needs shipping.
  • The line isn't a gift card.

A gift that passes these checks is treated like any line you sell. If its listing is linked to a product, stock is allocated, the gift goes on the fulfillment order, and it's picked, packed, and shipped with the rest of the order. Its cost of goods counts against the order, so the order's profit shows what the giveaway cost you.

How the price comes in​

SKU.io copies the price and discount Shopify recorded for the line. It doesn't set a gift to $0 itself.

How the store gives the giftWhat the sales order line shows
A product or variant priced at $0A unit price of $0.00 and no discount.
A full-price item with a discount that takes it to $0, such as "buy X, get Y free"The item's full unit price, with a line discount for the whole amount. The discount carries the Shopify discount code, or its title when there's no code.
An app that adds the gift at $0A unit price of $0.00, like any $0 product.

Either way, the line adds nothing to the order total, which matches what the customer paid. The fully discounted line still shows the gift's list price, so you can see what you gave away. For how line discounts look on the order, see Add discounts and charges.

When the gift isn't linked to a product​

A gift that ships but whose listing isn't linked to a product comes in as a line with no product, like any unlinked line:

  • The order number carries an amber unlinked chip on Orders → Sales Orders, and the order appears under the Unmapped filter.
  • The line has no stock to allocate, so the order can't be dispatched automatically.
  • If the store has Restrict sales order creation until all products are mapped turned on, SKU.io doesn't create the order at all until the gift's listing is linked.

Link the gift's listing to its product once, and later orders bring it in as a product line. See Link a channel listing to a product.

When the gift becomes a revenue line instead​

Some gift apps add the gift as an item with no SKU, or one that doesn't need shipping. SKU.io can't ship either kind, so the line goes under Revenue Lines on the order, typed Non Product Line, at its price after discounts. A free gift books $0.00 there.

A revenue line takes no stock and is never picked. If the gift really ships, give it a SKU in Shopify and mark it as a physical product that needs shipping, so later orders import it as a product line.

If the gift's listing is mapped as a revenue line on the Shopify Products tab, the line also lands under Revenue Lines, under the type you chose. That suits a gift you don't track as stock. See Book shipping insurance as revenue for how revenue mapping works.

Gifts you add in SKU.io​

You can add a gift to an imported order yourself, as a line at $0.00. See Manage order lines. Later syncs from Shopify never remove a line you added by hand. If the same product is then added to the order in Shopify, SKU.io turns your line into the Shopify line instead of adding a second one. It takes Shopify's quantity, price, and discount, and keeps its stock and any shipment it already has.

What SKU.io doesn't do​

  • No gift-with-purchase rules. SKU.io doesn't add a gift to an order because of what's in it. Set up gift offers in Shopify or in a Shopify app.
  • No free-gift flag. Nothing marks a line as a gift. To find gift lines, look for a $0.00 unit price or a 100% line discount.
  • No special stock handling. A gift takes stock like any product line, and doesn't take any when it imports as a revenue line.

Next steps​

Last verified: