smile / module-custom-entity-product-link

smile/module-custom-entity-product-link

Smile - Custom Entity Product link Module

  • Aurélien FOUCRET
  • Maxime LECLERCQ
  • Cédric MAGREZ
magento2-module 2.4.6-2.4.9 Compatible Based on composer requirements only QA: failed OSL-3.0

Custom Entity Product Link Management Build Status

What is Custom Entity Product Link Magento 2 Module?

This module allow possibility to create a product attribute with Frontend Input Custom Entity, which allows you to link a product to custom entities and :

  • show custom entities in product detail (or/and product listing)
  • show products on custom entity page

Who is developing this module ?

[image: Smile]

This module is built by Smile.

Smile is the European leader of Open Source and also a four-times Europe Partner of the the Year (2010-2014), two-times Spirit of Excellence (2015-2016), Global Elite Partner (2017-now), and Regional Commercial Partner (2018) awarded by Magento.

Our multidisciplinary team brings together experts in technology, innovation, and new applications.

Together we explore, invent, and test technologies of the future, to better serve our clients.

Main Features

  • An new frontend input in product attribute

[image: Product attribute form]

  • Show custom entity in product page and product listing

[image: Custom entity attribute in product page]

[image: Product attribute in product listing]

  • A filter by custom entity

[image: Product layered navigation]

  • Product listing in custom entity page

[image: Custom entity page with product listing]

Documentation

Documentation is available here.

The User Guide is also available on PDF format here

Contributing

You can contribute to this module by submitting issues or pull requests.

For more details, please take a look at the contribution guidelines.

Changelog

All notable changes are recorded in this changelog.

Standards & Code Quality

Smile Lab Quality Suite (Magento) provides coding standards / rulesets that can be used on Magento projects.

Changelog

All notable changes to this project will be documented in this file.

1.4.4 - 2024-02-14

  • Use ui-select input type for smile_custom_entity attributes

1.4.3 - 2024-01-09

  • Fix return type on the cart price rule creation BO page
  • Fix error on attribute creation

1.4.3 - 2024-01-09

  • Fix return type on the cart price rule creation BO page
  • Fix error on attribute creation

1.4.2 - 2023-09-19

  • Fix explode php error

1.4.1 - 2023-09-19

  • Fix __construct for php 7.4

1.4.0 - 2023-09-19

  • From this release, product attribute linked to custom entities will not save their value in a custom table anymore.
    They will use the standard table of Magento (catalog_product_entity_text).
    This change makes possible to integrate these attributes in rule engine (promo, virtual category, optimizers),
    and allows to have different value for different stores.

1.3.9 - 2023-07-19

  • Add attribute id as catalog_product_custom_entity_link

1.3.8 - 2022-12-02

  • Fix Zend Db Expression

1.3.7 - 2022-11-21

  • Add github actions workflow

1.3.6 - 2022-10-19

  • Add Smile Lab Quality Suite
  • Analyse code style with phpcs / phpmd / phpstan command
  • Add db_schema.xml instead InstallSchema

1.3.5 - 2022-09-20

  • Fix return on _getSearchEntityIdsSql function on Model/ResourceModel/Search/CustomCollection.php

1.3.4 - 2022-09-14

  • Specify php version on composer.json
  • Use Escaper on templates

1.3.3 - 2022-09-06

  • Add use for classes and use type hints on functions

1.3.2 - 2022-09-01

  • Add strict types on php files
  • Remove disclaimer / annotation comments
  • Add .gitattributes and update .gitignore

1.3.1 - 2022-08-23

  • Allow more recent version of custom-entity module to be used (Eg for Magento 2.4.4)
  • Add CONTRIBUTING.md
  • Update README.md

1.3.0 - 2020-10-01

  • Allow more recent version of custom-entity module to be used (Eg for Magento >=2.3.5)

1.2.1 - 2020-08-19

  • Update composer.json #25

1.2.0 - 2020-03-31

  • Update requirements of custom entities module

1.1.2 - 2020-03-27

  • Remove explicit PHP requirements.

1.1.1 - 2020-01-14

  • Fix the admin search (#23 thanks @maxcortyl)

1.1.0 - 2019-05-09

  • Use latest ElasticSuite

1.0.0 - 2019-05-06

  • Initial Release
Versions
Version Stability QA Status Released
1.4.4 stable Fail 2024-02-14 09:20:23
1.4.3 stable Not tested 2024-01-09 14:44:18
1.4.2 stable Not tested 2023-09-19 14:51:21
1.4.1 stable Not tested 2023-09-19 12:28:08
1.4.0 stable Not tested 2023-09-19 09:33:29
1.3.9 stable Not tested 2023-07-19 16:13:32
1.3.8 stable Not tested 2022-11-25 16:19:33
1.3.7 stable Not tested 2022-11-21 15:59:30
1.3.6 stable Not tested 2022-10-19 13:52:08
1.3.5 stable Not tested 2022-09-20 15:53:57
1.3.4 stable Not tested 2022-09-14 13:29:04
1.3.3 stable Not tested 2022-09-06 14:36:57
1.3.2 stable Not tested 2022-09-01 15:14:31
1.3.1 stable Not tested 2022-08-23 13:28:46
1.3.0 stable Not tested 2020-10-01 09:31:18
1.2.1 stable Not tested 2020-08-19 14:32:17
1.2.0 stable Not tested 2020-03-30 22:03:22
1.1.2 stable Not tested 2020-03-27 12:34:16
1.1.1 stable Not tested 2020-01-14 12:35:08
1.1.0 stable Not tested 2019-05-09 14:49:16
1.0.0 stable Not tested 2019-05-06 11:04:22

Requires 3

Package Constraint
php ^7.4 || ^8.1
smile/module-custom-entity ^1.3
smile/elasticsuite ^2.8.0

Requires-dev 1

Package Constraint
smile/magento2-smilelab-quality-suite ^3.0
QA results
Tool Status Findings Summary
PHPCS Pass 0
PHPStan Fail 9 9 errors (level 4, ruleset: phpstan + bitexpert/phpstan-magento)
Cpd Pass 0
Security Pass 0
License
OSL-3.0
Authors
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.