Commit 22e0e178 authored by Sven Franck's avatar Sven Franck

data: added subject to product portal_type

parent d6f5629a
...@@ -372,6 +372,47 @@ ...@@ -372,6 +372,47 @@
} }
} }
}, },
"subject": {
"type": "StringField",
"widget": {
"id": "subject",
"title": "Subject",
"title_i18n": "portal_type_dict.product_dict.field_dict.subject.title",
"description": "Whether this article is a bestseller or other subject.",
"description_i18n": "portal_type_dict.product_dict.field_dict.subject.description",
"alternate_name": "subject",
"default_value": null,
"css_class": null,
"hidden": false,
"display_width": 30,
"maximum_input": null,
"extra": {}
},
"properties": {
"enabled": true,
"editable": true,
"external_validator": null,
"required": true,
"preserve_whitespace": null,
"unicode": null,
"maximum_length": null,
"truncate": null
},
"messages": {
"external_validator_failed": {
"message": "The input failed the external validator.",
"i18n": "validation_dict.external"
},
"required_not_found": {
"message": "Input is required but no input given.",
"i18n": "validation_dict.required"
},
"too_long": {
"message":"Too much input given.",
"i18n": "validation_dict.too_much_input"
}
}
},
"date_created": { "date_created": {
"type":"DateTimeField", "type":"DateTimeField",
"widget": { "widget": {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_004", "group": "cat_004",
"category": "cat_020", "category": "cat_020",
"currency": "Euro", "currency": "",
"material": "leather", "material": "leather",
"features": "zip, ceinture", "features": "zip, ceinture",
"dimension": "33.0cm", "dimension": "33.0cm",
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
"weight": "", "weight": "",
"price": 240, "price": 240,
"size_range": "set_023", "size_range": "set_023",
"variation_list": ["var_001"] "variation_list": ["var_001"],
"subject": ""
}, { }, {
"_id": "pro_118", "_id": "pro_118",
"brand": "Eleven Paris", "brand": "Eleven Paris",
...@@ -30,7 +31,7 @@ ...@@ -30,7 +31,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_014", "category": "cat_014",
"currency": "Euro", "currency": "",
"material": "50% Cotton 50%Modal", "material": "50% Cotton 50%Modal",
"features": "", "features": "",
"dimensions": "33.0cm", "dimensions": "33.0cm",
...@@ -38,7 +39,8 @@ ...@@ -38,7 +39,8 @@
"weight": "", "weight": "",
"price": 35, "price": 35,
"size_range": "set_025", "size_range": "set_025",
"variation_list": ["var_002"] "variation_list": ["var_002"],
"subject": ""
}, { }, {
"_id": "pro_119", "_id": "pro_119",
"brand": "Eleven Paris", "brand": "Eleven Paris",
...@@ -50,7 +52,7 @@ ...@@ -50,7 +52,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_016", "category": "cat_016",
"currency": "Euro", "currency": "",
"material": "50% Cotton 50%Modal", "material": "50% Cotton 50%Modal",
"features": "", "features": "",
"dimensions": "", "dimensions": "",
...@@ -58,7 +60,8 @@ ...@@ -58,7 +60,8 @@
"weight": "", "weight": "",
"price": 40, "price": 40,
"size_range": "set_025", "size_range": "set_025",
"variation_list": ["var_034", "var_035"] "variation_list": ["var_034", "var_035"],
"subject": ""
}, { }, {
"_id": "pro_665", "_id": "pro_665",
"brand": "See U Soon", "brand": "See U Soon",
...@@ -70,7 +73,7 @@ ...@@ -70,7 +73,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_012", "category": "cat_012",
"currency": "Euro", "currency": "",
"material": "100% Polyester", "material": "100% Polyester",
"features": "", "features": "",
"dimensions": "", "dimensions": "",
...@@ -78,7 +81,8 @@ ...@@ -78,7 +81,8 @@
"weight": "", "weight": "",
"price": 65, "price": 65,
"size_range": "set_032", "size_range": "set_032",
"variation_list": ["var_033"] "variation_list": ["var_033"],
"subject": ""
}, { }, {
"_id": "pro_143", "_id": "pro_143",
"brand": "See U Soon", "brand": "See U Soon",
...@@ -90,7 +94,7 @@ ...@@ -90,7 +94,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_014", "category": "cat_014",
"currency": "Euro", "currency": "",
"material": "100%Linen", "material": "100%Linen",
"features": "", "features": "",
"dimensions": "", "dimensions": "",
...@@ -98,7 +102,8 @@ ...@@ -98,7 +102,8 @@
"weight": "", "weight": "",
"price": 65, "price": 65,
"size_range": "set_025", "size_range": "set_025",
"variation_list":["var_031", "var_032"] "variation_list":["var_031", "var_032"],
"subject": ""
}, { }, {
"_id": "pro_128", "_id": "pro_128",
"brand": "Eleven Paris", "brand": "Eleven Paris",
...@@ -110,7 +115,7 @@ ...@@ -110,7 +115,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_015", "category": "cat_015",
"currency": "Euro", "currency": "",
"material": "", "material": "",
"features": "", "features": "",
"dimensions": "", "dimensions": "",
...@@ -118,7 +123,8 @@ ...@@ -118,7 +123,8 @@
"weight": "", "weight": "",
"price": 98, "price": 98,
"size_range": "set_032", "size_range": "set_032",
"variation_list": ["var_028", "var_029", "var_030"] "variation_list": ["var_028", "var_029", "var_030"],
"subject": ""
}, { }, {
"_id": "pro_247", "_id": "pro_247",
"brand": "Part Two", "brand": "Part Two",
...@@ -130,7 +136,7 @@ ...@@ -130,7 +136,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_016", "category": "cat_016",
"currency": "Euro", "currency": "",
"material": "", "material": "",
"features": "", "features": "",
"dimensions": "", "dimensions": "",
...@@ -138,7 +144,8 @@ ...@@ -138,7 +144,8 @@
"weight": "", "weight": "",
"price": 99.95, "price": 99.95,
"size_range": "set_038", "size_range": "set_038",
"variation_list": ["var_027"] "variation_list": ["var_027"],
"subject": ""
}, { }, {
"_id": "pro_651", "_id": "pro_651",
"brand": "Part Two", "brand": "Part Two",
...@@ -150,7 +157,7 @@ ...@@ -150,7 +157,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_012", "category": "cat_012",
"currency": "Euro", "currency": "",
"material": "100% SILK", "material": "100% SILK",
"features": "", "features": "",
"dimensions": "", "dimensions": "",
...@@ -158,7 +165,8 @@ ...@@ -158,7 +165,8 @@
"weight": "", "weight": "",
"price": 89, "price": 89,
"size_range": "set_032", "size_range": "set_032",
"variation_list": ["var_026"] "variation_list": ["var_026"],
"subject": ""
}, { }, {
"_id": "pro_595", "_id": "pro_595",
"brand": "See U Soon", "brand": "See U Soon",
...@@ -170,7 +178,7 @@ ...@@ -170,7 +178,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_014", "category": "cat_014",
"currency": "Euro", "currency": "",
"material": "100% SILK", "material": "100% SILK",
"features": "", "features": "",
"dimensions": "", "dimensions": "",
...@@ -178,7 +186,8 @@ ...@@ -178,7 +186,8 @@
"weight": "", "weight": "",
"price": 45, "price": 45,
"size_range": "set_032", "size_range": "set_032",
"variation_list": ["var_025"] "variation_list": ["var_025"],
"subject": "best"
}, { }, {
"_id": "pro_78", "_id": "pro_78",
"brand": "Marie Sixtine", "brand": "Marie Sixtine",
...@@ -190,7 +199,7 @@ ...@@ -190,7 +199,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_014", "category": "cat_014",
"currency": "Euro", "currency": "",
"material": "", "material": "",
"features": "", "features": "",
"dimensions": "", "dimensions": "",
...@@ -198,7 +207,8 @@ ...@@ -198,7 +207,8 @@
"weight": "", "weight": "",
"price": 45, "price": 45,
"size_range": "set_025", "size_range": "set_025",
"variation_list": ["var_023", "var_024"] "variation_list": ["var_023", "var_024"],
"subject": ""
}, { }, {
"_id": "pro_721", "_id": "pro_721",
"brand": "Nat et Nin", "brand": "Nat et Nin",
...@@ -210,7 +220,7 @@ ...@@ -210,7 +220,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_004", "group": "cat_004",
"category": "cat_019", "category": "cat_019",
"currency": "Euro", "currency": "",
"material": "Leather", "material": "Leather",
"features": "Zip , Ceinture", "features": "Zip , Ceinture",
"dimensions": "12.5cm", "dimensions": "12.5cm",
...@@ -218,7 +228,8 @@ ...@@ -218,7 +228,8 @@
"weight": "", "weight": "",
"price": 90, "price": 90,
"size_range": "set_023", "size_range": "set_023",
"variation_list": ["var_019", "var_020", "var_021", "var_022"] "variation_list": ["var_019", "var_020", "var_021", "var_022"],
"subject": ""
}, { }, {
"_id": "pro_588", "_id": "pro_588",
"brand": "Caroline Vermeille", "brand": "Caroline Vermeille",
...@@ -230,7 +241,7 @@ ...@@ -230,7 +241,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_018", "category": "cat_018",
"currency": "Euro", "currency": "",
"material": "", "material": "",
"features": "", "features": "",
"dimensions": "Largeur: 63.0 cm", "dimensions": "Largeur: 63.0 cm",
...@@ -238,7 +249,8 @@ ...@@ -238,7 +249,8 @@
"weight": "", "weight": "",
"price": 59.95, "price": 59.95,
"size_range": "set_023", "size_range": "set_023",
"variation_list": ["var_017", "var_018"] "variation_list": ["var_017", "var_018"],
"subject": "best"
}, { }, {
"_id": "pro_139", "_id": "pro_139",
"brand": "Eleven Paris", "brand": "Eleven Paris",
...@@ -250,7 +262,7 @@ ...@@ -250,7 +262,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_013", "category": "cat_013",
"currency": "Euro", "currency": "",
"material": "", "material": "",
"features": "", "features": "",
"dimensions": "", "dimensions": "",
...@@ -258,7 +270,8 @@ ...@@ -258,7 +270,8 @@
"weight": "", "weight": "",
"price": 130, "price": 130,
"size_range": "set_038", "size_range": "set_038",
"variation_list": ["var_016"] "variation_list": ["var_016"],
"subject": ""
}, { }, {
"_id": "pro_700", "_id": "pro_700",
"brand": "Nan et Nin", "brand": "Nan et Nin",
...@@ -270,7 +283,7 @@ ...@@ -270,7 +283,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_004", "group": "cat_004",
"category": "cat_020", "category": "cat_020",
"currency": "Euro", "currency": "",
"material": "Leather", "material": "Leather",
"features": "Zip , Ceinture", "features": "Zip , Ceinture",
"dimensions": "Hauteur: 24.0 cm", "dimensions": "Hauteur: 24.0 cm",
...@@ -278,7 +291,8 @@ ...@@ -278,7 +291,8 @@
"weight": "550.0g", "weight": "550.0g",
"price": 180, "price": 180,
"size_range": "set_023", "size_range": "set_023",
"variation_list": ["var_012", "var_013", "var_014", "var_015"] "variation_list": ["var_012", "var_013", "var_014", "var_015"],
"subject": ""
}, { }, {
"_id": "pro_317", "_id": "pro_317",
"brand": "Nan et Nin", "brand": "Nan et Nin",
...@@ -290,7 +304,7 @@ ...@@ -290,7 +304,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_004", "group": "cat_004",
"category": "cat_020", "category": "cat_020",
"currency": "Euro", "currency": "",
"material": "Leather", "material": "Leather",
"features": "Zip , Ceinture", "features": "Zip , Ceinture",
"dimensions": "", "dimensions": "",
...@@ -298,7 +312,8 @@ ...@@ -298,7 +312,8 @@
"weight": "", "weight": "",
"price": 180, "price": 180,
"size_range": "set_023", "size_range": "set_023",
"variation_list": ["var_007", "var_008", "var_009", "var_010", "var_011"] "variation_list": ["var_007", "var_008", "var_009", "var_010", "var_011"],
"subject": "best"
} , { } , {
"_id": "pro_521", "_id": "pro_521",
"brand": "Marie Sixtine", "brand": "Marie Sixtine",
...@@ -310,7 +325,7 @@ ...@@ -310,7 +325,7 @@
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_009", "category": "cat_009",
"currency": "Euro", "currency": "",
"material": "60%LAINE 40%TENCEL 100% SOIE ", "material": "60%LAINE 40%TENCEL 100% SOIE ",
"features": "", "features": "",
"dimensions": "", "dimensions": "",
...@@ -318,6 +333,8 @@ ...@@ -318,6 +333,8 @@
"weight": "", "weight": "",
"price": 95, "price": 95,
"size_range": "set_025", "size_range": "set_025",
"variation_list": ["var_006"],
"subject": ""
}, { }, {
"_id": "pro_138", "_id": "pro_138",
"brand": "Eleven Paris", "brand": "Eleven Paris",
...@@ -326,7 +343,7 @@ ...@@ -326,7 +343,7 @@
"default_image_path":"http://www.weinparis.com/product_module/138/27/default_image?format=jpg&display=large", "default_image_path":"http://www.weinparis.com/product_module/138/27/default_image?format=jpg&display=large",
"teaser_image_path": "", "teaser_image_path": "",
"rebate": 0, "rebate": 0,
"currency": "Euro", "currency": "",
"material": "", "material": "",
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
...@@ -337,7 +354,8 @@ ...@@ -337,7 +354,8 @@
"weight": "", "weight": "",
"price": 160, "price": 160,
"size_range": "set_025", "size_range": "set_025",
"variation_list": ["var_005"] "variation_list": ["var_005"],
"subject": ""
}, { }, {
"_id": "pro_133", "_id": "pro_133",
"brand": "Eleven Paris", "brand": "Eleven Paris",
...@@ -346,7 +364,7 @@ ...@@ -346,7 +364,7 @@
"default_image_path": "http://www.weinparis.com/product_module/133/27/default_image?format=jpg&display=large", "default_image_path": "http://www.weinparis.com/product_module/133/27/default_image?format=jpg&display=large",
"teaser_image_path": "", "teaser_image_path": "",
"rebate": 0, "rebate": 0,
"currency": "Euro", "currency": "",
"material": "", "material": "",
"features": "", "features": "",
"section": "cat_001", "section": "cat_001",
...@@ -357,7 +375,8 @@ ...@@ -357,7 +375,8 @@
"weight": "", "weight": "",
"price": 115, "price": 115,
"size_range": "set_025", "size_range": "set_025",
"variation_list": ["var_004"] "variation_list": ["var_004"],
"subject": "best"
}, { }, {
"_id": "pro_580", "_id": "pro_580",
"brand": "Darling", "brand": "Darling",
...@@ -366,7 +385,7 @@ ...@@ -366,7 +385,7 @@
"default_image_path": "http://www.weinparis.com/product_module/580/9/default_image?format=jpg&display=large", "default_image_path": "http://www.weinparis.com/product_module/580/9/default_image?format=jpg&display=large",
"teaser_image_path": "", "teaser_image_path": "",
"rebate": 0, "rebate": 0,
"currency": "Euro", "currency": "",
"section": "cat_001", "section": "cat_001",
"group": "cat_003", "group": "cat_003",
"category": "cat_009", "category": "cat_009",
...@@ -377,6 +396,7 @@ ...@@ -377,6 +396,7 @@
"weight": "", "weight": "",
"price": 95, "price": 95,
"size_range": "set_025", "size_range": "set_025",
"variation_list":["var_003"] "variation_list":["var_003"],
"subject": ""
} }
] ]
\ No newline at end of file
...@@ -130,6 +130,10 @@ ...@@ -130,6 +130,10 @@
"features": { "features": {
"title": "Features", "title": "Features",
"description": "The features of this product." "description": "The features of this product."
},
"subject": {
"title": "Subject",
"description": "Whether the article has a subject (e.g. bestseller)."
} }
} }
}, },
......
...@@ -130,6 +130,10 @@ ...@@ -130,6 +130,10 @@
"features": { "features": {
"title": "Traits", "title": "Traits",
"description": "Les caractéristiques de ce produit." "description": "Les caractéristiques de ce produit."
},
"subject": {
"title": "Sujet",
"description": "Si l'article a un sujet (par exemple, best-seller)."
} }
} }
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment