i hope you can help me, i'm using iksanika one page checkout extension in magento 1.9 website, i want to add custom dropdown to add city in my billing address and shipping address. i have tried this

<?php if(!$this->settings['exclude_city']):?>
<?php $shippingFields['city'] = '   <label for="billing:region">'.$this->__('City').' <span class="required">*</span></label><br/> <select name="shipping[city]" placeholder="Enter City Name" value="'.$dataHelper->clearDash($this->getQuote()->getShippingAddress()->getCity()).'" title="'.$this->__('City').'" class="input-text'.$this->helper('customer/address')->getAttributeValidationClass('city').'" id="city" >    
<option value="Chandigarh">Chandigarh</option>
<option value="Mohali">Mohali</option>
<option value="Panchkula">Panchkula</option>

but its not working. Please help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.