I am trying to extend shipping method with respect to cities.
senerio :
When i select country in flat rate, Automatically populate cities with respect to selected country.
How may i change or extend shipping method
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To answer your own questions in the future always explore the methods in abstract classes and you find that every shipping method has a parent method isActive() defined in their object.
So your task is to write your restrictions to this method in your shipping method class that extends Mage_Shipping_Model_Carrier_Abstract
or you can narrow your needs to specific methods in abstract( dont forget to call the parent method in your overwrite)