66 lines
1.5 KiB
YAML
66 lines
1.5 KiB
YAML
name: productSlider
|
|
type: object
|
|
meta:
|
|
label:
|
|
de: Produktslider
|
|
en: Product Slider
|
|
widget: containerLessObject
|
|
subFields:
|
|
- name: productSource
|
|
type: string
|
|
meta:
|
|
label:
|
|
de: Produktdatenquelle
|
|
en: Product Data Source
|
|
widget: select
|
|
choices:
|
|
- name:
|
|
de: Manuelle Auswahl
|
|
en: Manual Selection
|
|
id: manual
|
|
|
|
- name:
|
|
de: Kategorie
|
|
en: Category
|
|
id: category
|
|
|
|
- name:
|
|
de: Bestseller
|
|
en: Bestseller
|
|
id: bestseller
|
|
|
|
- name:
|
|
de: Neue Produkte
|
|
en: New Products
|
|
id: newProducts
|
|
|
|
- name:
|
|
de: Angebote
|
|
en: Offers
|
|
id: offers
|
|
|
|
- name: productSKUs
|
|
type: string[]
|
|
meta:
|
|
label:
|
|
de: Produkt SKUs
|
|
en: Product SKUs
|
|
dependsOn:
|
|
eval: $.productSource === 'manual'
|
|
widget: foreignKey
|
|
foreign:
|
|
collection: bigCommerceProducts
|
|
id: id
|
|
subNavigation: 0
|
|
render:
|
|
defaultCollectionViews: true
|
|
|
|
- name: category
|
|
type: string
|
|
meta:
|
|
label:
|
|
de: Kategorie
|
|
en: Category
|
|
dependsOn:
|
|
eval: $.productSource === 'category'
|