|
|
b7fa2a21a9
|
debug: add exhaustive console.log to entire product import pipeline
Logs every step for each product:
- Job request received (shop, brand, selected IDs)
- Shopify token lookup (token, scope, locationId, fulfillmentService)
- Turn14 fetch (URL, HTTP status, item count, response time)
- Per-product: all attributes, inventory, fitment tags
- Collections: each title looked up/created with IDs
- Dedup check: handle existence
- productCreate: title, vendor, collections, media count
- Pricing: metafield config, base price, final price, markup
- Variant update: SKU, price, weight
- Publish: available publications, Online Store result
- Inventory: cost, activate at location, quantity set
- SEO: title and description
- Job completion summary: created/skipped/failed counts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-07-02 23:39:35 +05:30 |
|
|
|
6582ec5641
|
feat: add live import progress tracking with job store
- Add jobStore.js: in-memory job store with rich job objects (liveStats,
logs, errors, cancellation, timing, success rate)
- Rewrite manageProducts.js: structured logging ([STATS], [PRODUCT-OK],
[PRODUCT-FAIL], [SKIP], [FETCH], [CANCEL], etc.), per-product cancel
checks, jobStore integration
- server.js: expose GET /health, GET /jobs, GET /jobs/:id,
POST /jobs/:id/cancel, GET /shops endpoints
- tokenStore.js: add listTokens() export
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-06-10 02:22:58 +05:30 |
|