Go to content

Manage a buyable product's stock balance

In Johku, the availability of a buyable product is based on its stock balance. The balance goes down automatically with every purchase, and when the balance reaches zero, the product is shown as sold out until you add stock. In this guide you learn to set and update the balance and to choose whether the balance is used at all.

Before you start: this guide applies to a buyable product that has already been created. Creating a new product is covered in the article Create a buyable product.

How the stock balance works

When you created the buyable product, Johku automatically created a resource of the Buyable type with the same name for it. The resource is shown on the product's Availability tab, and the product's stock balance is calculated from the stock balances of the resources attached to the product. The default balance is 1. A buyable product has no time settings and it doesn't create reservations, so its availability cannot be limited by time.

Update the balance through the product

  1. Open the product and select the Availability tab.
  2. In the Stock balance field, enter the quantity in stock.
  3. Select Save.

The Summary section now shows how many products can be bought.

Disconnect sales from the stock balance

If you don't want to track stock, select Disconnect sales from stock balance below the Stock balance field on the Availability tab. The product is then always available and never runs out. You can clear the selection at any time, and sales then start following the balance again.

Edit balances centrally on the Stock resources page

When you update the balances of many products at once, for example after a stocktake, the fastest way is the Stock resources page.

  1. In the Johku admin, open Stock resources from the top bar of the Products section.
  2. Change the balance directly in the Stock balance column on the resource's row. Continue to the next resource in the same way.

Change the unit of the stock balance

In addition to pieces, the resource of a buyable product supports units of length, weight and volume. A unit is useful, for example, for goods sold loose.

  1. Open the resource: select Edit resource on the resource card on the product's Availability tab, or open the resource from the Stock resources page.
  2. Change the unit next to the stock balance.
  3. Select Save.

The unit cannot be changed in the product's settings, only through the resource. With the One product includes setting, you define how many units one purchase includes. The setting is covered in the article Create a buyable product.

If something goes wrong

The balance doesn't go down with sales. The Disconnect sales from stock balance option is on. Clear the selection on the Availability tab if you want sales to follow the stock.

The product is shown as sold out even though you have goods in stock. The balance is zero, or the One product includes setting divides the balance into larger sales lots. Update the balance and check the setting.

You want to edit the resource's name or other settings. Open the resource from the Stock resources page or select Edit resource on the product's Availability tab. All the resource's settings are there.

The balance of a ticket product doesn't go down when tickets are sold. This is usually intentional. An event's ticket product also has a resource of the Buyable type, but ticket sales are limited by the capacity of the venue's resource, and the ticket product's sales are then disconnected from the stock balance. It's best to control the number of tickets with capacity rather than with the tickets' stock balance, because tracking the balance per showtime is cumbersome. You can see the number of tickets sold on the event product's Prices tab. You'll find the guides for events on the page Events and ticketing.