Images
Collection of all product images
Fields
Field alias | Description | Data type | Editable |
---|---|---|---|
canWrite | write permission | boolean | |
friendlyUrl | friendly URL | string | |
id | id | number | |
image | image | string | yes |
isCover | is cover | boolean | yes |
legend | legend | string | yes |
name | name | string | |
position | position | number | yes |
productId | product id | number | yes |
shopId | shop id | number |
Common expressions
Expression | Description | Data type |
---|---|---|
image.id + " - " + coalesce(image.legend, "No legend") | image | string |
imagePath(image.id) | file path | string |
productImage(image.id, image.friendlyUrl) | url | string |
Relations
Relationship | Relationshiop description |
---|---|
Has many and belongs to combinations | Product combinations |
Belongs to product | Product |