I built a shop where customers can buy the same salmon pouch on its own or in a tasting set. The challenge was keeping both offers accurate while orders, shipments and offline counts changed the stock.
I compared 47 retail listings for 36 wet cat food products in Japan. At one retailer, three Royal Canin recipes came in gravy, jelly and loaf at the same price and weight. I used that structure for a smaller tasting set.
Each fictional pouch weighs 55 g and costs ¥158. The trio costs ¥450, saving ¥24 over three singles. Both flavour and texture change between pouches, so purchases alone cannot tell me which mattered more.
Switch languages to compare the same screen. The cart keeps its quantities, and the order total stays in yen.
Local store v0.12 · Select the image to enlarge
Where the last pouch goes
Two trios and one single use all three salmon pouches. Both increase buttons are disabled. The cart adds ¥180 shipping once, bringing ¥1,058 of merchandise to ¥1,238.
What if the shelf changes before the phone reconnects?
In a Pixel 7 emulator test, I counted four salmon pouches in lot C-02 while offline. The shop then shipped two pouches, one from each lot. Applying my old count would have added a pouch that was already gone.
On hand · C-023
Trios available0
The store holds the lot for review.
The lot changed after the count. The store keeps three on hand and pauses new reservations. With no other salmon available, the trio is temporarily unavailable.
Replay of the recorded Android v0.6.0 test. The browser demo lets you simulate a similar conflict under Store desk, by receiving new stock.
I checked that retrying an order after losing its confirmation creates a single order, that cancellation releases reserved stock, and that the dashboard excludes shipping from merchandise value.
The Android emulator run covered offline restart, duplicate sync and a conflicting count. I still need to check manual entry after camera access is denied, scanning a printed QR code and using large text on a device.
Local test results
Node.js tests
26 passed
Chromium suites
8 passed
Android JVM tests
4 passed
Web v0.12.0 and Android v0.6.1 · 3 December 2026. The separate emulator run used Android app v0.6.0 and had nine passes and three untested checks.