Breadcrumbs

Home / Support Center / Documentation / DJ-Catalog2 / Units management

Top Menu

Content

Units management

You can create your own units in DJ-Catalog2. 

This is the powerful feature that allows you to sell computer parts in units, apples in Kilograms, liquids in Liters or land in square meters. You can even create your custom units.

Each unit can be assigned to any product in any category.

Units management

You can access the Units management in by opening the DJ-Catalog2 component and clicking on the Units link in the left sidebar.

Once there, you can see the list of available units. By default we have added the most popular units:

dj-catalog2-units-list-backend

Creating the new Unit

From here you can click the "New" button (top left) and create the new Unit.

Things you can set in the Unit:

dj-catalog2-units-detail-backend

  1. Unit name - your unit name
  2. Unit symbol - set any symbol for your unit, that can be for example Kg, m2, liters etc
  3. Default - set if this is the default unit for all the products
  4. Display input - Displays quantity input box. Please note that when this option is disabled then adding the product to cart will add the minimum possible value.
  5. Display unit - Displays the unit symbol after quantity box
  6. Display +/- buttons - Displays the buttons allowing to increase or decrease the quantity
  7. Is integer - set if you want it to be a number only
  8. Lowest value - Lowest possible value, e.g.: 1, 0.1, 0.01, 0,001
  9. Maximum value - Maximum possible value. Enter 0.0000 if you do not want to set the maximum value
  10. Step - Multiplier of the lowest value. Should be greater or equal than lowest value, e.g.: 1, 5, 0.5

Once you are done with the setup you can save the unit by clicking the Save button top left.

Setting the unit in the product

When you are creating or editing the product you can choose the Unit for it.

Go to DJ-Catalog2 -> Products and edit or create a new product. Now, open the "commerce" tab to see the options.

Choose the correct Unit for your product and click save. From now on the product is available with the chosen Unit.

dj-catalog2-units-product

Units on front-end

The units that are tied to the products are displayed on the frontend and are used for cart calculations, notifications and all places related to the product.

See the video explaining how Units work:


Found this article interesting? Subscribe for more.
Subscribe to the Telegram bot / Subscribe to the Messenger Bot
Or share this article with your friends.

 
 

Footer Menu