Live Demo Buy Now

Magento 2 Multi Vendor Attribute Set Mapping

Magento 2 Multi-Vendor Attribute Set Mapping module, allows the admin to map the store categories with the attribute sets for the sellers.

While creating the product, this module will automatically assign an attribute set to the product as per the selected category. The module will let the sellers use only the enabled set of attributes.

Note-

Features

  • The admin can enable or disable the module.
  • Map attribute set with the store categories as per the choice.
  • The admin can map multiple categories to a single attribute set.
  • The seller can add products with attributes mapped with the category.
  • Attribute set will get assigned automatically to the product as per the selected category.
  • The seller can use only the enabled attributes along with the default attributes.
  • Default attribute set gets assigned if the category is not mapped with an attribute set.
  • The module supports Simple, Configurable, Virtual, Downloadable, Bundle and Grouped product types.
  • The module supports text field, text area, date, yes/no, multiple select, drop-down, price, and media image input types.

Installation

Customers will get a zip folder and they have to extract the contents of this zip folder on their system. The extracted folder has an src folder, inside the src folder you have the app folder. You need to transfer this app folder into the Magento2 root directory on the server as shown below.

After the successful installation, you have to run these commands in the Magento2 root directory.

First command – php bin/magento setup:upgrade

Second Command – php bin/magento setup:di:compile

Third Command – php bin/magento setup:static-content:deploy

After running the commands, you have to flush the cache from the Magento admin panel by navigating through->System->Cache management as shown below.

Multi-Lingual Configuration

For Multilingual support, please navigate to Store>Configuration>General >Locale Options. And select your desired language from the Locale option.

Language Translation

For module translation, navigate to the following path in your system  app/code/Webkul/MpAttributeMapping/en_US.csv. Open the file named en_US.CSV for editing as shown in the below screenshot.

Then replace the words after the comma(,) on the right in the file with your translated words.

After editing and translating the CSV file, you need to save the translated file name according to your region language and country code such as – de_DE.CSV. Followed by uploading the translated file to the same folder from where you have obtained it. Now your module translation is complete.

Module Configuration

After the installation, the admin will configure the module settings. For this, the admin will navigate to Stores -> Configuration -> Webkul -> MpAttribute Mapping as shown below.

Here, the admin will –

  • Enable Module On Frontend: Select Yes to enable the module. Else, select No to disable the module.

And, lastly hit the Save Config button to save the configuration successfully.

Category & Attribute Set Mapping

The admin will map the store categories with the attribute sets by navigating to MpAttribute Mapping -> Category and Attribute Set Mapping as shown below.

This will navigate the admin to a new page as per the below image.

Here, the admin will-

  • View the complete list of mapped categories and attribute sets.
  • Remove the selected mapping by selecting the Delete option from the Actions drop-down list.
  • Edit the mapping by clicking the View link available.
  • Map the categories and attribute sets by clicking the Add Mapping button.

Add Mapping:

Clicking the Add Mapping button will navigate the admin to the mapping page. Here, the admin will have two sections-

Map Attributes Set:

For mapping, select the desired attribute set from the Attribute drop-down list and category from the Category drop-down list which the admin wants to map with.

Map Attributes:

Under this section, the admin will select the attributes which the admin wants to enable for the seller to use. For successful mapping, hit the Save button.

Note: The seller can use the default attributes and the enabled attributes only.

The admin can map multiple categories to a single attribute set ie; many to one type mapping.

And, even if the admin tries to map the category which is already been mapped with some other attribute set. Then, it will display an error message.

Seller End

For adding the product, the seller will select the Category and the Product Type as shown below.

And at the Product Edit page, the attribute set will get selected automatically as per the selected Category. The sellers no more require to select the attribute set manually.

Note: The module supports Simple, Configurable, Virtual, Downloadable, Bundle and Grouped product types.

The enabled attributes of the “Attribute Set” will get displayed on the Product Edit page along with the default attributes.

WHAT IF THE SELECTED CATEGORY IS NOT MAPPED WITH ANY ATTRIBUTE SET:

If the selected category is not mapped with any attribute set. Then, it will first check the parent category mapping. Even if the parent category is also not mapped then, the “Default” category gets assigned automatically.

WHAT IF THE SELLER EDIT OR CHANGE THE CATEGORIES ON THE PRODUCT EDIT PAGE:

If the seller edits or changes the categories on the “Product Edit” page. Then, the attribute set gets assigned according to the first category which the seller will select.

Attribute Type Supported

The module supports the following type of attributes –

  • Text Field: This input type is used to enter a single editable line of text.
  • Text Area: This input type is used for multi-line area for displaying text.
  • Date: This enables the user to enter a date either using a text box or using a date picker interface.
  • Yes/No: This will allow the yes/no input selection type.
  • Multiple Select: This input type is used to select more than one option in the list.
  • Drop-Down: This input type is used to select only one option in the list.
  • Price: This input type is used to create additional price fields.
  • Media Image: This enables to upload the images of allowed extensions.

Note: The module doesn’t support Fixed Product Tax, Visual Swatch, and Text Swatch input types.

That’s all for the Magento 2 Multi-Vendor Attribute Set Mapping. If you still have any issue, feel free to add a ticket and let us know your views at http://webkul.uvdesk.com/

 

Current Product Version - 2.0.0

Supported Framework Version - 2.0.x, 2.1.x, 2.2.x

. . .

Comment

Add Your Comment

Be the first to comment.

css.php

Index