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
5d82dffd
Commit
5d82dffd
authored
May 01, 2014
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data: added single product page
parent
85879a14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
0 deletions
+47
-0
data/product_module.json
data/product_module.json
+13
-0
data/product_view.json
data/product_view.json
+34
-0
No files found.
data/product_module.json
View file @
5d82dffd
...
...
@@ -13,6 +13,19 @@
{
"href"
:
"product_overview"
}
]
}
},
{
"generate"
:
"widget"
,
"type"
:
"page"
,
"property_dict"
:
{
"title_i18n"
:
"portal_type_dict.product_dict.text_dict.products"
,
"theme"
:
"slapos-white"
},
"view_dict"
:
{
"default"
:
[
{
"href"
:
"product_view"
}
]
}
}
]
}
\ No newline at end of file
data/product_view.json
0 → 100644
View file @
5d82dffd
{
"portal_type_source"
:
"Product"
,
"portal_type_title"
:
"product"
,
"skip_total_records"
:
true
,
"initial_query"
:
{
"include_docs"
:
true
,
"limit"
:
[
0
,
1
],
"select_list"
:
[
"currency"
,
"_id"
,
"brand"
,
"description_short"
,
"price"
,
"default_image_path"
]},
"property_dict"
:
{
"initial_query_url_indentifier"
:
"_id"
},
"scheme"
:
[
{
"position"
:
"left"
,
"field_list"
:
[
{
"field"
:
"default_image_path"
,
"type"
:
"image"
}
]
},
{
"position"
:
"center"
,
"field_list"
:
[
{
"field"
:
"brand"
,
"type"
:
"h3"
,
"mergeText"
:
"description_short"
},
{
"field"
:
"price"
,
"type"
:
"p"
,
"format"
:
{
"type"
:
"integer"
,
"digits"
:
2
},
"mergeText"
:
"currency"
}
]
}
],
"children"
:
[{
"generate"
:
"widget"
,
"type"
:
"listview"
,
"property_dict"
:
{
"class_list"
:
"responsive"
,
"theme"
:
"slapos-white"
,
"map_children"
:
"listItem"
,
"dynamic"
:
true
},
"children"
:[]
}]
}
\ No newline at end of file
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