Product Categories
What this screen is for
The mobile screen for managing the business's product categories: creating a new one, renaming an existing one, or (if it holds no products) deleting it. It's reached from the "Categories" button on the Products screen.
When you would use this
A business owner comes here to expand the catalogue with a new category, correct a category's name, or remove an empty category that's no longer used.
Who sees it
Only the user matching the owner field on the business document can open this screen.
Where it lives
The screen exists only on the mobile app.
What you can do here
Create a category
Typing a name and adding it appends a new category to the end of the list; an empty name is refused.
Rename
Tapping a category opens a dialog for editing its name.
Delete
A category with no products can be deleted; one holding products has its delete button disabled, with a count beside it showing how many.
What the server accepts and refuses
A category still holding products cannot be deleted
A delete request is counted inside a server transaction; if the category holds at least one product, the request is refused. The disabled button only anticipates that refusal — the refusal itself is server-side.