stuff
This commit is contained in:
1 parent
5807132ac6
commit
ccb43808fa
4 files changed
+177
-8
No files matched your search
@@ -58,6 +58,15 @@ type Schema struct {
|
||||
TaxClassField string `json:"tax_class_field,omitempty"`
|
||||
InventoryTrackedF string `json:"inventory_tracked_field,omitempty"`
|
||||
DropShipF string `json:"drop_ship_field,omitempty"`
|
||||
// SellerIdField / SellerNameField name the source keys carrying the
|
||||
// drop-ship supplier identity. SellerId coerces to uint32 (0 = unset);
|
||||
// SellerName is the human-facing name checkout writes into order-line
|
||||
// Properties["supplier"]. Empty field = carrier not published.
|
||||
SellerIdField string `json:"seller_id_field,omitempty"`
|
||||
SellerNameField string `json:"seller_name_field,omitempty"`
|
||||
// LeadTimeField names the source key carrying supplier lead time in
|
||||
// days (numeric; fractional values floor). Empty = not published.
|
||||
LeadTimeField string `json:"lead_time_field,omitempty"`
|
||||
CategoryField string `json:"category_field,omitempty"`
|
||||
Category2Field string `json:"category2_field,omitempty"`
|
||||
Category3Field string `json:"category3_field,omitempty"`
|
||||
@@ -128,6 +137,9 @@ func DefaultSchema() Schema {
|
||||
TaxClassField: "tax_class",
|
||||
InventoryTrackedF: "inventory_tracked",
|
||||
DropShipF: "drop_ship",
|
||||
SellerIdField: "seller_id",
|
||||
SellerNameField: "seller_name",
|
||||
LeadTimeField: "lead_time_days",
|
||||
CategoryField: "category",
|
||||
Category2Field: "category2",
|
||||
Category3Field: "category3",
|
||||
|
||||
Reference in new issue
Block a user