Starter packs: a whole catalogue taxonomy in one step
Written for whoever sets up the catalogue. A new company starts with one category, General, and no collections. A distributor of smoke-shop and convenience-store goods would otherwise build its categories, its collection tree and its attributes by hand before setting up a single product — or start selling with every product on General. A starter pack is that setup, ready made, installed in one step and then yours to change.
What the Smoke shop and convenience store pack installs
Smoke shop and convenience store (regulated_cstore) is the pack for a
regulated distributor. Three smaller ones, for any industry, are described
below.
-
25 categories, nested — what each product is:
- Vapor products (
VAPOR) > Disposable vape, Vape devices, Coils and pods, Batteries and chargers, E-liquid - Tobacco (
TOBACCO) > Cigarettes, Cigars (> Premium cigars, Little cigars), Pipe and roll-your-own tobacco - Smokeless tobacco (
SMOKELESS) > Chew and snus - Nicotine pouches, Kratom, Hemp (> CBD)
- Food (> Candy and gum), Beverages (> Water)
- General merchandise (> Lighters and butane), Glass and accessories
Every category carries its legal class (Regulated as in the category form), so a product in Disposable vape is an ENDS disposable without anybody setting it on the product; a sub-category that names none takes its parent's. See Legal classes. Each category also says how its products are tracked (lot for anything with a batch or an expiry; first-expired-first-out for food and drinks) and, for the disposables, e-liquid and pouches, the variant axes their variants differ on (flavour, nicotine strength; bottle size for e-liquid).
- Vapor products (
-
A Storefront menu tree of 42 collections — where a product is shown: Vapor products (Disposables, Pod systems, Devices, Coils & pods, Batteries & chargers, E-liquid with Freebase and Salt), Tobacco (Cigarettes, Cigars, Premium cigars, Cigarillos, Little cigars, Pipe & RYO), Smokeless (Moist snuff, Chew, Snus), Nicotine pouches, Kratom (Powder, Capsules, Extracts), Hemp (CBD, THC), Candy & gum, Snacks, Beverages (Soft drinks, Energy, Water), General merchandise (Papers & wraps, Lighters & butane, Glass, Grinders & scales, Incense), Deals and New arrivals. The tree is made the storefront menu if your company has none yet. A collection decides nothing about tax or compliance: a product may be in Disposables, Deals and New arrivals at once and is taxed and licensed once, by its category.
-
Seventeen attributes, each on the categories it belongs to, with the choices a state's rule is written in: flavour and characterising flavour (tobacco, menthol, mint, fruit, dessert, other — on cigarettes too, where menthol is the one a ban names), nicotine strength with its unit and source, open or closed system, puff count, premium cigar, weight per thousand, wrapper, filter tip, pipe or roll-your-own, kratom form, synthetic alkaloid, cannabinoid, total THC per container, and certificate of analysis required.
Filter tip (yes or no, on Cigars and everything under it) carries a help text on the product form: a filtered "cigar" is commonly a little cigar (4 lb or less per thousand), which Pennsylvania taxes per stick like a cigarette, may require a cigarette tax stamp on, and lets only licensed cigarette dealers buy. It is recorded, never enforced: read it with the weight per thousand and file the product under Little cigars where it is one.
The judgement calls, for counsel
These rows are content, not code: they decide what a product is for a statute until somebody changes them. Check them against the states you sell into.
| Category | Filed as | Why it is a judgement |
|---|---|---|
| Vapor products (the parent) | ENDS device | A vapor product filed only at the top resolves as a device |
| Vape devices | ENDS device | Whether a closed pod kit is a device or a disposable depends on each statute's definition; file it under Disposable vape where yours says so |
| Tobacco (the parent) | nothing | A product filed only under Tobacco is not regulated; give it Cigarettes, Cigars or Pipe and roll-your-own |
| Cigarettes | Cigarette | A filtered little cigar in a pack of twenty can be a "cigarette" under Pennsylvania's directory act (the MSA definition reaches a roll "likely to be offered to, or purchased by, consumers as a cigarette"). Whether yours are is counsel's call; file them here where they are |
| Smokeless tobacco | Moist snuff | The parent's own value, for a product not typed Chew and snus |
| Hemp | Hemp THC | The stricter of the two, for a product not typed CBD |
| Batteries and chargers | ENDS component | Only true of vape batteries; a household battery belongs in General merchandise. In Maryland a battery or charger pays 6%, not the 20% on devices, once its Battery or charger field (defined by the us-md tax pack) is set — the category cannot set it (Excise) |
| General merchandise (papers and wraps) | not regulated | Check whether a state's definition of tobacco products reaches rolling papers |
| Beverages, Water | Soft drink, Food tax categories | A state's sales tax may treat energy drinks or water differently |
Candy, snacks and drinks are tax categories, not legal classes
Food, Candy and gum, Beverages and Water are not regulated — no licence, no age. What a state's sales tax does with them is a tax category: FOOD, CANDY_GUM and SOFT_DRINK, which the Pennsylvania and Maryland tax packs define (where your version's Pennsylvania pack does not list them yet, no shipped pack does). The starter pack does not create them; it gives each of those categories the tax category with that code where your company has one (Food and Water FOOD, Candy and gum CANDY_GUM, Beverages SOFT_DRINK).
- Install the tax pack first and the starter pack sets those categories' tax categories as it installs.
- Install the starter pack first and the install tells you which categories it could not map yet. Install the tax pack, then install the starter pack again: it fills in those categories and nothing else.
The general packs
Three optional packs, for a company outside the regulated trade or one that also sells everyday goods. None names a legal class; each makes its collections in the same Storefront menu tree.
| Pack | Categories | Collections |
|---|---|---|
General merchandise (general_merchandise) | General merchandise (variant axes Colour, Size) > Household, Hardware and tools, Electronics, Toys and games, Personal care | Home, Tools, Electronics, Toys, Personal care, Deals |
Food and beverage (food_beverage) | Food (> Snacks, Frozen; tax category FOOD) and Drinks (tax category SOFT_DRINK), lot-tracked and first-expired, variant axes Flavour, Pack size | Grocery, Snacks, Frozen, Drinks |
Apparel (apparel) | Apparel (variant axes Size, Colour) > Tops, Bottoms, Footwear (Shoe size, Colour, Width), Accessories (Colour) | Women, Men, Kids, Shoes, Sale |
Food and beverage's tax categories are mapped the same way as above: where your company has no FOOD or SOFT_DRINK yet, install the tax pack and then the starter pack again.
What installing does, and does not do
- It creates only what is missing. A category, collection or attribute your company already has under the same code is kept as it is — renamed, retired or changed, it is your decision and the pack leaves it alone. The only thing a second install ever adds to a row it did not create is the tax category above, on a category that has none.
- An attribute you already have on every product is not scoped to a category again. Every company has Nicotine Strength on every product; the pack uses it.
- It goes through the same steps as doing it by hand. Each category, collection and attribute is created as if somebody had used the screens: the audit log shows who installed it and when, one row per thing created, and one starter pack installed entry with the counts.
- It is safe to run twice. The second install creates nothing.
- There is no uninstall. Categories, collections and attributes are retired, not deleted, in this product. Retire what you do not want.
- Nothing is discontinued or blocked. A hemp product over the THC limit and a cigar light enough to be a little cigar are named by catalogue health (see Catalogue health), for a person to decide.
What the pack cannot set, because these are product fields rather than category fields, and which it says on every install:
- Receiving, picking and the stock ledger read a product's own tracking. A category's lot tracking is shown on its products, but set it on the product where a delivery must carry a lot.
- Humidor storage, inspection on receipt and a battery's UN number (UN3480, UN3481) are set on each product. For a cigar that needs a humidor, set its Kept at to Humidor, and set Humidor as the temperature of the locations that are one (Storage and handling); putaway then sends it there and nowhere else.
Installed the pack before Cigarettes and Filter tip existed? Install it again: it adds what it lacks and changes nothing it already made.
Installing it
Products → Configure → Starter packs (/products/starter-packs). Anybody
who reads categories sees the list; Install is shown only to somebody
with starter_pack.install.
- The list. Each pack, what it is for, and how many categories, collections and attributes it holds.
- Preview. What installing would do here, nothing written yet: how many rows it would create and how many it would keep, then row by row — each category, collection and attribute with its code, name, the category an attribute is for, and New or Kept. Kept means your company already has that code; it stays exactly as it is. An attribute you already have on every product shows as Every product (you have it already). Above the rows: the categories the pack would give a tax category you do not have yet ("Category FOOD → tax category FOOD"), and the pack's own list of what installing does not do.
- Choose what to install. Under the preview, the pack's product categories and its storefront collections are two trees, every box ticked. Untick what you do not sell — a cigar and tobacco distributor unticks Vapor products, Kratom and Hemp in both trees. Ticking a sub-category brings its parent with it (Little cigars needs Cigars and Tobacco), and a category's attributes come only with the category. The counts and the rows follow what is ticked, and Install is unavailable with nothing ticked. What you leave out can be installed later: installing again creates only what is missing and keeps everything you have.
- Install. Asks once, then installs. The screen then says what it did: created and kept, the categories it gave their tax category this time, the categories still waiting for one, and the caveats again — so nothing it did not do goes unsaid.
A refused install — a permission you lack for one of the rows, a pack that is no longer there — is the server's own sentence at the top of the screen; nothing was created.
The same, without the screen:
- API:
GET /api/v1/starter-packslists the packs,GET /api/v1/starter-packs/regulated_cstoreshows what installing would create and keep (nothing is written),POST /api/v1/starter-packs/regulated_cstore/installinstalls it — all of it, or with a body{"categories": ["LITTLE-CIGAR"], "collections": ["TOBACCO-CIGARS"]}only those and their parents (a list left out, ornull, is the whole of that tree). An unknown code is refused and named. - Command line:
erp starter list, anderp starter install regulated_cstore --entity <slug or id>. Runs as the system and prints what it created, what it kept, and which categories still wait for a tax category. - The assistant can say what a pack would add to your company — ask it "what would the smoke shop starter pack add?". It does not install one.
The demo
The demo company installs the Smoke shop and convenience store pack, and so does a client onboarded with
demo content (erp account onboard --demo): it is catalogue setup, like the
demo's collections and brands. Seven demo products (DEMO-C-…) take their categories
from it — a nicotine pouch, a CBD gummy, a hemp THC seltzer, a light cigar, a
candy bar, chips and a cola — and two of them are what catalogue health is for:
the seltzer is over the hemp THC limit and the cigar weighs less than a little
cigar's threshold. Onboarding with demo content still installs no state
directory.
Permissions
| Permission | Granted by default to | Covers |
|---|---|---|
starter_pack.install | Manager (Administrator holds every permission) | Installing a starter pack. Each category, collection and attribute also needs its own manage permission, which Manager has |
category.read | Everyone who reads items | Listing the packs and previewing one |
Common questions
I installed it and my own "Snacks" collection did not change. It was kept. The
pack's Snacks collection is the one with code SNACKS; a collection of yours with
that code is yours, and stays exactly as it is. A collection never carries a tax
category, so nothing about tax follows from it either way.
Can I install only part of it? No. Install it and retire what you do not use; nothing is in an empty collection.
A product in the category "Candy and gum" has no tax category. Your company has no tax category with the code CANDY_GUM yet. Install the Pennsylvania or Maryland tax pack, then install the starter pack again.