Skip to content

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

Notifications You must be signed in to change notification settings

majerome/magento2-module-pricesmassupdate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Latest Stable Version Composer Downloads Maintained - No

Table of contents

Summary

This module was inspired by the M.academy course named Magento Code That Sucks created by Mark Shust. The course compares different ways of updating prices for a large number of products to highlight best practices.

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

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

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

License

MIT

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages