Advertisement:

Author Topic: Cars attribute transmission wont change  (Read 1040 times)

saiyedsarwar1987

  • Newbie
  • *
  • Posts: 2
Cars attribute transmission wont change
« on: December 31, 2014, 09:10:31 pm »
Hi there,

can any 1 help me. In my website the transmission wont change from automatic to manual when the advertisment is posted. Meaning if a person tried to post an advertisment and selects manual as transmission still when the ad is posted it shows automatic.

my website is www.jdmuae.com/classified

reply appreciated.

<div class="row _200">
        <?php
            if( Session::newInstance()->_getForm('pc_transmission') != '' ) {
                $detail['e_transmission'] = Session::newInstance()->_getForm('pc_transmission');
            }
        ?>
        <label><?php _e('Transmission', 'cars_attributes'); ?></label>
        <select name="transmission" id="transmission">
            <option value="MANUAL" <?php if(@$detail['e_transmission'] == 'MANUAL') { echo 'selected'; } ?>><?php _e('Manual', 'cars_attributes'); ?></option>
            <option value="AUTO" <?php if(@$detail['e_transmission'] == 'AUTO') { echo 'selected'; } ?>><?php _e('Automatic', 'cars_attributes'); ?></option>
        </select>
    </div>
« Last Edit: January 01, 2015, 02:03:34 pm by saiyedsarwar1987 »