You can install Magento 2 POS System by Magefan, using composer or archive installation methods.

Do you want us to install the POS System for you? Let our technical engineers do it – check out our installation service.

Note: if you want to install the POS System Plus please navigate to your Magefan Account > My Downloads > Install via Composer to get the composer installation instructions.

  1. Open command line.
  2. Using command "cd" navigate to your Magento 2 root directory.
  3. Run CLI commands:
composer config repositories.magefan-pos-m2 composer https://46QpEMZJ8rjtfR0WbZ7b6oNdx9cw8bNX:fCmVkLKCEOcIR7UMf89kwPWRkiqrOP0Z@magefan.com/repo/
composer require magefan/module-pos
# Authentication required (repo.magento.com)
# Get your Magento Marketplace authentication keys or use these:
# Username: 7c018006799466c681ad507e27904677
# Password: 289077c86e811661a8f7751828485d3a
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Installation using archive and FTP

  1. Download POS System ZIP-Archive from magefan.com website (not GitHub or other sources).
  2. Extract files.
  3. Copy app and pub folders from the archive to your Magento 2 folder.
    Magento 2 POS System
  4. In a command line, using "cd", navigate to your Magento 2 root directory.
  5. Run CLI commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Note: if you don't want your website to be down during deployment, try these zero downtime deployment commands for Magento 2.

POS Nginx Virtual Host Configuration

In case you use Nginx web server you need to modify the virtual host of your domain and add this additional section:

## PHP entry point for POS application
location ~* ^/pos($|/) {
    location ~ ^/pos/index.php {
        fastcgi_split_path_info ^(/update/index.php)(/.+)$;
      fastcgi_pass fastcgi_backend;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        include fastcgi_params;
   }
}

before this one:

location / {
    try_files $uri $uri/ /index.php$is_args$args;
}

Don't forget to save the changes and restart Nginx by running the command:

sudo service nginx restart

Once you install the POS system, check the configuration guide to create store locations, terminals, and cashiers and find the POS frontend via mydomain.com/pos/.