DeeMcCart / CI_PP5_Jeweller

Jewellery website for CI Project 5
0 stars 2 forks source link

User Story: FTU_09, SO_08 Filter the product view by (configurable) categories #31

Closed DeeMcCart closed 6 months ago

DeeMcCart commented 6 months ago

EPIC: #24 #34

FTU09: As a First-Time User I want to filter my product view to see only what I'm interested in (e.g. particular metals, stones, colours, particular occasions) (Preferably filter by multiple categories) SO_08 As System Owner I want to create and maintain product categories to assist in sorting and filtering for users

Assumptions or Pre-Requisites:

Acceptance Criteria: (Must be completed before task is moved to 'Done')

Tasks

DeeMcCart commented 6 months ago

31/01/24 - working on Product & Category models to fulfill pre-requisites - kind of understand better whats needed by populating with data and tweaking the structures to better meet this requirement. Need to work on the Views because we need a function that returns a list of categories which should be displayed. these then need to be used for filtering so need to be used to build a parameter string. Interim - for today - build in the filters to nav-secondary.html based on pre-defined data and test them.

DMcC 14/02/24: Reviewed this requirement again having worked with configurable categories for the past few weeks - actually a bit of a pain as I've introduced multiple additional models, and also discovered that the existing 'q' search is pretty powerful and can find words like 'gold' or 'turqouise' or even colour 'blue' better than having specific filters for these. So removed all except 3 categories on the product - type, leadtime, stocktype. Workaround implemented for acceptance criteria as follows: Would like to be able to show/offer on sysadmin-defined category names: High maintenance overhead without delivering alue - No longer required Must be able to filter on sysadmin-defined category values e.g. item type, metal, stone, colour, etc: (Better) workaround - use product search Need a sysadmin maintenance page to allow editing and setting of these categories: (Beter workaround) - 3 category fields remain on product and all Product sysadmin done via Product maintenance grid #35

DMcC 15/02/24: Added a category maintenance option for Sysadmin. Can now access the admin portal for that specific cat table or value. Image

Image

Image