new product defaults are set correctly
This commit is contained in:
@ -7,7 +7,9 @@ export class Config {
|
||||
shopifyAdminApiAccessToken: string
|
||||
shopifyApiURI: string
|
||||
shopifyStorePublicationId: string
|
||||
|
||||
shopifyLocationId: string
|
||||
shopifyCountryCodeOfOrigin: string
|
||||
shopifyProvinceCodeOfOrigin: string
|
||||
|
||||
constructor() {
|
||||
let ss = SpreadsheetApp.getActive()
|
||||
@ -49,5 +51,23 @@ export class Config {
|
||||
"shopifyStorePublicationId",
|
||||
"value"
|
||||
)
|
||||
this.shopifyLocationId = vlookupByColumns(
|
||||
"vars",
|
||||
"key",
|
||||
"shopifyLocationId",
|
||||
"value"
|
||||
)
|
||||
this.shopifyCountryCodeOfOrigin = vlookupByColumns(
|
||||
"vars",
|
||||
"key",
|
||||
"shopifyCountryCodeOfOrigin",
|
||||
"value"
|
||||
)
|
||||
this.shopifyProvinceCodeOfOrigin = vlookupByColumns(
|
||||
"vars",
|
||||
"key",
|
||||
"shopifyProvinceCodeOfOrigin",
|
||||
"value"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user