承接 magepal/link-product 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

magepal/link-product

最新稳定版本:1.1.8

Composer 安装命令:

composer require magepal/link-product

包简介

Custom product relation for magento 2

README 文档

README

Magento Extension Provider

Custom Product Relation Sample Extension for Magento 2.2.x and 2.3.x (with zero class rewrite or hacks)

Total Downloads Latest Stable Version

Create a new product accessory relationship in additional to the default Up-sell products, Related products, and Cross-sell products options available in Magento.

Magento Custom Product Relation

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

© MagePal LLC. | www.magepal.com

统计信息

  • 总下载量: 42.31k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 55
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 54
  • Watchers: 5
  • Forks: 23
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2019-02-28