add a testproduct

This commit is contained in:
Nico Schottelius 2019-12-30 23:09:33 +01:00
commit ef8e147a9c
8 changed files with 243 additions and 90 deletions

View file

@ -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
View 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