opengento / module-saleable
This extension allows to set if a product is saleable and can show its price by scope and customer group.
                                    Fund package maintenance!
                                                                            
                                                                                                                                        www.helloasso.com/associations/opengento/formulaires/1
                                                                                    
                                                                
Installs: 6 336
Dependents: 0
Suggesters: 0
Security: 0
Stars: 13
Watchers: 9
Forks: 7
Open Issues: 1
Type:magento2-module
pkg:composer/opengento/module-saleable
Requires
- php: ^8.2
 - magento/framework: *
 - magento/module-catalog: *
 - magento/module-checkout: *
 - magento/module-config: *
 - magento/module-customer: *
 - magento/module-store: *
 
Requires (Dev)
- magento/magento-coding-standard: ^33
 - roave/security-advisories: dev-latest
 
README
This extension allows to set if a product is saleable and can show its price by scope and customer group.
Setup
Magento 2 Open Source or Commerce edition is required.
Composer installation
Run the following composer command:
composer require opengento/module-saleable
Setup the module
Run the following magento command:
bin/magento setup:upgrade
If you are in production mode, do not forget to recompile and redeploy the static resources.
Features
Saleable
- Define if the price can be displayed on the storefront, depending of the customer group and by scope.
 - Define if the sales are enabled on the website and by customer groups.
 
Settings
The configuration for this module is available in 'Stores > Configuration > Catalog > Catalog > Price'.
- Show Prices for Customer Groups
 
The configuration for this module is available in 'Stores > Configuration > Sales > Checkout > Shopping Cart'.
- Enable Sales for Customer Groups
 
Product Attributes
- can_show_price (yes/no)
 - is_purchasable (yes/no)
 
Do not create the following attributes as they are already used internally by Magento for field alias and flag:
- is_saleable
 - is_salable
 - salable
 
Support
Raise a new request to the issue tracker.
Authors
License
This project is licensed under the MIT License - see the LICENSE details.
That's all folks!