How to create price field for property detail page

If we use normal property_detail field=”Price” to display price on page then it will show prices for sale only. In detail page we want to display prices that work with in all 3 condition [sale | rent | holiday rent] without using any filter. So to display price we use following shortcode;
[property_detail_price format="€%s"]

where,

format %s is used to display ajax content of property and our custom text.

here we use euro symbol as an example for currency

What else we can insert in this field

You can change the formatting with the following attributes which are displayed with their default values:

  • decimal=”.”
  • thousands=”,”
  • precision=0 : represents the number of decimal places to show
  • separator=” – “ : only used for rentals when there are two prices available
Print Friendly, PDF & Email