OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?

VehicleManager component support

Go to bottom Favoured: 0

Hi: Price section

ardoke (Visitor)
Posts: 0
graphgraph
User Offline
Hi: Price section 12 Years, 9 Months ago
Karma: 0  
Hello

I would like to remove price but i dont want price at all but still add new cars.

Where can i change it so?

Thanks.
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Hi: Price section 12 Years, 8 Months ago
Karma: 101  
Hi,

In admin.vihiclemananger.html.php

in function: editVehicle


Code:

 else if (form.price.value==''||form.priceunit.value=='') {
    
      alert("<?php echo _VEHICLE_MANAGER_ADMIN_INFOTEXT_JS_EDIT_PRISE;?>");
      return;
    }




and please remove:
Code:

    <tr>
      <td valign="top" align="right">
        <strong><?php echo _VEHICLE_MANAGER_LABEL_LISTING_TYPE;?>:</strong>
      </td>
      <td align="left">
        <?php echo $listing_type_list;?>
      </td>
    </tr>
    <tr>
      <td valign="top" align="right">
        <strong><?php echo _VEHICLE_MANAGER_LABEL_PRICE;?>:</strong>
      </td>
      <td align="left">
        <input class="inputbox" type="text" name="price" size="15" value="<?php echo $row->price;?>" />&nbsp;
        <input class="inputbox" type="text" name="priceunit" size="15" value="<?php echo $row->priceunit;?>" />
      </td>
    </tr>



Thanks,
OrdaSoft team
Logged Logged
The administrator has disabled public write access.
Go to top
»