<!-- TITLE: Hide Cart Product Price - Magento 2 module documentation--> <!-- SUBTITLE: Author: Paweł Wasiluk --> # Hide Cart Product Price Module ## Module overview Control which customer group shoud be able to add product to cart and see price of your products. Hide Cart Product Price module lets you have it for single products. ## Module compatibility This module is compatibile with Magento Community versions: **2.3**. ## How it works After Installing module you should head to Admin Panel, go to **Customer > Customer Groups** there you can add your new customer groups by your desire. mportant is to remember their ids, because we will be using them in next steps. Now go to attribute edition page, **Stores > Attributes > Product** there find attributes by code that our module has added, that are: **hide_buy_for_user_groups**, **hide_price_for_user_groups**. Edit mentioned attributes by adding options to them. ![Image 1](/uploads/hide-cart-and-product-price/i-1.png "Image 1") The number under store view should be reflecting id of customer group. Now you can go to product edit page and there mark what customer group will not see price and/or will not be able to add product to cart. ![Image 2](/uploads/hide-cart-and-product-price/i-2.png "Image 2") ![Image 3](/uploads/hide-cart-and-product-price/i-3.png "Image 3") ## Installation ### Composer 1. Add repo to composer.json: ```text "repositories": [ ... { "type": "vcs", "url": "git@git.auroracreation.com:aurora-modules/hidecartproductprice.git" } ... ], ``` 2. Add package to composer.json: ```text "require": { ... "aurora/hide-cart-product-price": "*" ... }, ``` 3. In Magento root folder run commands: ```text composer update aurora/hide-cart-product-price php bin/magento module:enable Aurora_HideCartProductPrice php bin/magento setup:upgrade ``` ### Manual 1. Unzip archive. 2. Upload extension files on your server to: ```text {Magento root} └── app/ └── code ``` 3. In Magento root folder run commands: ```text php bin/magento module:enable Aurora_HideCartProductPrice php bin/magento setup:upgrade ``` ### Thank you for your interest in our products!