About Services Tools Blog Contact us

Catalogue Attribute and Sort Rules

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
School Waterproof Season

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
StyleWhoDescriptionTags
Harbour court Child Autumn school court shoe No use yet Waterproof empty
Elm buckle Child School buckle, new season Blank
Ridge welly Child Waterproof welly Blank
Orchard sandal Child Summer sandal No season yet Waterproof empty
Field brogue Adult Autumn leather brogue Blank
White plimsoll Child Summer school plimsoll Blank
Quay trainer Child Waterproof school trainer, spring Blank
Canal deck Adult Summer boat shoe Blank
City oxford Adult Oxford for a school-leaver Blank
Cedar ankle Adult Pull-on ankle boot 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.

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

Dictionary and calendar

Lines in use
School Waterproof Season
Season calendar
SeasonOpensKeyword
Spring1 Febspring
Summer1 Maysummer
Autumn1 AugautumnLive
Winter1 Novwinter
Unmatched
Cedar ankle

Description: Pull-on ankle boot. Nothing in the dictionary matches.

Needs a rule
New fastening line

How it works

  1. Read new and changed styles, their descriptions and the season calendar.
  2. Apply the filter word list to fill season, use and feature tags.
  3. Remove empty filter values from each style.
  4. Work out the sort order inside each category.
  5. 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]