domaino/pocketbase/pb_hooks
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
..
privacy Shop hooks: bundles, codes (passes) and orders paid with codes 2026-10-25 21:25:04 +00:00
shop Stock: items.trackStock, so an empty stock really means unlimited 2026-10-25 21:39:51 +00:00
privacy.pb.js Customers page: export, correct and erase personal data; automatic retention 2026-10-24 10:44:45 +00:00
shop.pb.js Shop hooks: bundles, codes (passes) and orders paid with codes 2026-10-25 21:25:04 +00:00