In order to offer you, as a webshop owner, even more freedom in how you offer your products, you can install the app 'Products in decimals'. This app makes it possible to sell decimal product quantities. Useful if you want to sell 1.25 meters of dust or 2.5 kilos of cement, for example.
Install the app
You can find the app 'Products in decimals' in the CCV Shop App Store under the category 'Support'. You can activate this for free, after which the settings for products become available in decimals.
You can find the setting of products in decimals under ''Starting point > My Webshop > Settings > General > General webshop settings''. You can set here how many decimal places a new product you create must have as standard. This setting can of course be overwritten per product in the product management.
In product management you can override the setting you set in the step above for a specific product by choosing a different value for the field "Decimals for amounts" on the 'General' tab.
With your stock management, it is now possible to keep track of the number of decimal places that you have set with the first tab. If you enter more decimals than the setting allows, this will be automatically completed for you.
The stock is now also listed in decimals in the overview of product management.
It is also possible to use fixed graduations with decimal numbers. Please note that the unit price that is entered is multiplied by the decimal number, as shown below.
In the order process you can, if you have filled in fixed rates, make a choice of graduations that contain decimal quantities or not. The possible additional price of attributes will also be multiplied by the decimal number. In the example below the basic price of € 10, - with an attribute of € 2.50 comes through the scale with the number 1.5 so on a total of € 18.75.
If you do not use fixed rates, the price of attributes in the shopping cart will be charged. In the calculation example as below there is a basic price of € 10, - with an attribute that costs € 2.50. This multiplied by the number of 1.2 ensures that the total for this product is € 15, -.
Use of PSP's
The use of products in decimals can cause problems for some payment providers (PSPs). This is because some PSPs themselves calculate the totals on the basis of the prices and numbers and take them into the verification of the payment order. Because not all payment providers can deal with decimal numbers of products, orders that are actually placed in decimals can prevent the payment from succeeding. The payment providers who are known to have problems with the use of products in decimals are:
- Rabobank OmniKassa
When creating a manual order in order management, decimal numbers can also be entered (for the products that support this).
If an order is processed in order management where the numbers are updated via the + and - buttons, the number of that product will be increased or decreased by 1. 1.5 will become 2.5 at + and vice versa.