If you successfully followed the previous instructions, you should now have a bare minimum shipping extension. Consider it a starting point for adding further business logic to it. Right now, our shipping method will always set the shipping price to $14.99, since this value is currently hardcoded into the code, and it will be applicable to customers from all states.
In order to achieve the
Will only be applicable to the customers who selected United States as a shipping country functionality as planned, the following steps need to be performed:
app/code/community/Foggyline/Cargo/etc/system.xmlfile by adding the following two fields to it, right below the
<allowspecific translate="label"> <label>Ship ...