partial implementation of product update

This commit is contained in:
Ben Miller
2024-11-14 02:03:42 -07:00
parent 9b01d6de8a
commit 220ee45e22
5 changed files with 103 additions and 4 deletions

View File

@ -10,3 +10,15 @@ export function matchProductToShopify(row: number) {
product.MatchToShopifyProduct(new Shop())
console.log(product)
}
export function updateProductToShopify(row: number) {
console.log("row: " + row)
let product = new Product()
let shop = new Shop()
console.log(product)
product.ImportFromInventory(row)
console.log(product)
product.MatchToShopifyProduct(shop)
console.log(product)
product.UpdateShopifyProduct(shop)
}