Add-ons

 / 

Module 'Yandex.Realty'

Module 'Yandex.Realty'

Information provided by Yandex (available in Russian only):

The export supports only listings of the following property types: apartment, house, room and land.
To specify the exported fields in the feed, contact us: https://open-real-estate.info/en/contact-us

After the module is acquired, it's to be configured.

For that edit file protected\modules\yandexRealty\controllers\MainController.php
Open and edit the following lines (if necessary):

...
public static $squareUnit = 'кв.м';
...
public static $typeApartment = 1; // id типа "квартира" из таблицы {{apartment_obj_type}}
public static $typeHouse = 2; // id типа "дом" из таблицы {{apartment_obj_type}}
public static $typeRoom = 0; // если нет такого типа, то оставить 0
public static $typeLand = 0; // если нет такого типа, то оставить 0
...
$this->country = 'Россия';
$this->region = 'Москва и московская область';
...
$this->currency = 'RUR';

If your site supports property type 'Rooms', set ID (number), attributing to 'Rooms' type, instead of zero in the line $typeRoom = 0.
If your site supports property type 'Parcels', set ID (number), attributing to 'Parcels' type, instead of zero in the line $typeRoom = 0.

You can check ID in database table ore_apartment_obj_type.
Also check that ID 'Apartment' and ID 'House' in the database table are equal to values 1 and 2 accordingly.

If your version supports multicurrency, in most cases you don't need to edit variable values $this->country, $this->region and $this->currency. Those values will be set automatically. In particular, the value of variable $this->currency will be equal to default currency code (which is set in the admin panel).

For any inquiries and help contact us: https://open-real-estate.info/en/contact-us

Discussion of Yandex.Realty module on our forum (available in Russian only): https://monoray.ru/forum/viewtopic.php?f=8&t=741