Hi,
I've tried to reproduce the problem on my end but it worked just fine:
- I configured a product with a weight of 0.5kg:
take.ms/GmvU2
- I configured a shipping method with a max eight of 1kg:
take.ms/HEthc
- I see the shipping method on the checkout for 2 items of that product in the cart:
take.ms/a73YH
And I've checked the code handling the comparison and it properly check with <= and >=, and not < and >
I've also checked and we've had it like that in HikaShop since at least two years.
So far, these were facts proving that the system works as it should on the weight check. Now, I'll make assumptions on your issue, as you didn't provide a link to the website nor screenshots of how your checkout is setup.
With your example, when you add a third element in the cart for that product, the second shipping method should appear with the $20 price mark if your hypothesis was correct. But I suppose it is not appearing when you do that.
This means that the issue is not what you think it is. The shipping price disappears from the cart because the shipping method selection is invalidated from the total weight change. Normally, a shipping method would be reselected automatically, but it's not done on your website because I suppose that you turned off the "auto select shipping and payment methods" setting of the HikaShop configuration. And thus, you have to go back to the shipping methods selection step of your checkout in order to reselect your shipping method after you changed the products in the cart. So you probably want to turn back on that setting if you turned it off.