Skip to content

Availability and stock

How GTeShops XML feed decides what it writes in the instock and availability fields for products in stock, exhausted and backorders.

Applies to v1.1.0 Updated 4 Nov 2026 2 min read Step 8 of 11
v1.1.0 · WooCommerce 7.1+ · PHP 7.4+ Support

Two Fields#

  • instock: Y if the product is considered available, otherwise N.
  • availability: the text that the buyer sees, from the texts you define on the machine.

How text is selected#

Status at WooCommerceavailability
In stockText for available products
Not in stockOut of Stock Text
Stock 0 or smaller, with Allow backordersPre-order text
Stock 0 or smaller, with backorders Allow, but notify the clientOut of Stock Text

If you keep availability per product in your own field, the machine can read it from there and prefer it to the general texts.

Skipping exhausted#

By setting off-stock product failure, the exhausted products do not enter XML at all. If you want them to be seen as unavailable, leave the setting inactive.

Control#

  1. Select a product in stock, a exhausted and one with backorders.
  2. Replay XML.
  3. Find the three products with search in the file (Ctrl+F in id or in name) and check instock and availability.

Availability is updated on GTeShops only when XML is reproduced, so the frequency of cron determines how quickly a stock change appears.

Did this article help you?
It's not solved?

Send a request; the plugin and the article are automatically completed.

Request support