PHPackages                             majerome/magento2-module-pricesmassupdate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. majerome/magento2-module-pricesmassupdate

ActiveMagento2-module[CLI &amp; Console](/categories/cli)

majerome/magento2-module-pricesmassupdate
=========================================

The PricesMassUpdate module allows to update all product prices in bulk with the same target value via a console command.

1.0.3(1y ago)131MITPHPPHP ^8.1

Since Jan 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/majerome/magento2-module-pricesmassupdate)[ Packagist](https://packagist.org/packages/majerome/magento2-module-pricesmassupdate)[ RSS](/packages/majerome-magento2-module-pricesmassupdate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (5)Used By (0)

Majerome\_PricesMassUpdate
==========================

[](#majerome_pricesmassupdate)

The PricesMassUpdate module was realized as an exercise to allow updating all product prices in bulk with the same target value via a console command.

 [![Supported Magento Versions](https://camo.githubusercontent.com/c3961370f053cd0164be120ff715027386fcc05b0223897ca24c8da4207f990f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342e362d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c3961370f053cd0164be120ff715027386fcc05b0223897ca24c8da4207f990f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6167656e746f2d322e342e362d627269676874677265656e2e7376673f6c6f676f3d6d6167656e746f266c6f6e6743616368653d74727565267374796c653d666c61742d737175617265) [![Latest Stable Version](https://camo.githubusercontent.com/31523166a75db5e015055992e0cf267c3d9a6cafef049893b50bfb5039f794c6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d616a65726f6d652f6d6167656e746f322d6d6f64756c652d7072696365736d6173737570646174652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/majerome/magento2-module-pricesmassupdate) [![Composer Downloads](https://camo.githubusercontent.com/92a6b819721d0fca58085bf9cc1c35f613452240083c21fefa9fed55e06c7554/68747470733a2f2f706f7365722e707567782e6f72672f6d616a65726f6d652f6d6167656e746f322d6d6f64756c652d7072696365736d6173737570646174652f646f776e6c6f616473)](https://packagist.org/packages/majerome/magento2-module-pricesmassupdate) [![Maintained - No](https://camo.githubusercontent.com/7d1e6920287cda7d21fbe6fb0f770021393ad0aaf2cfd6aa55610d84f4c7686e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65642533462d6e6f2d7265642e7376673f7374796c653d666c61742d737175617265)](https://github.com/majerome/magento2-module-pricesmassupdate/pulse/monthly) [![](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://opensource.org/licenses/MIT)

Table of contents
-----------------

[](#table-of-contents)

- [Summary](#summary)
- [Why](#why)
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)

Summary
-------

[](#summary)

This module was inspired by the M.academy course named [Magento Code That Sucks](https://courses.m.academy/courses/2643230/lectures/57143466) created by Mark Shust. The course compares different ways of updating prices for a large number of products to highlight best practices.

Why
---

[](#why)

You should use this module to get a practical example of how to use batch processing to update the price attribute for all products. It updates all product prices in bulk with the same target value, via a console command. This module also explores the creation of a console command, including data validation and translation issues.

Installation
------------

[](#installation)

```
composer require majerome/magento2-module-pricesmassupdate
bin/magento module:enable Majerome_PricesMassUpdate
bin/magento setup:upgrade

```

Usage
-----

[](#usage)

- After installing this module, try the console command `bin/magento majerome:mass-update:prices`,
- 1st chose your language EN or FR,
- Then enter a target price to update the whole catalog.

[![Demo](https://raw.githubusercontent.com/majerome/magento2-module-pricesmassupdate/master/docs/demo.png)](https://raw.githubusercontent.com/majerome/magento2-module-pricesmassupdate/master/docs/demo.png)

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance42

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

470d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d15664a74fa203e8c8f20564d6964b91e214cba18d641b6b86e1a88348ad4fd3?d=identicon)[majerome](/maintainers/majerome)

---

Top Contributors

[![jelegrand](https://avatars.githubusercontent.com/u/139141868?v=4)](https://github.com/jelegrand "jelegrand (4 commits)")

### Embed Badge

![Health badge](/badges/majerome-magento2-module-pricesmassupdate/health.svg)

```
[![Health](https://phpackages.com/badges/majerome-magento2-module-pricesmassupdate/health.svg)](https://phpackages.com/packages/majerome-magento2-module-pricesmassupdate)
```

###  Alternatives

[yireo/magento2-theme-commands

CLI commands to manipulate themes

1334.2k1](/packages/yireo-magento2-theme-commands)[macopedia/magento2-categoryimporter

Category Importer for Magento 2

344.6k](/packages/macopedia-magento2-categoryimporter)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
