Enhance logging system with detailed product tracking and console cleanup
- Added comprehensive product logging to match order detail level - Moved all debug console messages to proper log files - Added JSON structure analysis logging for both products and orders - Enhanced per-page progress tracking with counts and warnings - Unified logging format with [PRODUCTS] and [ORDERS] prefixes - Removed SET STEP ON debug statement - All debug information now properly logged instead of console output 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
208
orders-example.json
Normal file
208
orders-example.json
Normal file
@@ -0,0 +1,208 @@
|
||||
{
|
||||
"total": "399",
|
||||
"page": "1",
|
||||
"pages": 4,
|
||||
"orders": {
|
||||
"60644": {
|
||||
"id": "60644",
|
||||
"number": "436232189",
|
||||
"date": "2025-08-27 16:32:43",
|
||||
"invoice": {
|
||||
"series": "",
|
||||
"number": "0",
|
||||
"date": "0000-00-00 00:00:00"
|
||||
},
|
||||
"total": "1026.24",
|
||||
"status": "Comanda noua",
|
||||
"statusId": "1",
|
||||
"source": "internal",
|
||||
"sales_channel": "Website",
|
||||
"sales_channel_marketplace": "",
|
||||
"sales_agent": "",
|
||||
"currency": "RON",
|
||||
"observation": "",
|
||||
"payment": {
|
||||
"name": "Numerar/Ramburs sau Card la easybox",
|
||||
"online": "0",
|
||||
"completed": "0"
|
||||
},
|
||||
"delivery": {
|
||||
"name": "Transport gratuit",
|
||||
"total": 0,
|
||||
"date": "0000-00-00 00:00:00",
|
||||
"lockerId": 0
|
||||
},
|
||||
"shipping": {
|
||||
"company": "",
|
||||
"firstname": "Liviu",
|
||||
"lastname": "Stefan",
|
||||
"phone": "0751013764",
|
||||
"email": "liviustefan2001@gmail.com",
|
||||
"address": "aleea Soarelui nr 2, casa nr 4, cartier Brates Lake",
|
||||
"city": "Galați",
|
||||
"region": "Galati",
|
||||
"country": "Romania",
|
||||
"zipcode": null
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
"id": "582",
|
||||
"type": "product",
|
||||
"sku": "8000070028685",
|
||||
"ean": "8000070028685",
|
||||
"name": "Lavazza Gusto Forte Vending Cafea Boabe 1kg",
|
||||
"price": "69.79",
|
||||
"baseprice": "78",
|
||||
"vat": "11",
|
||||
"quantity": "10.00"
|
||||
},
|
||||
{
|
||||
"id": "589",
|
||||
"type": "product",
|
||||
"sku": "5941623010333",
|
||||
"ean": "5941623010333",
|
||||
"name": "Doncafe Espresso Intense Cafea Boabe 1 kg",
|
||||
"price": "56.49",
|
||||
"baseprice": "62",
|
||||
"vat": "11",
|
||||
"quantity": "2.00"
|
||||
},
|
||||
{
|
||||
"id": "512",
|
||||
"type": "product",
|
||||
"sku": "82",
|
||||
"ean": "",
|
||||
"name": "Zahar Plic Lavazza 200buc",
|
||||
"price": "10.99",
|
||||
"baseprice": "14",
|
||||
"vat": "21",
|
||||
"quantity": "5.00"
|
||||
},
|
||||
{
|
||||
"id": "671",
|
||||
"type": "product",
|
||||
"sku": "312349",
|
||||
"ean": "",
|
||||
"name": "Palete manuale din lemn 110mm 1000buc",
|
||||
"price": "7.99",
|
||||
"baseprice": "10.5",
|
||||
"vat": "21",
|
||||
"quantity": "2.00"
|
||||
},
|
||||
{
|
||||
"id": "554",
|
||||
"type": "product",
|
||||
"sku": "8004990127091",
|
||||
"ean": "8004990127091",
|
||||
"name": "Ristora Ciocolată Instant 1kg",
|
||||
"price": "25.99",
|
||||
"baseprice": "28",
|
||||
"vat": "21",
|
||||
"quantity": "2.00"
|
||||
},
|
||||
{
|
||||
"id": "567",
|
||||
"type": "product",
|
||||
"sku": "8004990125530",
|
||||
"ean": "8004990125530",
|
||||
"name": "Prolait Topping Blue Lapte Granulat 500g",
|
||||
"price": "18.49",
|
||||
"baseprice": "23",
|
||||
"vat": "21",
|
||||
"quantity": "5.00"
|
||||
}
|
||||
],
|
||||
"billing": {
|
||||
"firstname": "Liviu",
|
||||
"lastname": "Stefan",
|
||||
"phone": "0751013764",
|
||||
"email": "liviustefan2001@gmail.com",
|
||||
"address": "aleea Soarelui nr 2, casa nr 4, cartier Brates Lake",
|
||||
"city": "Galați",
|
||||
"region": "Galati",
|
||||
"country": "Romania",
|
||||
"customerId": "5997"
|
||||
},
|
||||
"discounts": [
|
||||
],
|
||||
"updated": "2025-08-27 16:32:43"
|
||||
},
|
||||
"60643": {
|
||||
"id": "60643",
|
||||
"number": "436232175",
|
||||
"date": "2025-08-27 16:19:29",
|
||||
"invoice": {
|
||||
"series": "",
|
||||
"number": "0",
|
||||
"date": "0000-00-00 00:00:00"
|
||||
},
|
||||
"total": "359.4",
|
||||
"status": "Comanda noua",
|
||||
"statusId": "1",
|
||||
"source": "internal",
|
||||
"sales_channel": "Website",
|
||||
"sales_channel_marketplace": "",
|
||||
"sales_agent": "",
|
||||
"currency": "RON",
|
||||
"observation": "",
|
||||
"payment": {
|
||||
"name": "Numerar/Ramburs sau Card la easybox",
|
||||
"online": "0",
|
||||
"completed": "0"
|
||||
},
|
||||
"delivery": {
|
||||
"name": "Transport National",
|
||||
"total": 30,
|
||||
"date": "0000-00-00 00:00:00",
|
||||
"lockerId": 0
|
||||
},
|
||||
"shipping": {
|
||||
"company": "",
|
||||
"firstname": "Alexandra",
|
||||
"lastname": "TONE",
|
||||
"phone": "0763571486",
|
||||
"email": "aristocratgaminggr@gmail.com",
|
||||
"address": "Str. Garii, Nr. 102",
|
||||
"city": "Giurgiu",
|
||||
"region": "Giurgiu",
|
||||
"country": "Romania",
|
||||
"zipcode": null
|
||||
},
|
||||
"items": [
|
||||
{
|
||||
"id": "279",
|
||||
"type": "product",
|
||||
"sku": "30006ozLavazza",
|
||||
"ean": "",
|
||||
"name": "Pahar carton 6oz Lavazza RLP bax 3000buc",
|
||||
"price": "329.4",
|
||||
"baseprice": "360",
|
||||
"vat": "21",
|
||||
"quantity": "1.00"
|
||||
}
|
||||
],
|
||||
"billing": {
|
||||
"company": {
|
||||
"name": "ARISTOCRAT GAMING SRL",
|
||||
"code": "32128076",
|
||||
"registrationNo": "J27/487/2013",
|
||||
"bank": "",
|
||||
"iban": ""
|
||||
},
|
||||
"firstname": "Alexandra",
|
||||
"lastname": "TONE",
|
||||
"phone": "0763571486",
|
||||
"email": "aristocratgaminggr@gmail.com",
|
||||
"address": "Aleea Revolutiei, Spatiul Comercial Nr.32",
|
||||
"city": "Roman",
|
||||
"region": "Neamt",
|
||||
"country": "Romania",
|
||||
"customerId": "12283"
|
||||
},
|
||||
"discounts": [
|
||||
],
|
||||
"updated": "2025-08-27 16:19:29"
|
||||
}
|
||||
},
|
||||
"shippingAsProduct": false
|
||||
}
|
||||
Reference in New Issue
Block a user