From 61f6e4e0403c63aaaf9320a33e911680c5d08929 Mon Sep 17 00:00:00 2001 From: Nick Khaetsky Date: Fri, 26 Mar 2021 10:19:12 +0300 Subject: [PATCH] 1.0.2: Updated README with detachers, added Shopaholic to required plugins --- Plugin.php | 3 +++ README.md | 6 ++++++ updates/version.yaml | 1 + 3 files changed, 10 insertions(+) diff --git a/Plugin.php b/Plugin.php index 18f08c6..7f337a0 100644 --- a/Plugin.php +++ b/Plugin.php @@ -8,6 +8,9 @@ */ class Plugin extends PluginBase { + /** @var array Plugin dependencies */ + public $require = ['Lovata.Shopaholic']; + /** * Returns information about this plugin. * diff --git a/README.md b/README.md index 522895f..051c2be 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,12 @@ Shopahelper is a basic bulk tool that helps you to manage your catalog. - `shopahelper:link.add-category-to-products-by-add-category {target_category_id} {current_category_id}` - Link Additional Category by ID to Products that has additional category by ID - `shopahelper:link.add-category-to-products-by-category {target_category_id} {current_category_id}` - Link Additional Category by ID to Products that has main Category by ID +### Detachers + +- `{products}` - In that variable you can pass a single ID or Multiple ID's separated by commas. + +- `shopahelper:detach.add-category-from-products {category} {products}` - Detaches Additional Category from Products by ID's separated by comma + ### Prices - `{products}` - In that variable you can pass a single ID or Multiple ID's separated by commas. Example: `shopahelper:price.upscale-by-percentage 10 13,14,15` - Upscale offers price by 10% in Products with id's 13,14,15 diff --git a/updates/version.yaml b/updates/version.yaml index 450d0ed..b824003 100644 --- a/updates/version.yaml +++ b/updates/version.yaml @@ -1 +1,2 @@ 1.0.1: First version of Shopahelper +1.0.2: Updated README with detachers, added Shopaholic to required plugins \ No newline at end of file