Category Management
Overview
Section titled “Overview”DealAI.lt uses a hierarchical category system for organizing products into a tree structure.
Features
Section titled “Features”- Hierarchical Structure: Parent-child relationships
- Category Paths: Full path tracking
- Product Counts: Denormalized counts
- Category Search: Find categories quickly
Database Schema
Section titled “Database Schema”Table: core_category
Self-referencing table with parent_id for tree structure.
Implementation
Section titled “Implementation”Component: /template-parts/category-selector.php
Dynamic category selector with AJAX loading and search functionality.
Next Steps
Section titled “Next Steps”- Database - Schema details