From 3a405c40061e14d73cd931d2a76e44c6e067371a Mon Sep 17 00:00:00 2001 From: Irina Smidt Date: Wed, 29 Mar 2023 15:29:18 +0200 Subject: [PATCH] Add cron command --- Gemfile | 2 ++ Gemfile.lock | 2 ++ pages/mass-update-tier-prices-m2.md | 7 ++++++- 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 515633a..85ce24b 100644 --- a/Gemfile +++ b/Gemfile @@ -5,3 +5,5 @@ gem 'github-pages', group: :jekyll_plugins # to publich without github page #gem "jekyll" + +gem "webrick", "~> 1.8" diff --git a/Gemfile.lock b/Gemfile.lock index ddfa0c7..5bd9d6f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 diff --git a/pages/mass-update-tier-prices-m2.md b/pages/mass-update-tier-prices-m2.md index adf6e00..713dd84 100644 --- a/pages/mass-update-tier-prices-m2.md +++ b/pages/mass-update-tier-prices-m2.md @@ -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") @@ -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?