From bb357b4b57cf056b1a42b872d941352ebdffa173 Mon Sep 17 00:00:00 2001 From: larsec Date: Sun, 13 Apr 2025 21:26:37 +0000 Subject: [PATCH] Update entity/product_attribute.go --- entity/product_attribute.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/entity/product_attribute.go b/entity/product_attribute.go index 72d14cd..73633e3 100644 --- a/entity/product_attribute.go +++ b/entity/product_attribute.go @@ -2,10 +2,12 @@ package entity // ProductAttribute product attribute properties type ProductAttribute struct { - ID int `json:"id"` - Name string `json:"name"` - Slug string `json:"slug"` - Type string `json:"type"` - OrderBy string `json:"order_by"` - HasArchives bool `json:"has_archives"` + ID int `json:"id"` + Name string `json:"name"` + Slug string `json:"slug"` + Type string `json:"type"` + OrderBy string `json:"order_by"` + HasArchives bool `json:"has_archives"` + Visible bool `json:"visible,omitempty"` + Options []string `json:"options,omitempty"` }