Magento 2 Customer Group Prices Manual

Customer Group Prices

Magento 2 Customer Group Prices allows the store owner to specify distinctive product prices for different customer groups. This opens new opportunities for the store owners to fulfil their needs. One of such business cases is setting different prices for the logged-in and not logged-in customers. With this extension, the store owner can run more targeted marketing, deploy various pricing strategies, engage the customers in certain activities and more. The extension lets the store owner set this type of the price for each group and display it as a regular one, without crossing and mentioning the original product one.

By means of this extension, the price can be specified for every customer group on the product level (all major Magento 2 product types are supported). Due to the great scalability, an unlimited number of products, customers, and customer groups are easily supported.

On the frontend, these prices can be shown not only on the product pages, but on any layered navigation page and on the search results pages as well.

Requirements and Installation

Customer Group Prices supports both Community and Enterprise edition of Magento starting from version 2.1. The current version of Magento installed on your website can be found in the lower right corner of any backend page.

Magento 2 Version

Customer Group Prices extension has 2 separate ways of installation: via Composer or by copying the code.

Installation Via Composer

  1. Create a folder anywhere on your server (preferably not in the Magento installation directory). Put the zip archive into this folder.

  2. 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.

  3. Add the folder with the extension's archive as a repository. For this, run the Composer command:

    composer config repositories.mageworx artifact {/ABSOLUTE/PATH/TO/FOLDER}
    

    like

    composer config repositories.mageworx artifact /mageworx/extensions/zip
    

    This command will add these lines to your composer.json file

    "mageworx": {
        "type": "artifact",
        "url": "/mageworx/extensions/zip"
    }
    
  4. Perform the command:

    composer require mageworx/module-customergrouppricesmeta
    
  5. Clear the compiled code and the cache:

    php bin/magento setup:upgrade
    php bin/magento cache:flush
    php bin/magento setup:static-content:deploy
    
  6. To update the extension via composer perform the command:

    composer update mageworx/module-customergrouppricesmeta
    

Installation by copying the code

  1. Download the extension's package from your customer account, unzip it.

  2. Use any SSH client to connect to your server. Bear in mind that the user should write permissions to this folder and its subfolders.

  3. Upload all the files and folders from the extension's package to the root Magento folder.

  4. Via SSH, navigate to the root Magento folder and perform the command:

    php bin/magento module:enable MageWorx_CustomerGroupPrices
    
  5. 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 ⟶ Customer Group Prices.

group prices

The Enabled Customer Group Prices setting provides the possibility to temporary disable/re-enable the extension functionality from the backend.

If the Used Group Price in Catalog Price Rule is enabled, the special prices will be automatically set in any cart/catalog price rules.

Customer Group Price Configuration

The extension extends the default customer groups configuration. It enables the possibility to set fixed/percentage surcharges or discounts for the targeted customer groups. Go to CUSTOMERS ⟶ Customer Groups and click any group or create the new group by hitting the Add New Customer Group button.

group prices

The extension adds two extra settings: Group Price and Price Type.

The Group Price field allows to set the numerical value for the discount or surcharge. The minus sign is used for the discounts while the plus is for the surcharges. The type of these discounts/surcharges is handled by the Price Type setting. It can be either Fixed or Percent.

To give the $10 surcharge to the customers for all the products, the store owner needs to put the +10 in the Group Price field and select the Fixed value in the Price Type setting.

To give the 5% discount, the store owner should put -5 and Percent.

Group Prices on the Product Level

The store owner can specify the group prices on the product level as well. This may be important for the refined, granular product pricing. If the price is specified for the customer group and the product, the product’s price will be shown. To modify the desired group prices, the store owner should go to CATALOG ⟶ Products and select the desired product or create the new one by clicking the Add Product button.

group prices

Click the Advanced Pricing link. The popup will be shown.

group prices

The extension adds the Group Price and Special Group Price. The first one modifies the product’s price, the second one edits the special price. In Magento 2, the special price appears instead of the regular price, followed by a notation that shows the regular one.

group prices

To add the new group price or special group price the store owner should click the Add button. The grid contains the columns that allow to select the desired Website and the Customer group. The Price field allows to set the numerical value for the discount or surcharge. The minus sign is used for the discounts while the plus is for the surcharges. The type of these discounts/surcharges is handled by the Price Type setting. It can be either Fixed or Percent.

When the edits are ready, click the Done button and then Save the product.

Got Questions?

MageWorx offers FREE lifetime support and updates for any extension developed for Magento. Need help with the extensions? Feel free to submit a ticket from http://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.