Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
ecommerce-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
ecommerce-ui
Commits
a9b37ea6
Commit
a9b37ea6
authored
Apr 09, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data/lang: added creation date in product portal type
parent
e443883d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
78 additions
and
0 deletions
+78
-0
data/product_fieldlist.json
data/product_fieldlist.json
+51
-0
data/product_sample.json
data/product_sample.json
+19
-0
lang/en-EN/dict.json
lang/en-EN/dict.json
+4
-0
lang/fr-FR/dict.json
lang/fr-FR/dict.json
+4
-0
No files found.
data/product_fieldlist.json
View file @
a9b37ea6
...
...
@@ -372,6 +372,57 @@
}
}
},
"date_created"
:
{
"type"
:
"DateTimeField"
,
"widget"
:
{
"id"
:
"date_created"
,
"title"
:
"Creation Date"
,
"title_i18n"
:
"portal_type_dict.product_dict.field_dict.date_created.title"
,
"description"
:
"The date the product was created (YYYY/MM/DD)."
,
"description_i18n"
:
"portal_type_dict.product_dict.field_dict.date_created.description"
,
"alternate_name"
:
"date_created"
,
"default_value"
:
null
,
"css_class"
:
null
,
"hidden"
:
null
,
"default_to_know"
:
null
,
"data_separator"
:
null
,
"time_separator"
:
null
,
"input_style"
:
null
,
"input_order"
:
null
,
"display_date_only"
:
true
,
"am_pm time style"
:
null
,
"display_timezone"
:
null
,
"hide_day"
:
null
,
"hidden_day_is_last_day_of_the_month"
:
null
},
"properties"
:
{
"enabled"
:
true
,
"editable"
:
true
,
"external_validator"
:
null
,
"required"
:
null
,
"start_datetime"
:
null
,
"end_datetime"
:
null
,
"allow_empty_datetime"
:
null
},
"message"
:
{
"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"
},
"not_datetime"
:
{
"message"
:
"You did not enter a valid date and time."
,
"i18n"
:
"validation_dict.not_valid_datetime"
},
"datetime_out_of_range"
:
{
"message"
:
"The date and time you entered were out of range."
,
"i18n"
:
"validation_dict.out_of_range_datetime"
}
}
},
"default_image_path"
:
{
"type"
:
"StringField"
,
"widget"
:
{
...
...
data/product_sample.json
View file @
a9b37ea6
...
...
@@ -14,6 +14,7 @@
"material"
:
"leather"
,
"features"
:
"zip, ceinture"
,
"dimension"
:
"33.0cm"
,
"date_created"
:
"2013/10/24"
,
"weight"
:
""
,
"price"
:
240
,
"size_range"
:
"set_023"
,
...
...
@@ -33,6 +34,7 @@
"material"
:
"50% Cotton 50%Modal"
,
"features"
:
""
,
"dimensions"
:
"33.0cm"
,
"date_created"
:
"2013/09/01"
,
"weight"
:
""
,
"price"
:
35
,
"size_range"
:
"set_025"
,
...
...
@@ -52,6 +54,7 @@
"material"
:
"50% Cotton 50%Modal"
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2014/02/01"
,
"weight"
:
""
,
"price"
:
40
,
"size_range"
:
"set_025"
,
...
...
@@ -71,6 +74,7 @@
"material"
:
"100% Polyester"
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2014/02/04"
,
"weight"
:
""
,
"price"
:
65
,
"size_range"
:
"set_032"
,
...
...
@@ -90,6 +94,7 @@
"material"
:
"100%Linen"
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2013/11/21"
,
"weight"
:
""
,
"price"
:
65
,
"size_range"
:
"set_025"
,
...
...
@@ -109,6 +114,7 @@
"material"
:
""
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2013/05/16"
,
"weight"
:
""
,
"price"
:
98
,
"size_range"
:
"set_032"
,
...
...
@@ -128,6 +134,7 @@
"material"
:
""
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2014/03/02"
,
"weight"
:
""
,
"price"
:
99.95
,
"size_range"
:
"set_038"
,
...
...
@@ -147,6 +154,7 @@
"material"
:
"100% SILK"
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2013/11/21"
,
"weight"
:
""
,
"price"
:
89
,
"size_range"
:
"set_032"
,
...
...
@@ -166,6 +174,7 @@
"material"
:
"100% SILK"
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2012/12/01"
,
"weight"
:
""
,
"price"
:
45
,
"size_range"
:
"set_032"
,
...
...
@@ -185,6 +194,7 @@
"material"
:
""
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2014/02/09"
,
"weight"
:
""
,
"price"
:
45
,
"size_range"
:
"set_025"
,
...
...
@@ -204,6 +214,7 @@
"material"
:
"Leather"
,
"features"
:
"Zip , Ceinture"
,
"dimensions"
:
"12.5cm"
,
"date_created"
:
"2013/10/11"
,
"weight"
:
""
,
"price"
:
90
,
"size_range"
:
"set_023"
,
...
...
@@ -223,6 +234,7 @@
"material"
:
""
,
"features"
:
""
,
"dimensions"
:
"Largeur: 63.0 cm"
,
"date_created"
:
"2012/09/01"
,
"weight"
:
""
,
"price"
:
59.95
,
"size_range"
:
"set_023"
,
...
...
@@ -242,6 +254,7 @@
"material"
:
""
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2013/11/21"
,
"weight"
:
""
,
"price"
:
130
,
"size_range"
:
"set_038"
,
...
...
@@ -261,6 +274,7 @@
"material"
:
"Leather"
,
"features"
:
"Zip , Ceinture"
,
"dimensions"
:
"Hauteur: 24.0 cm"
,
"date_created"
:
"2013/12/21"
,
"weight"
:
"550.0g"
,
"price"
:
180
,
"size_range"
:
"set_023"
,
...
...
@@ -280,6 +294,7 @@
"material"
:
"Leather"
,
"features"
:
"Zip , Ceinture"
,
"dimensions"
:
""
,
"date_created"
:
"2014/01/01"
,
"weight"
:
""
,
"price"
:
180
,
"size_range"
:
"set_023"
,
...
...
@@ -299,6 +314,7 @@
"material"
:
"60%LAINE 40%TENCEL 100% SOIE "
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2014/04/02"
,
"weight"
:
""
,
"price"
:
95
,
"size_range"
:
"set_025"
,
...
...
@@ -317,6 +333,7 @@
"category"
:
"cat_012"
,
"features"
:
""
,
"dimensions"
:
""
,
"date_created"
:
"2013/12/21"
,
"weight"
:
""
,
"price"
:
160
,
"size_range"
:
"set_025"
,
...
...
@@ -336,6 +353,7 @@
"group"
:
"cat_003"
,
"category"
:
"cat_012"
,
"dimensions"
:
""
,
"date_created"
:
"2014/02/01"
,
"weight"
:
""
,
"price"
:
115
,
"size_range"
:
"set_025"
,
...
...
@@ -355,6 +373,7 @@
"material"
:
""
,
"features"
:
"Zip, Ceinture"
,
"dimensions"
:
""
,
"date_created"
:
"2013/12/01"
,
"weight"
:
""
,
"price"
:
95
,
"size_range"
:
"set_025"
,
...
...
lang/en-EN/dict.json
View file @
a9b37ea6
...
...
@@ -95,6 +95,10 @@
"title"
:
"Category"
,
"description"
:
"The category this product belongs to."
},
"date_created"
:
{
"title"
:
"Creation Date"
,
"description"
:
"The date the product was created (YYYY/MM/DD)."
,
},
"default_image_path"
:
{
"title"
:
"Default Image Path"
,
"description"
:
"The image path to the default image."
...
...
lang/fr-FR/dict.json
View file @
a9b37ea6
...
...
@@ -95,6 +95,10 @@
"title"
:
"Catégorie"
,
"description"
:
"La catégorie de ce produit appartient."
},
"date_created"
:
{
"title"
:
"Date de création"
,
"description"
:
"La date le produit été créé (YYYY/MM/DD)."
,
},
"default_image_path"
:
{
"title"
:
"Chemin par défaut de l'image"
,
"description"
:
"Le chemin de l'image à l'image par défaut."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment