Quantcast
Channel: Webkul Blog
Viewing all articles
Browse latest Browse all 5490

Multi-Vendor Akeneo Connector for Magento 2

$
0
0

Introduction

Multi-Vendor Akeneo Connector for Magento 2: With the help of this 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:

Basic Requirements:

  • This module works with Akeneo 2.0.x, 2.1.x, 2.2.x, and 2.3.x. Download Akeneo from here
  • 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
  • Assign products to vendors and export them to Magento 2

Module Installation

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

  • Unzip the respective extension zip and then merge “src” folder into the Akeneo project root directory.
  • Goto app/AppKernel.php and add the following line in function registerProjectBundles()
    new Webkul\Magento2MarketplaceBundle\Magento2MarketplaceBundle(),

  • Goto app/config/routing.yml and add these lines at top of the file
    mutlivendor:
        resource: "@Magento2MarketplaceBundle/Resources/config/routing.yml"    
        prefix:   /
    

  • Navigate app/config/config.yml and add these lines at end of file
    pim_reference_data:
        vendor:
            class: Webkul\Magento2MarketplaceBundle\Entity\Vendor
            type: simple
    

  • Run this command after ssh to your akeneo server by the terminal
    rm -rf ./var/cache/** && php bin/console pim:install:asset --env=prod && php bin/console assets:install web --symlink --relative && yarn run webpack && php bin/console d:s:u --force

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 It means that 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 in Akeneo, you need to set up the Magento2 API credentials in Akeneo. For creating credentials in Akeneo, you can follow the Akeneo Magento2 connector user guide. Magento2 Akeneo PIM connector:

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

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

Here you have to fill 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.

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. You have to select the Reference data simple select attribute.

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

You have to also add the type-specific parameter in this attribute. Click on the save button.

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

Create Product in Akeneo

To create a product in Akeneo, go to navigate to Products and click Create button. Now, you need to choose 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.

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

Add Product Details

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

Here you can associate the vendor with the product.

 

Select Category

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

Magento2 Export Job

Now to export your product data you need to create a job profile and execute it. First, go to Exports>Create Export Profile and enter a unique code, label and select a job profile.

For more information about the creating export profile in Magneto2. 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.

Execution Process

Wait for the execution process to complete and check the errors. After the completion of the export job, the products will appear in Magento catalog. You can also see the Vendors created and associated with the product 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 product edit form of Magento.

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

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

Support

For any issues related to this module, please create a support ticket at https://webkul.uvdesk.com/en/customer/create-ticket Also, for any pre-sales queries or customization discussion, please drop an email to support@webkul.com


Viewing all articles
Browse latest Browse all 5490

Trending Articles