← Shopware 6.1.0.rc4

Shopware 6.1.0.rc4 product_cross_selling

Cross-selling definitions on products (e.g. 'Accessories', 'Similar items') with sorting and type.

Columns

11 columns

Column Type Nullable Additional
id binary(16) NO Primary Key
position int(11) NO
sort_by varchar(255) NO
sort_direction varchar(255) NO
active tinyint(1) YES Default: 0
limit int(11) NO Default: 24
product_id binary(16) NO Index Foreign Key → product.id
product_version_id binary(16) NO Foreign Key → product.version_id
product_stream_id binary(16) NO Index Foreign Key → product_stream.id
created_at datetime(3) NO
updated_at datetime(3) YES

Indexes

3 indexes

Index Name Columns Unique
fk.product_cross_selling.product_id product_id,product_version_id No
fk.product_cross_selling.product_stream_id product_stream_id No
PRIMARY id Yes

Relations (from this table)

3 relations

Local Field Foreign Table Foreign Field
product_id product id
product_version_id product version_id
product_stream_id product_stream id

Relations (to this table)

1 relations

Local Field Foreign Table Foreign Field
id product_cross_selling_translation product_cross_selling_id