Skip to content

Commit

Permalink
Merge pull request #42 from customgento/mass-update-cron-command
Browse files Browse the repository at this point in the history
Add cron command
  • Loading branch information
sprankhub committed Mar 30, 2023
2 parents ecac3f8 + 3a405c4 commit bafefc0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ gem 'github-pages', group: :jekyll_plugins

# to publich without github page
#gem "jekyll"

gem "webrick", "~> 1.8"
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,14 @@ GEM
unf_ext
unf_ext (0.0.8.2)
unicode-display_width (1.8.0)
webrick (1.8.1)

PLATFORMS
ruby

DEPENDENCIES
github-pages
webrick (~> 1.8)

BUNDLED WITH
2.3.22
7 changes: 6 additions & 1 deletion pages/mass-update-tier-prices-m2.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ Select "Mass Update Tier Prices". Add and configure as many tier prices as neede

![Configure The Tier Price Rules]({{ "images/mass-update-tier-prices-m2/configure-rules.jpg" }} "Configure The Tier Price Rules")

You will now be notified, that the tier price changes are scheduled for update and added to the queue. They get processed via the cronjob, which may take a few minutes, depending on your cronjob settings. You need to make sure, that your cronjob is running correctly. You can check the status of the updates under System > Action Logs > Bulk Actions.
You will now be notified, that the tier price changes are scheduled for update and added to the queue. They get processed via the cronjob, which may take a few minutes, depending on your cronjob settings. You need to make sure, that your cronjob is running correctly. You can check the status of the updates under System > Action Logs > Bulk Actions.

If you don't run cronjobs, e.g. in a local devolpment environment, see [Configuration - Running Mass Updates without Cronjob](#running-mass-updates-without-cronjob).

![Queue Notification]({{ "images/mass-update-tier-prices-m2/queue.jpg" }} "Queue Notification")

Expand Down Expand Up @@ -72,6 +74,9 @@ If you are using composer (you should!) and downloaded the extension from the Ma
## Configuration
Conveniently, the extension is enabled by default. No configurations needed.

### Running Mass Updates without Cronjob
The module adds the mass update to the queue to be processed via the cronjob. If you don't have your cronjob running, you can use the command `bin/magento queue:consumers:start customgento.massupdate.tierprices` to start the consumer manually.

## Troubleshooting - I installed the extension, but it does not work
1. Do you use the latest version of the extension?
2. Do you use Magento >= 2.4?
Expand Down

0 comments on commit bafefc0

Please sign in to comment.