Professional Documents
Culture Documents
User's Guide: Custom Entity Product Link
User's Guide: Custom Entity Product Link
T I S O PE N
MAGENTO 2 MODULE
User's Guide
Custom Entity Product Link
Date: 08/04/2019
Version: 1.0
Author: Maxime LECLERCQ
TABLE OF CONTENT
I .T I S O PE N
Getting Started 3
Module Install 3
Requirements 3
Link product to custom entities 4
Create product attribute 4
Add attribute to an attribute set 5
Edit product 6
View products in custom entity 7
Copyright Smile - Open Source Solutions - Reproduction prohibited without authorization Page 2 / 7
GETTING STARTED
I .T I S O PE N
Getting Started
Module Install
Into Magento2 folder, use composer for install this module :
bin/magento setup:upgrade
Requirements
This module require Smile Custom Entity module.
With composer, the dependencies are automatically installed.
But take the time to read Smile Elasticsuite and Custom Entity documentation for:
Copyright Smile - Open Source Solutions - Reproduction prohibited without authorization Page 3 / 7
LINK PRODUCT TO CUSTOM ENTITIES
I .T I S O PE N
Used in Product Listing : if set to Yes , the custom entities information is available in Product object for
Copyright Smile - Open Source Solutions - Reproduction prohibited without authorization Page 4 / 7
LINK PRODUCT TO CUSTOM ENTITIES
I .T I S O PE N
Copyright Smile - Open Source Solutions - Reproduction prohibited without authorization Page 5 / 7
LINK PRODUCT TO CUSTOM ENTITIES
I .T I S O PE N
Edit product
Last step, you edit a product with "custom entity" attribute.
A drop-down list allows to select one or more entities:
Copyright Smile - Open Source Solutions - Reproduction prohibited without authorization Page 6 / 7
VIEW PRODUCTS IN CUSTOM ENTITY
I .T I S O PE N
And in left column, you will find the list of filterable product attributes.
Copyright Smile - Open Source Solutions - Reproduction prohibited without authorization Page 7 / 7