Rules fill filters, end-use tags and sort order from each description and the season, then refresh the shop's category pages.
Stock & Inventory
Footwear retail
Scheduled worker
Productised
Hybrid
2025
The problem
Filters drifted and empty values stayed on the site. Season, school use and waterproofing were set by hand for every intake. Category grids sorted in the order styles happened to be created, so a parent filtering for school shoes could not trust the result.
What it does
A nightly run reads each description and the season calendar. It fills the filter values and end-use tags, removes empty values, sets the category sort order and refreshes the shop's category pages.
Outcomes
Season, school use and waterproofing are filled without a manual pass.
Empty filter values no longer show on the site.
Category grids follow the sort rules after each intake.
Simplified mockup
Interactive preview with sample data. Nothing is sent to a server.
Attribute fill
Dictionary
SchoolWaterproofSeason
School is stored on children’s styles and kept off the public filter when the style is adult. Empty waterproof values are dropped.
Intake is waiting
Styles in tonight’s intake
Style
Who
Description
Tags
Harbour court
Child
Autumn school court shoe
No use yetWaterproof emptySchoolAutumn
Elm buckle
Child
School buckle, new season
BlankSchoolAutumn
Ridge welly
Child
Waterproof welly
BlankWaterproof
Orchard sandal
Child
Summer sandal
No season yetWaterproof emptySummer
Field brogue
Adult
Autumn leather brogue
BlankAutumn
White plimsoll
Child
Summer school plimsoll
BlankSchoolSummer
Quay trainer
Child
Waterproof school trainer, spring
BlankSchoolWaterproofSpring
Canal deck
Adult
Summer boat shoe
BlankSummer
City oxford
Adult
Oxford for a school-leaver
BlankSchool hiddenadult filter
Cedar ankle
Adult
Pull-on ankle boot
Needs a rule
9 tagged2 waterproof empties dropped1 needs a rule
Children’s school grid
Order is creation date. Autumn is the live season, so a republish lifts that intake to the front.
Grid still in creation order
White plimsollSummer
Created 12 May
Quay trainerSpring
Created 3 Mar
Moss buckleSummer
Created 20 Jun
Ink courtAutumn
Created 28 Sep
Harbour courtAutumn
Created 2 Oct
Elm buckleAutumn
Created 4 Oct
Autumn intake sits first: Ink court, Harbour court, Elm buckle. Older spring and summer styles follow.
Dictionary and calendar
Lines in use
SchoolWaterproofSeason
Season calendar
Season
Opens
Keyword
Spring
1 Feb
spring
Summer
1 May
summer
Autumn
1 Aug
autumn
Live
Winter
1 Nov
winter
Unmatched
Cedar ankle
Description: Pull-on ankle boot. Nothing in the dictionary matches.
Needs a rule
New fastening line
Dictionary has three lines
Dictionary line added: Pull-on. Cedar ankle leaves the unmatched queue and picks up the fastening tag.
How it works
Read new and changed styles, their descriptions and the season calendar.
Apply the filter word list to fill season, use and feature tags.
Remove empty filter values from each style.
Work out the sort order inside each category.
Refresh the category pages.
Pipeline
flowchart LR
A[Description] --> B[Rules]
C[Season calendar] --> B
B --> D[Attributes]
B --> E[Drop empties]
D --> F[Sort order]
F --> G[Category grid]