Calculate shipping rate based on postal code (Shipping 2.x)
I would like to add a rule that will change the shipping fee for a specific amount based on the postal code field the user gave.
If you want your stuff to be shipped to Smalltown, you will to pay $10 for shipping and if you want it to Awesometown, you have to pay $5. And of course I would like Commerce to decide what amount to charge based on the postal code.
I know I need to set up a rule to check the postal code field's content and if it's equal to something, then calculate the shipping fee, but I can't bring the postal code field into scope.
Anyone know how to do that?
I've posted this problem before, but did not get any answers, I hope it's appropriate to post again.
Doing the comparison solved, I just needed to use Order address component comparison instead of Data comparison...
But how can I set the shipping fee to a specific amount? I tried Set a data value action but the way I could do it, all the shipping services got the amount.