omg this is working
This commit is contained in:
12
src/match.ts
Normal file
12
src/match.ts
Normal file
@ -0,0 +1,12 @@
|
||||
import { Shop } from "./shopifyApi"
|
||||
import { Product } from "./Product"
|
||||
|
||||
export function matchProductToShopify(row: number) {
|
||||
console.log("row: " + row)
|
||||
let product = new Product()
|
||||
console.log(product)
|
||||
product.ImportFromInventory(row)
|
||||
console.log(product)
|
||||
product.MatchToShopifyProduct(new Shop())
|
||||
console.log(product)
|
||||
}
|
||||
Reference in New Issue
Block a user