domaino/pocketbase
agent 32984ac01d Stock: items.trackStock, so an empty stock really means unlimited
PocketBase 0.23 can't store an empty number (it reads back as 0), so a
product saved with "Unlimited when empty" stock was sold out — on main
too. trackStock says whether stock counts; existing products get it on,
so nothing that sells today changes. The shop maps untracked stock to
null (unlimited), as the UI always assumed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hy2vMnHJYP7QGsiH21zHxW
2026-10-25 21:39:51 +00:00
..
pb_hooks Stock: items.trackStock, so an empty stock really means unlimited 2026-10-25 21:39:51 +00:00
pb_migrations Stock: items.trackStock, so an empty stock really means unlimited 2026-10-25 21:39:51 +00:00