Hi @ivanberlanga,
You should be able to use the hook woocommerce_package_rates
without problems. If you are having issues making it work with Fluid Checkout, and is able to do it with Fluid Checkout deactivated, please give more details about:
– Your settings for the shipping methods
– The current behavior or error messages
– The expected behavior
If you only need the “Free Shipping” method to be available for orders with a total higher than a certain amount, let’s say “free shipping on orders above 100 EUR”, you can use the native “Free shipping” shipping method to set this rule.
In case your conditionals are more complicated, you will need a plugin or custom code for that.
The plugin below seems to be flexible enough to set conditionals for showing/hiding any shipping method, not only “Free Shipping”, with their PRO version. I used it on a client project, although we are using the free version which is enough for what we needed.
https://www.ads-software.com/plugins/hide-shipping-method-for-woocommerce/
I’m closing this topic for now. If you need further assistance, please reply to this topic.
Best,
Diego