-- HikaShop version -- : 6.1.0
-- Joomla version -- : 5.3.4
-- PHP version -- : 8.3
Hi HikaShop team,
I’m experiencing an issue with a price calculation condition using decimal values.
Here’s the condition I’m trying to use:
{shape}>0.3 && {afwerking_zelfklevend_alu}>0
When {shape} has a value like 0.4, the condition does not work.
However, when I change the value from the shape into (for example 2), the condition works correctly.
So it looks like decimal numbers (with a dot) are not being parsed or compared properly inside conditions, while integers are.
But also, why will these conditions don't work?
{shape}=0.4
{shape}="0.4"
Thanks in advance for your help!
Best regards,
Lumiga