Try it

Stock and delivery

Sortyra team · · 7 min read

Sortyra's Stock and delivery feature gives each product an availability and a delivery time based on where you can actually deliver it from. Your own stock takes priority, suppliers act as a backup with their own delivery times, and you write the availability texts yourself. The result applies to all outputs.

What the feature does

Customers want to know two things: is it in stock and when will it arrive. If your feed says "in stock" but the tent is actually sitting at your supplier's and will arrive in five days, the customer is disappointed and the price comparison site may penalise you.

So for each product, Sortyra works out where you can deliver it from:

  1. From your own stock – the fastest; it always takes priority.
  2. From a supplier – with that supplier's delivery time.
  3. Not in stock anywhere – with a longer delivery time or a text such as "Available to order".

The result is written to the fields STOCK (number of items), DELIVERY_DAYS (delivery time in days) and AVAILABILITY (availability text). For rules, a STOCK_STATUS field is also created with the value own, supplier or none. Everything is calculated before the rules run, so you can still adjust the result with a rule or manually.

We cover availability in feeds in general in the article Availability, stock and delivery time.

Where to find it

The basic setting is in the Input → Sources menu, in the Stock & delivery card with the Configure button. An overview of availability across the whole catalogue and how it behaves in outputs is in the Catalogue → Stock and availability menu (see below). Further stock-related options are found on the individual sources and in the output settings in the Outputs and channels section.

Step by step

  1. Add your own stock as a source – your shop's feed or an export from your warehouse software (see Sources and Exporting stock from a warehouse program). When adding it, choose the role My warehouse for it in the wizard.
  2. On the Sources page, on the Stock & delivery card, click Configure and tick Enabled.
  3. Under Own warehouses, tick all the sources with your stock – there can be several. If the same product is in more than one of your own warehouses, the units are added up. Details are in the article Own warehouse.
  4. Under Match products by:, choose code or EAN (except shared) – this is how Sortyra recognises that a product in your stock is the same as the supplier's.
  5. Fill in the delivery times in days:
  • Delivery from own warehouse (days) – for example 1,
  • Delivery from supplier – default (days) – for example 3,
  • Not in stock anywhere – delivery (days) – for example 14.
  1. Write the availability texts: Text: own warehouse ("In stock"), Text: supplier stock ("In stock at supplier – within 3 days") and Text: out of stock ("Available to order").
  2. Under Delivery time per supplier, set a different delivery time for specific suppliers. An empty field = the default value.
  3. Under Copy from the shop for matched products, choose which data is taken from your shop. At least the URL is needed so that price comparison sites send customers to your shop.
  4. Click Save.

The Stock and availability page

In the Catalogue → Stock and availability menu you set in one place:

  • Where the stock comes from – how many products are in stock in your own warehouse and at suppliers; the Mark own stock in Sources link,
  • Which stock to send to the output – for each output Own, Supplier or Total,
  • Availability names in the e-shop – the text and days for the states In stock, At supplier, On order, Unavailable and Discontinued,
  • Unavailable products – whether to Hide from output, send them to Shoptet as VISIBILITY: hidden or Keep; the Show again automatically option and Notify me when a product is back in stock,
  • Availability texts from suppliers – you assign each new supplier text to one state and confirm it.

Before saving, look at Preview changes and then click Save settings in the top bar. The Unavailable, Back in stock, On order and Availability texts lists are on separate tabs of the same page.

Source options

In each source's details (the Settings and Prices and stock tabs) you will find:

  • Downloads per day (1–24) – how often the supplier's stock is refreshed. For prices and stock, 4–6 times is usually enough.
  • Stock safety buffer (pcs) – if the supplier reports this many items or fewer, the product is treated as sold out.
  • Subtract from stock (pcs) under Input adjustments – the given number of items is subtracted from the supplier's stock.
  • Supplier priority and Supplier order – who wins when two suppliers have the same product.

Output options

In the output settings – in the output detail on the Settings tab (Outputs and feed links):

OptionWhat it is for
Which offer winsin stock, cheapest, preferred supplier, cheapest purchase price or fastest delivery
Stock in outputthe winner's stock or the sum of the suppliers' stock
Stock sharewhat percentage of stock this channel gets, for example 50% for a marketplace
Delivery time in business daysthe delivery time is automatically extended over weekends and public holidays in the output country
Update in the shopwhen importing into the shop, send only stock (and price)

What it looks like in the feed

A sleeping bag you don't have yourself, but your supplier has in stock with a 3-day delivery time:

<SHOPITEM>
  <ITEM_ID>VL-LIGHT</ITEM_ID>
  <PRODUCTNAME>Vlnka Light sleeping bag, down to 5 °C</PRODUCTNAME>
  <DELIVERY_DATE>3</DELIVERY_DATE>
</SHOPITEM>

Once you stock the same sleeping bag yourself, it gets the delivery time from your own warehouse, for example 1 day, and the text "In stock".

Examples

  • A shop with its own stock and dropshipping: whatever you have in-house is "In stock"; everything else is "In stock at supplier – within 3 days".
  • Two suppliers of the same tent: with the fastest delivery option, the one who can deliver sooner is offered.
  • A slow supplier abroad: you set 7 days for it under Delivery time per supplier.
  • The last few items: the supplier reports 1 item, but it may have sold it elsewhere between updates. A Stock safety buffer of 1 treats it as sold out.
  • Christmas: with Delivery time in business days turned on, the delivery time is extended over the holidays and goes back to normal by itself afterwards.

Tips and common mistakes

  • Supplier quantities are not sent to Shoptet as your shop's own stock. Supplier stock only shows up in the availability when an item is sold out. That way the customer sees the true situation.
  • Matching by EAN with variants – an EAN shared by several items at once isn't used for matching. If this happens a lot in your product range, match by code.
  • More frequent downloads = more accurate stock. For fast-moving goods, set more downloads per day. The price of more frequent updates is in the price list.
  • Rules have the final say. If you overwrite AVAILABILITY with a rule, your rule applies.

Frequently asked questions

What if a product has several suppliers?

The Which offer wins option in the output decides – for example, whoever has the item in stock and, in case of a tie, the supplier order you have set. Find out more in the article Duplicates.

How often is stock updated?

Depending on how many times a day the source is downloaded – from 1 to 24 times a day, on higher plans also every 30 or 15 minutes. The output is recalculated after each download. The channel or shop sees the change the next time it downloads your output feed. If the feed of your own warehouse stops changing, the freshness guard alerts you.

Will the customer see my supplier's stock as my own stock?

No. Supplier stock is shown as availability "at the supplier" with its delivery time, not as goods in your warehouse.

Can I give a marketplace only part of my stock?

Yes. In the marketplace output, set the Stock share, for example 50%. The quantity is rounded down.

Try it on your own feed