Owner accounts can switch the Store page into an editor workflow using Edit Store. This turns the storefront from a browsing surface into a local content editor for categories and products.
When to Use This
- You want to create or edit local storefront categories.
- You want to create or edit local products.
- You need to remove local categories or products from the store editor.
- You want to export the locally edited storefront JSON.
What Changes in Editor Mode
When you open Store as an owner and choose Edit Store, Cockpit switches to store.php?mode=edit. In that mode you can:
- manage local categories
- manage local products
- delete local rows with confirmation prompts
- export the local storefront data as JSON
Steps
- Open Store while logged in as the owner.
- Click Edit Store.
- Create or update categories in the category editor form.
- Create or update products in the product editor form.
- Use the existing saved tables to review what is already stored.
- Use Export Local JSON when you want a portable snapshot of the local store data.
Expected Result
You should be able to maintain local storefront categories and products from one editing screen and export that local state when needed.
Common Mistakes
- Editing while expecting the normal product grid: Editor mode is for managing data, not for storefront browsing.
- Deleting without checking dependencies: Removing a category can also affect local products tied to it.
- Forgetting to export after major changes: Exporting local JSON is a useful checkpoint after editing sessions.
Example Use Cases
- Store refresh: The owner updates category metadata and product details before making the store visible to operators.
- Local-only edits: A reseller adjusts products directly inside Cockpit instead of editing raw files elsewhere.
- Safe handoff: After finishing local edits, the owner exports the local JSON as a backup copy of the storefront state.
Related Articles
- Store Page Tour
- How to Manage Storefront Endpoints
- How to Browse and Filter Store Products