Menu Close
    Hire us Request quote Reading list Switch to dark mode

    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, and price 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.

    INSTALLATION

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

    First command – php bin/magento setup:upgrade

    cmd1

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

    cmd2

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

    cmd3

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

    INSTALLATION

    Multi-Lingual Configuration

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

    change-language-magento-2-locale

    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.

    LANGUAGE TRANSLATION

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

    csv

    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.

    Language translation

    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.

    configuration

    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.

    mapping

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

    list

    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:

    info

    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:

    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.

    many-to-one

    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.

    error

    Seller End

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

    new-product

    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.

    edit-product

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

    attribute

    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.

    default

    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.

    select

    Attribute Type Supported

    The module supports the following type of attributes –

    types

     

    • 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.

    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.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just received your message and our expert will get back to you shortly.
    Send Again
    Close

    Table of Content

    Hide Index