magepal / link-product
Custom product relation for magento 2
Fund package maintenance!
paypal.me/magepal
Installs: 38 194
Dependents: 0
Suggesters: 0
Security: 0
Stars: 53
Watchers: 5
Forks: 20
Open Issues: 2
Type:magento2-module
Requires
- php: ~7.4.0|~8.1.0|~8.2.0|~8.3.0
- magento/framework: 100.0.*|100.1.*|101.0.*|102.0.*|103.0.*
- magento/module-backend: 100.0.*|100.1.*|100.2.*|101.0.*|102.0.*
- magepal/magento2-core: >=1.1.11
README
Custom Product Relation Sample Extension for Magento 2.2.x and 2.3.x (with zero class rewrite or hacks)
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
Usage
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);
Step 1
Using Composer (recommended)
composer require magepal/link-product
Manually
- Download the extension
- Unzip the file
- Create a folder {Magento 2 root}/app/code/MagePal/LinkProduct
- Copy the content from the unzip folder
Step 2 - Enable extension ("cd" to {Magento root} folder)
php -f bin/magento module:enable --clear-static-content MagePal_LinkProduct
php -f bin/magento setup:upgrade
Contribution
Want to contribute to this extension? The quickest way is to open a pull request on GitHub.
Importing via CSV or 3rd party extensions
To import via CSV, you need to have the a patch applied to the core (until merged to Magento 2).
Support
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 support@magepal.com and if we like your idea we will add this feature for free or at a discounted rate.
Magento 2 Extensions
- Custom SMTP
- Catalog Hover Image for Magento
- Enhanced Success Page for Magento 2
- Enhanced Transactional Emails for Magento 2
- Google Tag Manager
- Enhanced E-commerce
- Reindex
- Custom Shipping Method
- Preview Order Confirmation
- Guest to Customer
- Admin Form Fields Manager
- Customer Dashboard Links Manager
- Lazy Loader
- Order Confirmation Page Miscellaneous Scripts
- HTML Minifier for Magento2
© MagePal LLC. | www.magepal.com