Commit Graph

6 Commits

Author SHA1 Message Date
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
a5f9b1542c add queued and batched edits of products 2025-09-07 23:28:13 -06:00
9d234c77d9 create column-based onedit handler 2024-11-17 09:28:53 -07:00
d6d6af3c44 don't try to update if there is no SKU 2024-11-17 08:18:54 -07:00
9b01d6de8a use installed triggers
cannot call external services from default triggers
2024-11-14 00:50:05 -07:00