==========================================
Using discount tags with a barcode scanner
==========================================

If you want to sell your products with a discount, for a product getting
close to its expiration date for example, you can use discount tags.
They allow you to scan discount barcodes.

.. note::
   To use discount tags you will need to use a barcode scanner, you
   can see the documentation about it 
   `here <https://docs.google.com/document/d/1tg7yarr2hPKTddZ4iGbp9IJO-cp7u15eHNVnFoL40Q8/edit>`__

Barcode Nomenclature
====================

To use discounts tags, we need to learn about barcode nomenclature.

Let's say you want to have a discount for the product with the following
barcode:

.. image:: media/discount_tags01.png
   :align: center

You can find the *Default Nomenclature* under the settings of your PoS
interface.

.. image:: media/discount_tags02.png
   :align: center

.. image:: media/discount_tags03.png
   :align: center

Let's say you want 50% discount on a product you have to start your
barcode with 22 (for the discount barcode nomenclature) and then 50 (for
the %) before adding the product barcode. In our example, the barcode would
be:

.. image:: media/discount_tags04.png
   :align: center

Scan the products & tags
========================

You first have to scan the desired product (in our case, a lemon).

.. image:: media/discount_tags05.png
   :align: center

And then scan the discount tag. The discount will be applied and you can
finish the transaction.

.. image:: media/discount_tags06.png
   :align: center
