Showing results for 
Search instead for 
Did you mean: 

City dropdown

City dropdown

Following this topic I'm still having an issue with it. I get the response with the correct stateId, but it doesnt parrsed it to query.

Inspecting the city dropdown, it display like this

<select class="required-entry" name="billing[city]" id="billing:city">
    <option value=""></option>
    [object Object]

I've modified IndexController.php to the following since the one from topic didnt work

class Zeo_Citydropdown_IndexController extends Mage_Core_Controller_Front_Action{
    public function getCitiesAction($selectedCity = '',$stateId = ''){
        $result['mycities'] = $this->getRequest()->getParams();

Response from firebug


Tks for your time


Tags (1)

Re: City dropdown



We have made an extesnion for this. It is available here.


Good luck!