Product Units and Quantities
- Unzip and paste the extension file into your root Magento folder.
- Connect to your server by SSH.
- Go to your Magento root folder.
- To install the extension, perform this command:
php bin/magento setup:upgrade
- To switch the extension on/off, perform these commands:
php bin/magento module:enable Aitoc_ProductUnitsAndQuantities php bin/magento module:disable Aitoc_ProductUnitsAndQuantities
You can activate/deactivate several Aitoc extensions at once by specifying their names separated by space in the command.
Configuring the Product Units and Quantities extension
STORES > SETTINGS - CONFIGURATION > AITOC EXTENSIONS > PRODUCT UNITS AND QUANTITIES > GENERAL SETTINGS
Here you can manage settings of the extension.
Select different input options (Dropdown, Slide, Plus Minus, Arrows) to change the default input of the QTY field on product pages.
Go to the ‘Use quantities’ field to specify default quantities for products available in your online store.
Select the value ‘Yes’ in the ‘Allow units’ field and the set the default product unit name (e.g., 5 pieces) to be displayed on the product pages’ QTY input field.
If you choose the value ‘No’ in the ‘Allow units’ field, info from the next two fields will be not displayed on the front-end.
Setting units and quantities for a single product
PRODUCT > CATALOG > PRODUCT UNITS AND QUANTITIES
Click the product to start setting custom units and quantities for it.
You can configure settings of the Product Units and Quantities extenstion for each product indivudally.
Set custom unities and quantities for a single product. Or use config settings previously specified in the General Settings tab.
Product Units and Quantities on the front end
Shoppers select the product’s QTY before adding the item to the cart. The QTY input option set by admin is used.
Front-end view: catalog
Under each product there is the price per the particular amount of items.
Front-end view: shopping cart
Customers can change products’ Qty in the cart by using available QTY input options.