Files
kupshop/bundles/KupShop/AdminBundle/Tests/SplitProductVariationsActionTest.json
2025-08-02 16:30:27 +02:00

537 lines
11 KiB
JSON

{
"products_variations" : [
{
"id" : 9,
"id_product" : 2,
"code" : "CODE1",
"ean" : 111,
"title" : "Velikost: 40",
"in_store" : 2,
"delivery_time" : -1,
"price" : 1337.0000,
"figure" : "Y",
"updated" : "2021-02-08 14:11:23",
"date_added" : "2021-02-08 14:11:23",
"note" : "note1",
"weight" : 20.0000,
"price_buy" : 100.0000,
"bonus_points" : 1,
"width" : 1.0000,
"height" : 2.0000,
"depth" : 3.0000,
"pohoda_sync_date" : null
},
{
"id" : 10,
"id_product" : 2,
"code" : "CODE2",
"ean" : 222,
"title" : "Velikost: 41",
"in_store" : 3,
"delivery_time" : -1,
"price" : null,
"figure" : "Y",
"updated" : "2021-02-08 14:11:23",
"date_added" : "2021-02-08 14:11:23",
"note" : "note2",
"weight" : 21.0000,
"price_buy" : 101.0000,
"bonus_points" : 2,
"width" : 4.0000,
"height" : 5.0000,
"depth" : 6.0000,
"pohoda_sync_date" : null
},
{
"id" : 11,
"id_product" : 2,
"code" : "CODE3",
"ean" : 333,
"title" : "Velikost: 42",
"in_store" : 0,
"delivery_time" : -2,
"price" : null,
"figure" : "Y",
"updated" : "2021-02-08 14:11:23",
"date_added" : "2021-02-08 14:11:23",
"note" : "note3",
"weight" : 22.0000,
"price_buy" : 102.0000,
"bonus_points" : 3,
"width" : 7.0000,
"height" : 8.0000,
"depth" : 9.0000,
"pohoda_sync_date" : null
},
{
"id" : 12,
"id_product" : 2,
"code" : "CODE4",
"ean" : 444,
"title" : "Velikost: 43",
"in_store" : 4,
"delivery_time" : -1,
"price" : 100.0000,
"figure" : "Y",
"updated" : "2021-02-08 14:11:23",
"date_added" : "2021-02-08 14:11:23",
"note" : "note4",
"weight" : 23.0000,
"price_buy" : 103.0000,
"bonus_points" : 4,
"width" : 10.0000,
"height" : 11.0000,
"depth" : 12.0000,
"pohoda_sync_date" : null
},
{
"id" : 17,
"id_product" : 6,
"code" : "CODE5",
"ean" : 555,
"title" : "Velikost: 40",
"in_store" : 5,
"delivery_time" : 0,
"price" : 2000,
"figure" : "Y",
"updated" : "2021-02-08 14:11:23",
"date_added" : "2021-02-08 14:11:23",
"note" : "note5",
"weight" : 24.0000,
"price_buy" : 104.0000,
"bonus_points" : 5,
"width" : 13.0000,
"height" : 14.0000,
"depth" : 15.0000,
"pohoda_sync_date" : null
},
{
"id" : 18,
"id_product" : 6,
"code" : "CODE6",
"ean" : 666,
"title" : "Velikost: 41",
"in_store" : 3,
"delivery_time" : 0,
"price" : 1000.0,
"figure" : "Y",
"updated" : "2021-02-08 14:11:23",
"date_added" : "2021-02-08 14:11:23",
"note" : "note6",
"weight" : 25.0000,
"price_buy" : 105.0000,
"bonus_points" : 6,
"width" : 16.0000,
"height" : 17.0000,
"depth" : 18.0000,
"pohoda_sync_date" : null
},
{
"id" : 19,
"id_product" : 6,
"code" : "CODE7",
"ean" : 777,
"title" : "Velikost: 44",
"in_store" : 11,
"delivery_time" : 0,
"price" : null,
"figure" : "Y",
"updated" : "2021-02-08 14:11:23",
"date_added" : "2021-02-08 14:11:23",
"note" : "note7",
"weight" : 26.0000,
"price_buy" : 106.0000,
"bonus_points" : 7,
"width" : 19.0000,
"height" : 20.0000,
"depth" : 21.0000,
"pohoda_sync_date" : null
}
],
"stores" : [
{
"id" : 1,
"name" : "Hlavní sklad",
"id_delivery" : null,
"id_base_position" : null,
"type" : 1,
"id_return_table" : null
},
{
"id" : 2,
"name" : "Prodejna",
"id_delivery" : null,
"id_base_position" : null,
"type" : 0,
"id_return_table" : null
}
],
"stores_items" : [
{
"id" : 1,
"id_store" : 2,
"id_product" : 2,
"id_variation" : 12,
"quantity" : 2,
"min_quantity" : 1
},
{
"id" : 2,
"id_store" : 2,
"id_product" : 2,
"id_variation" : 10,
"quantity" : 2,
"min_quantity" : 1
},
{
"id" : 339437,
"id_store" : 1,
"id_product" : 1,
"id_variation" : null,
"quantity" : 0,
"min_quantity" : 0
},
{
"id" : 339438,
"id_store" : 1,
"id_product" : 2,
"id_variation" : 9,
"quantity" : 2,
"min_quantity" : 0
},
{
"id" : 339439,
"id_store" : 1,
"id_product" : 2,
"id_variation" : 10,
"quantity" : 1,
"min_quantity" : 0
},
{
"id" : 339440,
"id_store" : 1,
"id_product" : 2,
"id_variation" : 11,
"quantity" : 0,
"min_quantity" : 0
},
{
"id" : 339441,
"id_store" : 1,
"id_product" : 2,
"id_variation" : 12,
"quantity" : 2,
"min_quantity" : 0
},
{
"id" : 339442,
"id_store" : 1,
"id_product" : 3,
"id_variation" : null,
"quantity" : -1,
"min_quantity" : 0
},
{
"id" : 339443,
"id_store" : 1,
"id_product" : 4,
"id_variation" : null,
"quantity" : 5,
"min_quantity" : 0
},
{
"id" : 339444,
"id_store" : 1,
"id_product" : 5,
"id_variation" : null,
"quantity" : 3,
"min_quantity" : 0
},
{
"id" : 339445,
"id_store" : 1,
"id_product" : 6,
"id_variation" : 17,
"quantity" : 5,
"min_quantity" : 0
},
{
"id" : 339446,
"id_store" : 1,
"id_product" : 6,
"id_variation" : 18,
"quantity" : 3,
"min_quantity" : 0
},
{
"id" : 339447,
"id_store" : 1,
"id_product" : 6,
"id_variation" : 19,
"quantity" : 11,
"min_quantity" : 0
},
{
"id" : 339448,
"id_store" : 1,
"id_product" : 7,
"id_variation" : null,
"quantity" : 2,
"min_quantity" : 0
},
{
"id" : 339449,
"id_store" : 1,
"id_product" : 8,
"id_variation" : null,
"quantity" : 0,
"min_quantity" : 0
},
{
"id" : 339450,
"id_store" : 1,
"id_product" : 9,
"id_variation" : null,
"quantity" : 19,
"min_quantity" : 0
},
{
"id" : 339451,
"id_store" : 1,
"id_product" : 10,
"id_variation" : null,
"quantity" : -1,
"min_quantity" : 0
},
{
"id" : 339452,
"id_store" : 1,
"id_product" : 11,
"id_variation" : null,
"quantity" : 23,
"min_quantity" : 0
}
],
"warehouse_products" : [
{
"id_product" : 2,
"id_variation" : 12,
"id_position" : 14,
"inventory_date" : null,
"pieces" : 2,
"over_supply" : "N"
},
{
"id_product" : 2,
"id_variation" : 11,
"id_position" : 14,
"inventory_date" : null,
"pieces" : 2,
"over_supply" : "N"
},
{
"id_product" : 6,
"id_variation" : 17,
"id_position" : 14,
"inventory_date" : null,
"pieces" : 2,
"over_supply" : "N"
},
{
"id_product" : 6,
"id_variation" : 19,
"id_position" : 14,
"inventory_date" : null,
"pieces" : 2,
"over_supply" : "N"
}
],
"order_items" : [
{
"id" : 50,
"id_order" : 2,
"id_product" : 2,
"id_variation" : 12,
"pieces" : 1,
"pieces_reserved" : 1,
"piece_price" : 661.1570,
"total_price" : 661.1570,
"descr" : "Wilson pure battle crew",
"tax" : 21,
"date" : null,
"note" : "",
"discount" : 0.0000,
"pohoda_id" : null
},
{
"id" : 51,
"id_order" : 2,
"id_product" : 2,
"id_variation" : 11,
"pieces" : 1,
"pieces_reserved" : 1,
"piece_price" : 661.1570,
"total_price" : 661.1570,
"descr" : "Wilson pure battle crew",
"tax" : 21,
"date" : null,
"note" : "",
"discount" : 0.0000,
"pohoda_id" : null
}
],
"products_variations_choices_labels" : [
{
"id" : 11,
"label" : "Velikost"
},
{
"id" : 12,
"label" : "Objem"
}
],
"products_variations_choices_categorization" : [
{
"id_product" : 2,
"id_label" : 11,
"list_order" : 0
},
{
"id_product" : 6,
"id_label" : 11,
"list_order" : 0
},
{
"id_product" : 6,
"id_label" : 12,
"list_order" : 1
}
],
"products_variations_choices_values" : [
{
"id" : 103,
"id_label" : 11,
"value" : "40",
"code" : null,
"sort" : 0,
"filter_url" : "40",
"title" : null
},
{
"id" : 104,
"id_label" : 11,
"value" : "41",
"code" : null,
"sort" : 0,
"filter_url" : "41",
"title" : null
},
{
"id" : 105,
"id_label" : 11,
"value" : "42",
"code" : null,
"sort" : 0,
"filter_url" : "42",
"title" : null
},
{
"id" : 106,
"id_label" : 11,
"value" : "43",
"code" : null,
"sort" : 0,
"filter_url" : "43",
"title" : null
},
{
"id" : 107,
"id_label" : 11,
"value" : "44",
"code" : null,
"sort" : 0,
"filter_url" : "44",
"title" : null
},
{
"id" : 108,
"id_label" : 11,
"value" : "45",
"code" : null,
"sort" : 0,
"filter_url" : "45",
"title" : null
},
{
"id" : 109,
"id_label" : 12,
"value" : "10l",
"code" : null,
"sort" : 0,
"filter_url" : null,
"title" : null
},
{
"id" : 110,
"id_label" : 12,
"value" : "20l",
"code" : null,
"sort" : 0,
"filter_url" : null,
"title" : null
}
],
"products_variations_combination" : [
{
"id_variation" : 9,
"id_label" : 11,
"id_value" : 103
},
{
"id_variation" : 10,
"id_label" : 11,
"id_value" : 104
},
{
"id_variation" : 11,
"id_label" : 11,
"id_value" : 105
},
{
"id_variation" : 12,
"id_label" : 11,
"id_value" : 106
},
{
"id_variation" : 17,
"id_label" : 11,
"id_value" : 103
},
{
"id_variation" : 18,
"id_label" : 11,
"id_value" : 104
},
{
"id_variation" : 19,
"id_label" : 11,
"id_value" : 107
},
{
"id_variation" : 17,
"id_label" : 12,
"id_value" : 109
},
{
"id_variation" : 18,
"id_label" : 12,
"id_value" : 109
},
{
"id_variation" : 19,
"id_label" : 12,
"id_value" : 110
}
]
}