Type
magento2-module
Custom product relation for magento 2
magento2-module
OSL-3.0, AFL-3.0
None
None
None
None
None
Create a new product accessory relationship in additional to the default Up-sell products, Related products, and Cross-sell products options available in Magento.
Please Note: Our extension perform all of the backend logic of relating the various product, you will need to design the frontend component and where to place these products
public function __construct(
...
\MagePal\LinkProduct\Model\Accessory $accessory,
....
) {
...
$this->accessory = $accessory;
}
$product = $currentProduct;
return products
$accessoryItems = $this->accessory->getAccessoryProducts($product);
//return product ids
$accessoryItemIds = $this->accessory->getAccessoryProductIds($product);
composer require magepal/link-product
php -f bin/magento module:enable --clear-static-content MagePal_LinkProduct
php -f bin/magento setup:upgrade
Want to contribute to this extension? The quickest way is to open a pull request on GitHub.
To import via CSV, you need to have the a patch applied to the core (until merged to Magento 2).
If you encounter any problems or bugs, please open an issue on GitHub.
Need help setting up or want to customize this extension to meet your business needs? Please email [email protected] and if we like your idea we will add this feature for free or at a discounted rate.
© MagePal LLC. | www.magepal.com