triveon / duplicate-widget
Module to enable duplication of widgets
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=8.2
This package is auto-updated.
Last update: 2025-06-17 21:01:17 UTC
README
The Duplicate Widget is a Magento 2 extension designed to streamline the process of duplicating widgets within your e-commerce store. Instead of manually recreating widgets, this plugin allows you to clone existing widgets with all their configurations intact, saving time and effort for developers and store administrators.
Key Features:
Effortless Duplication: Duplicate any widget in Magento 2 with a single click.
Retain Configurations: Preserve all widget settings, including layout and display rules.
Time-Saving Tool: Ideal for stores with multiple similar widgets across different pages or layouts.
How does it work?
- Go in the admin to Content -> Widgets
- Click on an existing widget
- Click on "Save and duplicate"
- The widget is duplicated
Installation
Installation using composer (recommended)
To install the extension login to your environment using SSH. Then navigate to the Magento 2 root directory and run the following commands in the same order as described:
Enable maintenance mode:
php bin/magento maintenance:enable
- Install the extension:
composer require triveon/duplicate-widget
- Enable the Translate Custom Variables Magento 2 plugin
php bin/magento module:enable Triveon_DuplicateWidget
- Update the Magento 2 environment:
php bin/magento setup:upgrade
When your Magento environment is running in production mode, you also need to run the following comands:
- Compile DI:
php bin/magento setup:di:compile
- Deploy static content:
php bin/magento setup:static-content:deploy
- Disable maintenance mode:
php bin/magento maintenance:disable
Installation manually
- Download the extension directly from github by clicking on Code and then Download ZIP.
- Create the directory app/code/Triveon/DuplicateWidget (Case-sensitive)
- Extract the zip and upload the code into app/code/Triveon/DuplicateWidget
- Enable the Duplicate Widget Magento 2 plugin
php bin/magento module:enable Triveon_DuplicateWidget
- Update the Magento 2 environment:
php bin/magento setup:upgrade
Update
To update the Duplicate Widget Extension run the following commands:
composer update triveon/duplicate-widget php bin/magento setup:upgrade