Read More
Menu Close

    Multi-Vendor Akeneo Connector for Magento 2

    Introduction

    With the help of Multi-Vendor Akeneo Connector for Magento 2 module, you can connect and synchronize Magento 2 Multi-Vendor Marketplace with Akeneo. You can create vendor listing from Akeneo, reference vendor data attribute, and assign products to vendors.

    Important Note:

    • This module requires you to install three modules first –
    1. Multi-Vendor Marketplace Module for Magento 2
    2. Magento 2 Akeneo Connector
    3. Marketplace Web Services API for Magento 2
    • For Magento Enterprise/Commerce, select the Magento Enterprise Edition option.
    • This module is compatible with Akeneo Community Edition, Enterprise Edition, and Cloud (PaaS/Flexibility) Edition.
    • Dedicated Support for Magento 2.3 is provided

    Basic Requirements:

    • Multi-Vendor Akeneo Connector for Magento 2 works with Akeneo 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x, 3.2.x, 4.0.x and 5.0.x. Download Akeneo.
    • Node and Yarn packages need to be installed. Click Here
    • Also works with Akeneo Cloud Flexibility Mode which is a PAAS Edition of Akeneo

    Features

    • Create vendors on Akeneo and export them
    • Reference data attribute for vendor
    • This module is compatible with the latest Akeneo version 5.0.x
    • Assign products to vendors and export them to Magento 2

    Magento API Integration

    For creating API in Magento, login to your admin panel then go to ‘System>Integrations>Add New Integration’. In the ‘Name’ field, add any unique name for identification then enter the admin panel password in ‘Your Password’. Please leave the rest of the field blank and continue to the next step.

    Magento 2 Akeneo Connector - API Integration

    Select APIs for Integration After providing the Integration Info, go to the API section then select the following resources after that click Save.

    Searching for an experienced
    Akeneo Company ?
    Read More
    • Catalog, Inventory, Products, Categories, Admin Seller Management API, Marketplace Management, Customers
    • Stores, Settings, Currency, Attributes, Other Settings

    create credentials in MAgento2

    Here are the other options.

    other options

    Once the API is created, you will see the integration in the list, click Activate.

    Integration in magento

    The following pop-up window will appear, click the Allow button.

    akeneo api

    The API credentials will be generated as follows. Then, you need to copy Consumer Key, Consumer Secret, Access Token, and Access Token Secret after that paste them into Akeneo configuration.

    Tokens Created

    Module Installation for Version 4.0.x to 5.0.x

    1- Composer Installation

    Read This Blog

    2- Manual Installation

    Please follow these steps for installing Multi-Vendor Akeneo Connector for Magento 2 in your Akeneo PIM platform.

    • Unzip the respective extension zip then merge the “src” folder into the Akeneo project root directory.

    src-cms-1

    • After that goto config/Bundles.php then add the line:
    Webkul\Magento2MarketplaceBundle\Magento2MarketplaceBundle::class => ['all' => true]

    app-kernal

    in the return array.

    • Copy the “config” folder into the akeneo project root directory for routing.

    conf-cms-1

    • Run this command after ssh to your akeneo server by the terminal
    php bin/console cache:clear--env=prod;
        php bin/console vendor:setup:install
    • If you are using php-fpm. Then you need to restart the php-fpm services and apache web server.

    For Akeneo 5

    sudo service php-fpm7.4 restart

    For Akeneo 4

    Docker Installation Command :

    For Akeneo 5

    alias docker_php='docker-compose run -u www-data --rm php php';
    alias docker_yarn='docker-compose run -u node --rm node yarn';
    docker_php bin/console cache:clear --env=prod;
    docker_php bin/console pim:installer:assets --symlink --clean --env=prod;
    docker_php bin/console d:s:u --force;
    docker_yarn run webpack;
    docker_yarn run update-extensions;
    docker_yarn run less;

    For Akeneo 4

    alias docker_php='docker-compose run -u www-data --rm php php';
    alias docker_yarn='docker-compose run -u node --rm node yarn';
    docker_php bin/console cache:clear --env=prod;
    docker_php bin/console pim:installer:assets --symlink --clean --env=prod;
    docker_php bin/console d:s:u --force;
    docker_yarn run webpack;
    docker_yarn run less;

    Module Installation for Version 2.x to 3.x

    Please follow these steps for installing Multi-Vendor Akeneo Connector for Magento 2 in your Akeneo PIM platform.

    • Unzip the respective extension zip then merge the “src” folder into the Akeneo project root directory.

    src-cms-1

    • Goto app/AppKernel.php then add the following line in function registerProjectBundles()
      new Webkul\Magento2MarketplaceBundle\Magento2MarketplaceBundle(),

      AppKernel.php code

    • After that goto app/config/routing.yml then add these lines at top of the file
      mutlivendor:
          resource: "@Magento2MarketplaceBundle/Resources/config/routing.yml"    
          prefix:   /
      

      Routing.yml code

    • Navigate app/config/config.yml then add this line according to your akeneo version in the imports section –
      For Akeneo 2.x – 
      - { resource: "@Magento2MarketplaceBundle/Resources/config/2.x/config.yml" }

      For Akeneo 3.x – 

      - { resource: "@Magento2MarketplaceBundle/Resources/config/3.x/config.yml" }

      config code.png

    • After that you have to navigate first to Akeneo installation directory (Ex: cd /opt/bitnami/apps/akeneo/htdocs). After SSH, you have to run the command to your Akeneo server by the terminal.
    php bin/console cache:clear--env=prod;
     php bin/console vendor:setup:install
    • If you are using php-fpm. Then you need to restart the php-fpm services and apache web server.
    sudo service php-fpm7.2 restart

    Common Issues After Installation

    It might happen that even after proper installation, upon opening your Akeneo admin dashboard, you see a loading screen. In that case, do check for the following solution:

    • Webpack Installation: If you get the below error Webpack error It means that the web pack is not installed in your system. Run the following command
      npm install --save-prod webpack
      npm install
      
    • Module routing.yml is not configured properly. Re-check the routing.yml file as mentioned in the 3rd step of Module Installation
    • Clear your browser cache.

    Create Vendor In Akeneo

    After successfully installing the module Multi-Vendor Akeneo Connector for Magento 2 in Akeneo, you need to set up the Magento2 API credentials in Akeneo. For creating credentials in Akeneo, you can follow the Akeneo Magento 2 connector user guide.

    Then you can see the installed module in Akeneo. After clicking on the Vendors, you can see the Marketplace vendors page.

    Vendor Page

    After clicking on the Add vendor icon, you will go to the Add Vendor page where you can create the vendor.

    Add vendor in Akeneo Magento2 multi-vendor module

    Here you have to fill in the details like code, Email, first name, last name, and Profile/Shop URL. After entering the details, click on the Save button. You can see all the created vendors.

    List of Magento2 Vendor

    Create a Vendor Attribute in Akeneo

    Before creating the product in Akeneo, you have to create a Reference data simple select attribute for the vendor in Akeneo. Goto Akeneo Dashboard -> Setting ->Attributes -> Create Attribute. Then have to select the Reference data simple select attribute.

    Select the attribute

    After it, you have to enter the details like attribute code, attribute group.

    Create vendor attribute in Akeneo

    After that, you have to also add the type-specific parameter in this attribute. Click on the Save button.

    reference data attribute in Akeneo

    Then you have to add this attribute to the product family. Then you have to go Akeneo setting -> Family -> add Attribute. After adding the attribute to the attribute family, you can see the attribute.

    Add vendor attribute in family

    Create Product in Akeneo

    After that to create a product in Akeneo, go to navigate to Products then click the Create button. Then you need to choose the product type – as Product or Product Model.

    Product – Select this type for creating simple and virtual products.

    Product Model – Select this type for creating a configurable product with variations.

    create the product in Akeneo

    Family – A family is a set of attributes that will be the same for all products belonging to a family. The product family represents product type, imposes product information structure, and defines the list of attributes for a product that it belongs.

    choose a familyAdd Product Details

    After that, you need to provide information about the product. Then you have to enter the data like Name, Description, Quantity, Price, and SEO information.

    Product details

    Then you can associate the vendor with the product.

    Association of multi-vendor

    Select Category

    After entering all the product information, save your changes after that go to Product Navigation then select Categories.

    Assign a categories

    Magento2 Export Job

    Note:

    After that to make seller approval by default on Magento2 end. For it, you have to navigate Stores->Configuration->Marketplace->General Settings->Seller Approval Required.

    Select the Yes option then click on the Save button.

    Setting in Magento

    Then to export your product data you need to create a job profile then execute it.

    First, go to Exports>Create Export Profile and enter a unique code, the label then select a job profile.

    Create Export Profile

    For more information about creating an export profile in Magento2 Click Here

    Export Now

    After creating the export profile, click on the Export Now button. The execution of the export process will begin, the page will refresh continually to update the information.

    Export now

    Execution Process

    After that wait for the execution process to complete then check the errors. After the completion of the export job, the products will appear in the Magento catalog.

    Then you can also see the Vendors created and associated with the product in Akeneo.

    Export job execution details in Akeneo

    Magento Store

    As you can see that the following products have been imported from Akeneo. The admin can view the products and make any changes in the product edit form of Magento.

    Product in Magento2

    After that, you can see the vendors associated with the product in Akeneo. For this, you have to navigate Magento2 DashBoard -> Marketplace Management -> Manage Seller.

    Manage seller in Magento2

    After clicking on the Manage seller, you can see all the vendors associated with the products that exported from Akeneo.

    Manage seller in Magento2

    After that, you can also check the products assigned to the vendors in Magento2. For it, you have to navigate Magento2 DashBoard -> Marketplace Management -> Manage Product.

    Manage seller products

    Support

    For any issues related to this module, please create a support ticket at our HelpDesk System. Also, for any pre-sales queries or customization discussion, please drop an email to [email protected]. You may also browse other Magento 2 marketplace addons and our quality Magento 2 extensions.

    Please explore our Akeneo Development Services and Quality Akeneo Extensions.

    Current Product Version - 2.0.0

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    Blog Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x
    • Version Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x Akeneo PIM 2.0.x, 2.1.x, 2.2.x, and 2.3.x
    • Version Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x Akeneo PIM 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, and 3.1.x
    • Version Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x Akeneo PIM 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x, 3.2.x, 4.0.x and 5.0.x
    • Version Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x Akeneo PIM 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x, 3.2.x and 4.0.x
    • Version Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x Akeneo PIM 2.0.x, 2.1.x, 2.2.x, 2.3.x, 3.0.x, 3.1.x and 3.2.x
    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Table of Content