Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buyOn this page, you will find everything you need to know about the categories of a shop.
Every category is its own file inside the shop's folder in shops, named after the category's identifier.
Left-click the lime stained glass in Editor > Shops > Shop > Categories to create a category. It gets the next free category_<number> identifier and its editor opens straight away.
Every category in the list shows its icon, display name and identifier, how many items it holds and whether it is enabled. Left-click one to edit it, right-click it to delete it, together with its items, after a confirmation. The Filter button narrows the list to enabled categories, disabled categories, categories on the main menu, hidden categories or subcategories.
Categories fill the category slots of the shop's main menu by their order number, lowest first, and by identifier when two share the same number. The same order sorts sub-categories inside their parent. Disabled, hidden and sub-categories are skipped. There is no editor option for it, so it is set in the category's file, and a new category starts at 0.
order: 1
When a shop has more categories than its main menu has category slots, the rest go on further pages. Without page buttons in the layout they are hidden, and the console says so.
| Features | Description |
|---|---|
| Identifier | The unique id of the category and the name of its file. |
| Display | The title, icon and lore of the category. |
| Currency | Override the shop's currency and its format for this category. |
| Open Command | A command that opens the category directly. |
| Hidden | Keep the category out of the main menu and search. |
| Parent Category | Show the category inside another one. |
| Items | The items of the category. |
| Actions | Actions run when the category is opened or closed. |
| Conditions | Who can open the category and trade in it. |
| Sale | A discount on every item of the category. |
| Buying | Allow or block buying from the category. |
| Selling | Allow or block selling to the category. |
| Enabled | Show or hide the category. |
| Delete | Delete the category and its items. |
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy