← Shopware 6.7.8.1

Shopware 6.7.8.1 product_cross_selling

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

Columns

12 columns

Column Type Nullable Additional
id binary(16) NO Primary Key
type varchar(255) NO
position int NO
sort_by varchar(255) NO
sort_direction varchar(255) NO
active tinyint(1) YES Default: 0
limit int 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) YES 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)

2 relations

Local Field Foreign Table Foreign Field
id product_cross_selling_assigned_products cross_selling_id
id product_cross_selling_translation product_cross_selling_id