Magento2 Marketplace Custom Attribute module allows the admin to create custom attribute from the admin panel and can select them to display/hide on the front end. Vendors can use those attributes during product upload and those attributes are displayed on the seller’s product page.
This module is an add-on of Magento2 Marketplace Module. To use this module you must have installed first Magento2 Marketplace Module
Features Of Magento2 Marketplace Custom Attribute
- Fully dynamic custom attribute creation.
- It supports all input type except “Fixed Product Tax”.
- Admin will create the attribute and can select them to display/hide on the front end.
- The vendor can choose those attributes during product upload.
- Attributes may be required or optional as the Magento admin attributes.
- The codes are open source so it can be customized as per your requirement.
Installation Of Magento2 Marketplace Custom Attribute
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.
If you have downloaded the module from Magento Connect then unzip the respective extension zip and create Webkul(vendor) then Customattribute(module) name folder inside your magento root directory as app/code/Webkul/Customattribute and then move all module’s files inside /app/code/Webkul/Customattribute/ folder in magento root directory.
After the upload, you can see the folders in your Magento2 Root Directory.
After the successful installation, you have to run these commands in the Magento2 root directory.
First command- php bin/magento setup:upgrade
After running the commands, you have to flush the cache from Magento admin panel by navigating through->System->Cache management as shown below.
Configuration For Multi-lingual Support
Magento2 Marketplace Custom Attribute Translation
If a user wants to translate their module from English to German then they need to follow the path app/code/Webkul/Customattribute/i18n in their unzipped Magento2 Customattribute folder and will get a CSV file with name “en_US.csv”. Now they will rename that CSV as “de_DE.csv” and translate all right side content after the comma in the German language. After editing the CSV, save it and then upload it to the path app/code/Webkul/Customattribute/i18n where they have installed Magento2 on the server. The module will get translated into the German Language. It supports both RTL and LTR languages.
Admin Management Of Magento2 Marketplace Custom Attribute
If the attribute does not exist then it can be created as follows –
Note: “Media Image” type attribute doesn’t work for this module.
After the successful installation of the Magento2 Marketplace Custom Attribute module, the admin will see the menu under Marketplace Management > Manage Custom Attribute
Now, after the admin has created the attributes from the admin backend panel and assigned those attributes to the selected attribute set, the added attributes will be visible on the Manage Custom Attribute page.
When the admin will click on “Manage Custom Attribute“, then a new page appears. Here, the admin can select the custom attributes which they want to provide to the sellers while the seller is adding new products.
Seller Management Of Magento2 Marketplace Custom Attribute
The sellers can now navigate under their account panel to New products/ Edit Product page. Here, on the product creation page, the seller can see the custom attributes which are enabled by the admin. An example of the product creation page is shown below.
Now, the customer can see the custom attributes on the product page as per the image below.
That’s all for Magento2 Marketplace Custom Attribute still have any issue feel free to add a ticket and let us know your views to make the module better http://webkul.uvdesk.com/
Current Product Version - 2.1.0
Supported Framework Version - 2.0.x, 2.1.x, 2.2.x, 2.3.x