DEAR CUSTOMERS,

First of all we apologize for the delay in assisting you in the past. We have just undergone a major personnel change and have instead prepared a new plan to support better development to deliver a better quality service to all of our customers.

From May 1, 2021, we will migrate to the customer support and management system on the new platform. You can submit a support request, come up with ideas for a custom request if you want. All in one platform. We always acknowledge all of your comments.

You can register your customer account here with your purchase code: https://sfwebservice.com/envato-register/

Or you also possible register new account as a customer without purchase code https://sfwebservice.com/register/

Again apologize for the delay in the past time. We're back for a better service mission.

THANK YOU VERY MUCH!

SFWebservice Team

Okay
  Print

How to add new or change option for sq feet to sq Hectares

Is it possible to change the option for sq feet to sq Hectares as that will be easier and I don't need sq feet.

You can use my custom code 

Go to location file and copy my code 

+ wp-contentpluginsiwpropertyincludesadminsetting.class.php  line 500

array(
    'name' => __( 'Property measurement unit', 'iwproperty' ),
    'id'   => 'measurement_unit',
    'type' => 'select',
    'std' => 'sqft',
    'options' => array(
        'sqft' => __('Square Feet - ft²', 'iwproperty'),
        'sqmt' => __('Square Meters - m²', 'iwproperty'),
        'sqha' => __('Square Hectares - ha', 'iwproperty'),
    ),
),

+ wp-contentpluginsiwpropertyincludeshelper.function.php  line 1256

function iwp_get_measurement_unit_text($measurement_unit = null){
    if($measurement_unit === null){
        $measurement_unit = iwp_option('measurement_unit', 'sqft');
    }
    if($measurement_unit == 'sqmt') {
        $unit_text = _x('m²', 'Measurement unit text', 'iwproperty');
    }elseif($measurement_unit == 'sqft'){
        $unit_text = _x('ft²', 'Measurement unit text', 'iwproperty');
    }else{
        $unit_text = _x('ha', 'Measurement unit text', 'iwproperty');
    }
    return $unit_text;
}

+ wp-contentpluginsiwpropertyincludesclassproperty.class.php line 1547 

'measurement_unit' => array(
    'name' => __( 'Measurement unit', 'iwproperty' ),
    'id'   => IWP_PREFIX.'measurement_unit',
    'type' => 'select',
    'std' => 'sqft',
    'options' => array(
        'sqft' => __('Square Feet - ft²', 'iwproperty'),
        'sqmt' => __('Square Meters - m²', 'iwproperty'),
        'sqha' => __('Square Hectares - ha', 'iwproperty'),
    ),
),