add a testproduct
This commit is contained in:
parent
c4ca3a22df
commit
ef8e147a9c
8 changed files with 243 additions and 90 deletions
|
|
@ -8,8 +8,8 @@ label = Product Name
|
|||
type = string
|
||||
size = large
|
||||
|
||||
[fields.teaser]
|
||||
label = Teaser
|
||||
[fields.abstract]
|
||||
label = Abstract
|
||||
type = string
|
||||
width = 1/2
|
||||
|
||||
|
|
@ -17,9 +17,8 @@ width = 1/2
|
|||
label = Description
|
||||
type = string
|
||||
width = 1/4
|
||||
addon_label = @
|
||||
|
||||
[fields.buy_link]
|
||||
label = Buy Link
|
||||
[fields.link]
|
||||
label = Link
|
||||
type = url
|
||||
width = 1/4
|
||||
|
|
|
|||
18
models/testproduct.ini
Normal file
18
models/testproduct.ini
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[model]
|
||||
name = Product
|
||||
label = {{ this.title }}
|
||||
hidden = yes
|
||||
|
||||
[fields.title]
|
||||
label = Product Name
|
||||
type = string
|
||||
size = large
|
||||
|
||||
[fields.subtitle]
|
||||
label = subtitle
|
||||
type = string
|
||||
|
||||
[fields.link]
|
||||
label = Link
|
||||
type = url
|
||||
width = 1/4
|
||||
Loading…
Add table
Add a link
Reference in a new issue