• Anna
    October 3, 2014 at 12:51 pm #99566

    The theme converts anything you add int he price field into a number. If you add charters like – or . the theme will convert those into a number so strange thins will happen.

    To change this you need to remove a php instruction

    For property page you need to edit single_estate-property and look for this

    $price = intval ( get_post_meta($post->ID, 'property_price', true) );

    remove intval – should end up with something like

    $price = get_post_meta($post->ID, 'property_price', true) ;

    you should do the same thing also for these files

    comapare-prop.php

    footer_latest_widget.php

    prop-listing-ajax.ph

    prop-listing.php

    similar-listing.php

    There are also a few more places but you should not need to change in those places.

    Thanks

    amit paramar
    December 3, 2014 at 11:10 am #101017

    are you sure because i try same but no effect i need Price Format in Rs.11,00000.00 11 Lacks like this and one more lot size and property size i need text box type what ever user write should display

    alessiocandelma
    December 12, 2014 at 12:07 pm #101190

    Hi Anna,

    I changed the files but nothing happen.

    How I could transform the price field in a range price field?

    Ex: from € 100 to € 500.

    Thanks

    Alessio

    Camelia Support Team - WP Estate
    April 21, 2015 at 12:34 pm #106801

    Hello,

    If you need to learn more on how to modify code , please use an existing text field as code example if you are not sure how to implement the above

    Or read more on get post meta function on codex – https://codex.wordpress.org/Function_Reference/get_post_meta

    Thank you
    Support

You must be logged in to reply to this topic.

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.