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

1.0.1 2025-01-17 20:09 UTC

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?

  1. Go in the admin to Content -> Widgets
  2. Click on an existing widget
  3. Click on "Save and duplicate"
  4. 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
  1. Install the extension:
composer require triveon/duplicate-widget
  1. Enable the Translate Custom Variables Magento 2 plugin
php bin/magento module:enable Triveon_DuplicateWidget
  1. 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:

  1. Compile DI:
php bin/magento setup:di:compile
  1. Deploy static content:
php bin/magento setup:static-content:deploy
  1. Disable maintenance mode:
php bin/magento maintenance:disable

Installation manually

  1. Download the extension directly from github by clicking on Code and then Download ZIP.
  2. Create the directory app/code/Triveon/DuplicateWidget (Case-sensitive)
  3. Extract the zip and upload the code into app/code/Triveon/DuplicateWidget
  4. Enable the Duplicate Widget Magento 2 plugin
php bin/magento module:enable Triveon_DuplicateWidget
  1. 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