Installation
You can install the Magento 2 Marketplace Size Chart Template extension either via Composer or by manually extracting the extension archive into your Magento app/code directory.
Prerequisite
Ensure the Webkul Marketplace Multi Vendor Module (webkul/module-marketplace) is installed and enabled in your Magento instance before installing this module.
Method 1: Manual ZIP Installation
Step 1: Upload Files
- Extract the downloaded extension ZIP archive.
- In your Magento root directory, create the folder path
app/code/Webkul/MpSizeChartTemplate/if it does not already exist:mkdir -p app/code/Webkul/MpSizeChartTemplate - Copy all extracted extension files into
app/code/Webkul/MpSizeChartTemplate/.
Confirm the directory structure appears as follows:
<Magento_Root>/
└── app/
└── code/
└── Webkul/
└── MpSizeChartTemplate/
├── Api/
│ ├── Data/
│ └── ...
├── Block/
│ ├── Account/
│ ├── Adminhtml/
│ ├── Measurement/
│ ├── SizeUnits/
│ └── Template/
├── Controller/
│ ├── Adminhtml/
│ ├── Measurements/
│ ├── SizeUnits/
│ └── Templates/
├── Helper/
├── Model/
│ ├── Config/
│ └── ResourceModel/
├── Observer/
├── Plugin/
├── Setup/
│ └── Patch/Data/
├── ViewModel/
├── etc/
├── view/
├── composer.json
└── registration.php
Method 2: Composer Installation
If you received access via Webkul's Composer repository:
composer require webkul/marketplace-size-chart
Run Magento Setup Commands
From your Magento 2 root directory, execute the standard deployment commands via terminal:
1. Upgrade the Database Schema & Data
php bin/magento setup:upgrade
What this does
This command:
- Registers
Webkul_MpSizeChartTemplateinapp/etc/config.php. - Creates the three core declarative database tables:
wk_mp_sizeunits,wk_mp_body_measurements, andwk_mpsizechart_templates. - Executes data patch
Webkul\MpSizeChartTemplate\Setup\Patch\Data\CreateAttributesto register the product attributewk_mpsizechart_templatein theMarketplace Size Chartattribute group across all catalog attribute sets.
2. Compile Dependency Injection
php bin/magento setup:di:compile
3. Deploy Static Content
php bin/magento setup:static-content:deploy -f
4. Flush and Clean Cache
php bin/magento cache:clean
php bin/magento cache:flush
Verify Installation
To verify that the module is installed and active in Magento:
php bin/magento module:status Webkul_MpSizeChartTemplate
Expected output:
Module is enabled
