update
This commit is contained in:
1 parent
540aa48c44
commit
bd81f4ff54
8 files changed
+322
-4
No files matched your search
@@ -59,6 +59,10 @@ type Schema struct {
|
||||
InventoryTrackedF string `json:"inventory_tracked_field,omitempty"`
|
||||
DropShipF string `json:"drop_ship_field,omitempty"`
|
||||
CategoryField string `json:"category_field,omitempty"`
|
||||
Category2Field string `json:"category2_field,omitempty"`
|
||||
Category3Field string `json:"category3_field,omitempty"`
|
||||
Category4Field string `json:"category4_field,omitempty"`
|
||||
Category5Field string `json:"category5_field,omitempty"`
|
||||
BrandField string `json:"brand_field,omitempty"`
|
||||
ImageField string `json:"image_field,omitempty"`
|
||||
// AttributesFields names the keys in the source map[string]any that
|
||||
@@ -125,6 +129,10 @@ func DefaultSchema() Schema {
|
||||
InventoryTrackedF: "inventory_tracked",
|
||||
DropShipF: "drop_ship",
|
||||
CategoryField: "category",
|
||||
Category2Field: "category2",
|
||||
Category3Field: "category3",
|
||||
Category4Field: "category4",
|
||||
Category5Field: "category5",
|
||||
BrandField: "brand",
|
||||
ImageField: "image",
|
||||
// Standard product service carries the integer catalog id under "id".
|
||||
@@ -165,6 +173,10 @@ func BygglagretSchema() Schema {
|
||||
InventoryTrackedF: "StockTracked",
|
||||
DropShipF: "DropshipFlag",
|
||||
CategoryField: "CategoryPath",
|
||||
Category2Field: "Category2",
|
||||
Category3Field: "Category3",
|
||||
Category4Field: "Category4",
|
||||
Category5Field: "Category5",
|
||||
BrandField: "Brand",
|
||||
ImageField: "PrimaryImage",
|
||||
ItemIdField: "item_id",
|
||||
|
||||
Reference in new issue
Block a user