Skip to main content

Open in TWICE Admin

inventory/stock-items
Register stock items from photos when showing the unit is quicker than describing it, such as second-hand intake or a mixed delivery. TWICE Commerce reads the first photo and suggests a name, a category and attributes. Stock Items explains what the suggestion sets.

Prerequisites

Required permissions:
  • Create and edit stock items (inventory:stock_item:create) to upload the photos and register the units.
  • Create and edit attributes (inventory:attribute:create) for the attributes the suggestion adds.
  • Delete stock items (inventory:stock_item:delete) to discard the draft when you cancel.
Every built-in role holds all three, Member included. See Users & Roles.
Have ready before you start:
  • Photos of one unit, or of one of several identical units. Recognition reads the first photo only, so make it a clear shot of the whole unit.
  • The location the units arrive at, to choose before you upload.
  • The SKU the units belong to, if they have one.

The walkthrough

1

Open Upload Images

Open Inventory → Stock items. With more than one location, first choose the location the units arrive at in the location selector in the top-left corner. Click Register Items in the top-right corner and choose Upload Images. Manage media opens on Upload files.
The Register Items menu open on the Stock items table, with Upload Images highlighted
2

Upload the photos

Drop the photos onto the upload area and click Upload files at the bottom right. To send them from a phone or tablet, scan the QR code under Use another device instead. Browse files then opens with the new photos selected. For photos already uploaded, open Browse files and select them.
The Manage media dialog with three photos queued, the upload button and the other-device panel highlighted
3

Save the selection

Click Save selected at the bottom right. The button counts the photos, for example Save selected (3). The Register new stock item dialog opens with a progress bar across the top, and its fields stay greyed out until recognition finishes.
The uploaded photos selected in Browse files, with Save selected highlighted
4

Check the suggested name

When the bar clears, the name field at the top left holds the suggested name. Keep it, or replace it with the name your staff use or a name already in use. The suggestion also sets a category and adds attributes, which the dialog does not show.
The Register new stock item dialog with the suggested name highlighted
5

Set the codes and quantity

Keep Item codes at Auto-generate and type the number of units in Quantity, or choose Manual and enter one code per unit. Leave Track individually ticked, so each unit becomes its own stock item with the photos. Register a pooled quantity from Manual Entry instead.
The dialog's item codes, track individually and quantity fields highlighted
6

Connect a SKU

Search in either Search or create SKU field: the left one lists SKUs by name, the right one by code. Pick the SKU, or type a new name or code and choose Add new to create one. Leave both empty to register without a SKU.
The dialog's two SKU fields highlighted
7

Set the entry status

Set Entry status to Active to make the units available, or to Inactive to keep them out of use. Leave Entry Location and Entry date as they are: the first unit keeps the location and time it was given when you saved the photos.
The dialog's entry location, entry date and entry status fields highlighted
8

Register the units

Click Register Stock Items at the bottom right. One unit opens on its own page, and several open together as Editing multiple items. Every unit carries the photos. To stop instead, click Cancel, which also discards the draft that holds the photos.
The bottom of the dialog with Register Stock Items and Cancel highlighted
9

Check the attributes

Open the Attributes tab on the stock item’s page. It lists the attributes the suggestion added, and the General tab shows the matched Category. Correct any value that does not fit the unit.
The new units' Attributes tab listing the suggested attributes, with the tab highlighted

How do I know it worked?

  • The stock item opens under the name the dialog held, or the batch opens as Editing multiple items.
  • Media on the General tab shows the photos, on every unit.
  • Category on the General tab holds the matched category.
  • The Attributes tab lists the attributes the suggestion added.

Troubleshooting / common pitfalls

Recognition found nothing in the first photo, or did not finish. The dialog still works as an ordinary registration: type the name and register. See Stock Items.
Each registration from photos creates the suggested attributes on your account as new Text attributes, even when one with the same name exists. Delete the ones you do not want. See Attributes.
The first unit is registered at the location chosen in the location selector when you saved the photos. Move it to the location you meant. See Move a stock item to another location.

Stock Items

What a stock item holds, and how it is created.

Getting stock in

Every walkthrough for bringing stock into TWICE Commerce.

Register stock items

Register units by typing their details, pooled quantities included.

Attributes

What the suggested attributes become on your account.

Bulk-edit stock items

Edit the units you registered together.

Import inventory from a CSV

Register many stock items at once from a file.