Commit Graph

13 Commits

Author SHA1 Message Date
7cb469ccf9 feat: enforce SKU validity, use SKU as handle
This commit enforces proper SKU validation, uses the SKU as the Shopify handle, and implements ID-based product updates to allow renaming. It also extracts the IShop interface for TDD.
2025-12-25 04:54:55 -07:00
85cdfe1443 feat: implement status automation and router pattern
- Implemented modular status automation system (statusHandlers.ts).
- Added handlers for 'Published' (Active/Qty 1), 'Sold' (Active/Qty 0), and 'Drafted'.
- Refactored onEdit triggers into a central Router pattern in OnEditHandler.ts.
- Updated Product.ts to support explicit quantity setting (fixed 0 value bug).
- Updated shopifyApi.ts to implement SetInventoryItemQuantity (using ignoreCompareQuantity).
- Consolidated triggers into single onEditHandler.
- Updated project documentation.
2025-12-24 23:55:28 -07:00
2d43c07546 feat: implement periodic shopify sales sync
- automated sales check (default 10 mins)

- manual reconciliation menu

- updates 'status' and 'shopify_status' in sheet

- updated docs
2025-12-24 22:08:12 -07:00
17e0c1b707 actually working dimension fields! 2025-08-03 02:08:09 -06:00
f738390d76 adding some type changes 2025-08-01 01:01:53 -06:00
5d0ae653fa new product defaults are set correctly 2024-11-17 06:57:03 -07:00
475eee70ea publish to online store 2024-11-16 20:26:34 -07:00
531da95091 fixes to create new products 2024-11-16 05:24:19 -07:00
6dd205dcbb I can update a row! 2024-11-16 04:51:23 -07:00
ca48bb6572 a little bit farther 2024-11-14 08:36:08 -07:00
220ee45e22 partial implementation of product update 2024-11-14 02:03:42 -07:00
a5c0a1176d omg this is working 2024-11-13 23:43:32 -07:00
fb86c9c96d able to pull Products using Shopify GraphQL API 2024-11-09 02:40:13 -07:00