Reading list Switch to dark mode

    POS Unit Measure for Magento 2

    Updated 29 August 2022

    POS Unit Measure module for Magento 2 helps the POS agent to change the measurement units (such as – liter, kilo, gallon, pound, meter) of products in the POS cart. With this, customers will be able to buy the product at different quantities and varying units.

    Note – To use this module, you must install the Webkul Point of Sale (POS) System for Magento 2 first.

    Watch the below video tutorial to understand the extension workflow:

     

    Feature List

    • The admin can create a unit of measure category.
    • Admin can also create a unit of measures.
    • The POS agent changes the unit of measure of any product in the cart.
    • A product can be sold with one or many units of measure in a single order.
    • Price also updated with respect to the new unit of measure.
    • The stock is maintained in inventory with respect to the purchased unit of measure and sold the unit of measure.
    • Invoice for the particular order also maintained with new units of measure.
    • The stock of the POS product updates as per the POS order.
    • The admin can enable & disable the module from configuration Yes/No.

    Installation

    First, Customers will get a zip folder and they have to extract the contents of this zip folder on their system.

    The extract folder has an src folder, inside the src folder you have the app folder.

    Searching for an experienced
    Magento 2 Company ?
    Read More

    Now, they need to transfer this app folder into the Magento 2 root directory on the server as shown below.

    Magento 2 Point of Sale Installation Of Magento2 Multi Vendor Marketplace

    After the successful installation, the users have to run the following commands on Magento2 root directory:

    First command –

    php bin/magento setup:upgrade

    Second Command –

    php bin/magento setup:di:compile

    Third Command –

    php bin/magento setup:static-content:deploy

    Thus, after running the commands, they have to flush the cache from the Magento admin panel by navigating through->System->Cache management as shown below:

    Installation Of Magento2 Multi Vendor Marketplace

    Thus, in this way, you can install the module.

    Language Translation

    For module translation, navigate to the following path in your system  app/code/Webkul/PosUnitPrice/i18n/en_US.csv.

    Open the file name en_US.CSV for editing as shown in the below screenshot:

    LANGUAGE TRANSLATION

    Then replace the words after the comma(,) on the right in the file with your translated words.

    csv

    After editing and translating the CSV file, the users need to save the translated file name according to your region language and country code such as – de_DE.CSV.

    Followed by uploading the translated file to the same folder from where the users have obtained it.

    Thus, the module translation is completed.

    Language translation

    Thus, in this way, language translation of the module is done.

    Configuration Through Commands

    The admin can enable or disable POS Unit Measure module through terminal. The commands to enable and disable module are given below:

    Enable Module Via Terminal

    For enabling the module via terminal, the admin needs to run the following commands:

    First Command

    php bin/magento module:enable Webkul_PosUnitPrice

    Second Command

    php bin/magento setup:upgrade

    Third Command

    php bin/magento setup:di:compile

    Fourth Command

    php bin/magento setup:static-content:deploy

    Disable Module via Terminal

    Also, if the admin wants to disable the module completely, then they need to run the following command through terminal:

    First Command –

    php bin/magento posunitprice:disable

    Second Command –

    php bin/magento setup:di:compile

    Third Command –

    php bin/magento setup:static-content:deploy

    Note –

    To disable the module and drop unit columns from existing Magento tables and drop module’s tables:

    php bin/magento posunitprice:disable --remove=tables

    Admin End Workflow

    After the successful installation of the module, the admin can easily create the Unit Of Measure Category.

    For that, they need to navigate through, Stores > Configuration first, you can go to the POS Unit Price configuration, here you have to fill all the options.

    devmage.com_11692_admin_admin_system_config_edit_section_pos_key_1311cbfc0ce410be672300fa2744d731bcc0d59061d2a05ecbd3f9a0eb8571f3_Webkul-Store

    devmage.com_11692_admin_admin_system_config_edit_section_pos_key_1311cbfc0ce410be672300fa2744d731bcc0d59061d2a05ecbd3f9a0eb8571f3_Webkul-Store-1

     

    devmage.com_11692_admin_admin_system_config_edit_section_pos_key_1311cbfc0ce410be672300fa2744d731bcc0d59061d2a05ecbd3f9a0eb8571f3_Webkul-Store-2

    In the POS Configuration page -> POS Unit 0f Measure, you can select enable & disable the module from configuration Yes/No.

    devmage.com_11692_admin_admin_system_config_edit_section_posunitprice_key_1311cbfc0ce410be672300fa2744d731bcc0d59061d2a05ecbd3f9a0eb8571f3_Webkul-Store

    After that, the admin has clicked on the POS Unit Measure, they can easily create a Unit Of Measure Category and can manage the existing one.

    webkul-magento2-pos-unit-price-category-2-1

    New Category

    For creating a new, the admin can click on the “Add Category”. And then, can enter the respective details as per below image:

    category-1

    Category Information:

    Category Name – Here the admin can enter the name of the category.

    Status – The admin cam make the status of the category as enable or disable.

    Thus, by following this, the admin can create a New POS Unit Of Measure Category.

    Manage Unit Of Measure

    The admin can create a new unit of measure or can edit the existing one.

    webkul-magento2-pos-unit-price-unit-measures-4

    For editing the existing one the admin can click on the edit button of that particular unit of measure.

    webkul-magento2-pos-unit-price-edit-unit-measures-4-1

    Add New Unit Measures

    For adding a new unit measures, the admin can click on the “Add New Unit Of measure” button. They can enter the required details as per below image:

    webkul-magento2-pos-unit-price-add-new-unit-measures-5-1

    Information for Unit:

    Unit Of Measure Title – Enter the title of the unit of measure.

    Unit Category – Select the unit category from the drop-down, which are already created.

    Type – Here, select the type for the unit of measure. There are three types of it:

    • Smaller than the reference unit of measure.
    • Reference unit of measure for selected category.
    • Bigger than the reference unit of measure.

    Status – The admin can make the status of the unit as enable or disable.

    Thus, the admin can save a new POS Unit Of Measure.

    POS Shopping Cart Settings

    For allowing the POS agent to checkout from the cart the product having quantity less that one. The admin has to do some settings.

    For that, they need to navigate to Stores > Configuration > Catalog > Inventory as per below image:

    webkul-magento2-pos-unit-price-pos-cart-settings-6-1

    Here, the admin can enable Minimum Qty Allowed in Shopping Cart and define the minimum quantity in the shopping cart.

    POS Product Settings

    There a some required fields, which need to be mentioned while creating the product for the POS. For the reference, please check the snapshot below:

    webkul-magento2-pos-unit-price-product-edit-7-1

    Unit of Measures – From here, select the created unit of measure for the product. This will be the base unit for the product.

    Now, Define the Quantity into the POS source.

    Also, for allowing the quantity of the product in decimal click on Advanced Inventory as per below image:

    webkul-magento2-pos-unit-price-advance-inventory-8-1

    Now here, make Qty Uses Decimals as Yes.

    POS – Front End

    Now the POS agent can add the product into the cart and edit the unit of measure of the product.

    webkul-magento2-pos-unit-price-pos-front-view-9-1

    Now for changing the unit of measure of the product, the POS agents need to click on the Scales symbol in the cart.

    webkul-magento2-pos-unit-price-pos-front-view-10-1

    From here, the POS agent and select the Unit Of Measures and click on DONE.

    After that, the unit measure of the product in the cart gets changed as per below image:

    webkul-magento2-pos-unit-price-pos-front-view-11

    For editing the quantity of the product, the POS agent can click the product in the cart. Now, the Quantity button in the POS gets enable as per below image:

    webkul-magento2-pos-unit-price-pos-front-view-12-1

    Now, they can click on the Quantity button for altering the quantity of the product in the cart. For the reference, check below:

    webkul-magento2-pos-unit-price-pos-front-view-13

    Here the POS agent can enter the desired quantity of the product and then click on the DONE button.

    After that, the quantity gets edited into the cart as per below image:

    webkul-magento2-pos-unit-price-pos-front-view-14-1

    POS – Invoice

    After placing the order, the Unit Of Measure of the product also gets displayed on the invoice of the order.

    For the reference, check below snapshot:

    webkul-magento2-pos-unit-price-pos-invoice-15-1

    POS Product Inventory

    Once, the order is placed on the POS, the inventory of the product get updated accordingly as per below image:

    Products_Inventory_Catalog_Magento_Admin-1

    Thus, that is all about Magento 2 POS Unit Price still have any issue feel free to add a ticket and let us know your views to make the module better https://webkul.uvdesk.com/.

    Current Product Version - 5.0.0

    Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home

    Table of Content