**What:** Introduces a store endpoint to retrieve a list of product categories **Why:** This is part of a greater goal of allowing products to be added to multiple categories. **How:** - Creates an endpoint in store routes RESOLVES CORE-968
This commit is contained in:
@@ -17,6 +17,8 @@ import {
|
||||
@Entity()
|
||||
@Tree("materialized-path")
|
||||
export class ProductCategory extends SoftDeletableEntity {
|
||||
static treeRelations = ["parent_category", "category_children"]
|
||||
|
||||
@Column()
|
||||
name: string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user