first commit
This commit is contained in:
144
bundles/KupShop/AdminBundle/Tests/ChangeURLTest.json
Normal file
144
bundles/KupShop/AdminBundle/Tests/ChangeURLTest.json
Normal file
@@ -0,0 +1,144 @@
|
||||
{
|
||||
"blocks": [
|
||||
{
|
||||
"id": 1,
|
||||
"id_root": null,
|
||||
"id_parent": null,
|
||||
"position": 0,
|
||||
"identifier": "",
|
||||
"name": "",
|
||||
"content": "<p style=\"text-align:center;\">V minulém roce představené jistítko <a href=\"https://www.kupshop.local/beal-jisteni-birdie-id3\"><strong>Beal Birdie</strong></a>",
|
||||
"json_content": ""
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"id_root": null,
|
||||
"id_parent": null,
|
||||
"position": 0,
|
||||
"identifier": "",
|
||||
"name": "",
|
||||
"content": "test",
|
||||
"json_content": "[{\"type\":\"legacy\",\"id\":\"511f33d5-7ab9-4332-85d7-0da723ed6240\",\"settings\":{\"html\":\"Test content <a href=\"https://www.kupshop.local/kratasy-a-3-4-kalhoty-58\">\"}}]"
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"id_root": null,
|
||||
"id_parent": null,
|
||||
"position": 0,
|
||||
"identifier": "",
|
||||
"name": "",
|
||||
"content": "Test content <a href=\"/kratasy-a-3-4-kalhoty-58999\">",
|
||||
"json_content": ""
|
||||
}
|
||||
],
|
||||
"rewrite": [
|
||||
{
|
||||
"id": 1,
|
||||
"url": "panske-obleceni-16",
|
||||
"type": 3,
|
||||
"related_id": 1
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"url": "kratasy-a-3-4-kalhoty-58",
|
||||
"type": 3,
|
||||
"related_id": 2
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"url": "beal-jisteni-birdie-id3",
|
||||
"type": 0,
|
||||
"related_id": 3
|
||||
}
|
||||
],
|
||||
"sections": [
|
||||
{
|
||||
"id": 1,
|
||||
"id_block": null,
|
||||
"name": "Muži",
|
||||
"name_short": "Muži",
|
||||
"figure": "Y",
|
||||
"behaviour": 0,
|
||||
"orderby": "sell",
|
||||
"orderdir": "DESC",
|
||||
"list_variations": "N",
|
||||
"lead_figure": "N",
|
||||
"lead_text": "",
|
||||
"lead_products": "",
|
||||
"photo": null,
|
||||
"meta_title": "",
|
||||
"meta_description": "",
|
||||
"meta_keywords": null,
|
||||
"feed_heureka": null,
|
||||
"feed_heureka_sk": null,
|
||||
"feed_google": null,
|
||||
"feed_glami": null,
|
||||
"flags": "",
|
||||
"feed_seznam": null,
|
||||
"producers_filter": "Y",
|
||||
"url": "muzi",
|
||||
"data": null,
|
||||
"virtual": "N"
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"id_block": null,
|
||||
"name": "Test2",
|
||||
"name_short": null,
|
||||
"figure": "N",
|
||||
"behaviour": 0,
|
||||
"orderby": "sell",
|
||||
"orderdir": "DESC",
|
||||
"list_variations": "N",
|
||||
"lead_figure": "N",
|
||||
"lead_text": "",
|
||||
"lead_products": "",
|
||||
"photo": null,
|
||||
"meta_title": "",
|
||||
"meta_description": "",
|
||||
"meta_keywords": null,
|
||||
"feed_heureka": null,
|
||||
"feed_heureka_sk": null,
|
||||
"feed_google": null,
|
||||
"feed_glami": null,
|
||||
"flags": "",
|
||||
"feed_seznam": null,
|
||||
"producers_filter": "Y",
|
||||
"url": "panske-kratasy",
|
||||
"data": null,
|
||||
"virtual": "N"
|
||||
}
|
||||
],
|
||||
"products": [
|
||||
{
|
||||
"id": 3,
|
||||
"title": "beal-jisteni-birdie",
|
||||
"code": "QO591",
|
||||
"ean": 1001,
|
||||
"short_descr": "Lorem ipsum dolor sit amet",
|
||||
"long_descr": "test",
|
||||
"parameters": "",
|
||||
"price": 826.4460,
|
||||
"price_common": 1200.0000,
|
||||
"vat": 1,
|
||||
"discount": 20.00,
|
||||
"producer": 12,
|
||||
"guarantee": 24,
|
||||
"in_store": 1,
|
||||
"pieces_sold": 0,
|
||||
"delivery_time": 0,
|
||||
"campaign": "N,L",
|
||||
"updated": "2015-02-16 11:18:43",
|
||||
"date_added": "2015-02-16 09:41:00",
|
||||
"figure": "Y",
|
||||
"show_raw_price": "N",
|
||||
"position": null,
|
||||
"meta_title": null,
|
||||
"meta_description": null,
|
||||
"meta_keywords": null,
|
||||
"show_in_feed": "N",
|
||||
"max_cpc": 0,
|
||||
"in_store_min": null
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user