Magento 2 Personal Customer Discount Manual¶
Requirements and Installation¶
Personal Customer Discount supports both Community and Enterprise edition of Magento starting from version 2.2. The current version of Magento installed on your website can be found in the lower right corner of any backend page.
Personal Customer Discount extension has 2 separate ways of installation: via Composer or by copying the code.
Installation Via Composer¶
-
Create a folder anywhere on your server (preferably not in the Magento installation directory). Put the zip archive into this folder.
-
Use any SSH client to connect to your server. Navigate to the root Magento folder. Bear in mind that the user should write permissions to this folder and its subfolders.
-
Add the folder with the extension's archive as a repository. For this, run the Composer command:
sh composer config repositories.mageworx artifact {/ABSOLUTE/PATH/TO/FOLDER}
like
sh composer config repositories.mageworx artifact /mageworx/extensions/zip
This command will add these lines to your
composer.json
filejson "mageworx": { "type": "artifact", "url": "/mageworx/extensions/zip" }
-
Perform the command:
composer require mageworx/module-personalpromotion
-
Clear the compiled code and the cache:
sh php bin/magento setup:upgrade php bin/magento cache:flush php bin/magento setup:static-content:deploy
-
To update the extension via composer perform the command:
composer update mageworx/module-personalpromotion
Installation by copying the code¶
-
Download the extension's package from your customer account, unzip it.
-
Use any SSH client to connect to your server. Bear in mind that the user should write permissions to this folder and its subfolders.
-
Upload all the files and folders from the extension's package to the root Magento folder.
-
Via SSH, navigate to the root Magento folder and perform the command:
php bin/magento module:enable MageWorx_PersonalPromotion
-
Clear the compiled code and cache:
php bin/magento setup:upgrade php bin/magento cache:flush php bin/magento setup:static-content:deploy
Extension Configuration¶
Backend Setup¶
Log into the Magento Admin panel and go to STORES ⟶ Configuration ⟶ MAGEWORX ⟶ Personal Customer Discount.
The Enable Personal Customer Discount in Cart Price Rules setting provides the possibility to temporary disable/re-enable the extension functionality directly from the backend.
Personal Customer Discount Configuration¶
The extension extends the default cart price rules configuration.
To edit the cart price rule, the store owner should go to MARKETING ⟶ Promotions ⟶ Cart Price Rules.
From here, the store owner can either Add New Rule or Edit the rules that have been created before. Please note that during the initial setup this grid may be empty.
Our extension adds the special Customers tab.
This tab shows the customers grid with the default possibility to sort out the values and reset the filters. The customer grid supports the mutiselect possibility to choose several customers simultaneously. Once the customer(-s) are selected and the configuration is saved, the cart price rule will be triggered only for the targeted shopper(-s).
Note: if no customers are selected, the cart price rule will work for anyone
Personal Customer Discount Features in Magento 2 Enterprise¶
Magento 2 Eneterprise edition provides the possibility to add scheduled updates. Cart price rules can be applied on schedule as part of some campaign.
To add the new schedule update, click the Schedule New Update button.
Our extension provides the same features for the scheduled updates as well.
The functionality is the same as described previousely in this user guide.
Once the schedule update has been created, the store owner should click the Save button.
The upcoming update will be shown in the scheduler.
Got Questions?¶
Need help with the extensions? Feel free submit a ticket from https://www.mageworx.com/support/
Mageworx offers outstanding services developing custom-tailored solutions for Magento platform to attain your eCommerce objectives. Our professional impassioned team provides profound and custom oriented development of your project in a short timeframe.