Quantity Selected in Decimal Point

  • Posts: 64
  • Thank you received: 3
10 years 1 month ago #209827

-- HikaShop version -- : 5.2.0

Hi, Is it possible to have a quantity be able to be selected/ordered in decimal points. For example ordering a quantity of 5.6 meters. The numbers would go up to 100 so there would be no use in making a variant as you would have to make 1000 variants (1.1, 1.2, 1.3 etc.) or is the only way to make a text field variant but it has to still calculate


HikaShop: v.2.5.0
Joomla: v.3.4.3

Please Log in or Create an account to join the conversation.

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 1 month ago #209838

Hi,

The product quantity must be an integer (a whole number) and it does not support decimal numbers.
So if you want to use such kind of special quantity ; you have to use a fixed unit (like "cm"). And then "5.6m" will become an integer : 560cm

Afterwards, it is possible in HikaShop to have special quantity selectors (we propose several by default).
You can see to override one in order to have you special selector which will convert the user selection to that "integer quantity".
It requires some development skills ; but it is something possible with Hikashop.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum