Hello, did you solve this? I have the same problem on a client’s site.
Thank you for your response. I have solved the issue. It was related to cache setup.
Hello,
Yes, the given product in the cart has the shipping class.
Hello Jeroen,
Thank you for your fast reply.
Here you can see the rule setup: https://diverse-proj.s3-us-west-2.amazonaws.com/shipping-validation-rule.png
We are not getting the validation at Cart or Checkout. The restricted products can be bought anywhere outside Barcelona. Or goal is for certain products not be bought outside Barcelona.