I got it working (debugging in Visual Studio Code) but I don’t remember where exactly I modified the code 🙁 and I didn’t write any commentlines to indicate that I modified the code…
The idea is: they get the productId and then check if the parentId of the product exist or is greater then 0 (variant=true). I just replaced the productId with the parentId when it exists. That way the counter works on the product, not on the variants.
When I find some time I’ll run a code compare to find the differences. Anyway, don’t by the premium version, they never even answered my question. Money trown away.