Propstack
Search…
Schaufenster-Screens
Design-Anpassung vom Schaufenster-Screen
Ein Template für die Schaufenster-Screens ist eine einfache HTML-Datei. Den Code für das Standard-Template kann man hier herunterladen und als Vorlage für sein eigenes Template nutzen:
show.html
6KB
Text
standard-template.html
Damit die Templates dynamisch sind, d.h. je nach verknüpften Objekten andere Daten anzeigen, muss eine Template-Engine benutzt werden. Propstack nutzt dafür Liquid von Shopify.
Den veränderten Code fügt man dann unter Verwaltung > Schaufenster > Eigenes Schaufenster-Screen-Template ein.
Im Template hat man Zugriff auf folgende Daten (in JSON-Format dargestellt):
1
{
2
"shop": {
3
"name": "Musterimmobilien GmbH",
4
"color": "#0c6bc4"
5
},
6
"properties": [
7
{
8
"title": "Reihenendhaus in Berlin Treptow",
9
"unit_id": "ETW-2001",
10
"exposee_id": "",
11
"marketing_type": "BUY",
12
"object_type": "LIVING",
13
"rs_type": "HOUSE",
14
"construction_year": 2015,
15
"free_from": "01.02.2020",
16
"rented": true,
17
"floor_label": null,
18
"street": "Lesvou",
19
"house_number": "21",
20
"zip_code": "12345",
21
"city": "Berlin",
22
"country": "DEU",
23
"price": 280000.0,
24
"sold_price": null,
25
"base_rent": null,
26
"total_rent": null,
27
"service_charge": null,
28
"parking_space_price": 30000.0,
29
"number_of_rooms": 5.0,
30
"plot_area": 800.0,
31
"living_space": 185.0,
32
"usable_floor_space": 185.0,
33
"property_space_value": 185.0,
34
"price_per_sqm": 1513.51,
35
"has_courtage": true,
36
"courtage": "3,57% inkl. Mwst.",
37
"courtage_note": "",
38
"deposit": null,
39
"thermal_characteristic": null,
40
"gfz": null,
41
"grz": null,
42
"bmz": null,
43
"monument": false,
44
"built_in_kitchen": true,
45
"lift": false,
46
"cellar": false,
47
"description_note": "Wohnen auf 3 Ebenen mit einem kleinen Gartenbereich...",
48
"location_note": "Berg- und Meer-Blick aus einer Immobilie, das können Sie hier genießen...",
49
"furnishing_note": "",
50
"other_note": "",
51
"long_description_note": "",
52
"long_location_note": "",
53
"long_furnishing_note": "",
54
"long_other_note": "",
55
"energy_certificate_availability": "wird nicht benötigt",
56
"building_energy_rating_type": null,
57
"energy_efficiency_class": null,
58
"firing_types": null,
59
"heating_type": null,
60
"formatted": {
61
"id": 56,
62
"name": "1055",
63
"unit_id": "1055",
64
"exposee_id": null,
65
"marketing_type": "Miete",
66
"rs_type": "Wohnung",
67
"rs_category": "Souterrain",
68
"construction_year": 1902,
69
"equipment_technology_construction_year": null,
70
"free_from": null,
71
"price": null,
72
"base_rent": "342 €",
73
"total_rent": "522 €",
74
"rental_income": null,
75
"rent_subsidy": null,
76
"parking_space_price": null,
77
"number_of_parking_spaces": null,
78
"parking_space_number": null,
79
"rented": "nein",
80
"yield_actual": null,
81
"yield_target": null,
82
"rental_income_actual": null,
83
"rental_income_target": null,
84
"distance_to_pt": null,
85
"distance_to_fm": null,
86
"distance_to_mrs": null,
87
"distance_to_airport": null,
88
"construction_phase": null,
89
"tenancy": null,
90
"price_on_inquiry": "nein",
91
"short_term_constructible": "nein",
92
"site_development_type": null,
93
"site_constructible_type": null,
94
"recommended_use_types": null,
95
"min_divisible": null,
96
"grz": null,
97
"gfz": null,
98
"net_floor_space": null,
99
"number_of_apartments": null,
100
"number_of_commercials": null,
101
"special_purpose_type": null,
102
"price_per_sqm": "8,55",
103
"price_multiplier": null,
104
"industrial_area": null,
105
"additional_area": null,
106
"price_type": null,
107
"rent_duration": null,
108
"heating_costs": "60 €",
109
"heating_costs_in_service_charge": "nein",
110
"service_charge": "120 €",
111
"other_costs": null,
112
"property_space_value": "40",
113
"living_space": "40",
114
"plot_area": null,
115
"total_floor_space": null,
116
"number_of_rooms": "1",
117
"number_of_bed_rooms": null,
118
"number_of_bath_rooms": null,
119
"balcony_space": null,
120
"last_refurbishment": null,
121
"condition": "Neuwertig",
122
"interior_quality": "Gehoben",
123
"floor_label": "5. OG",
124
"number_of_floors": 6,
125
"parking_space_type": null,
126
"number_of_balconies": null,
127
"number_of_terraces": null,
128
"energy_certificate_availability": "liegt vor",
129
"building_energy_rating_type": "Bedarfsausweis",
130
"energy_efficiency_class": "E",
131
"thermal_characteristic": 160,
132
"thermal_characteristic_electricity": null,
133
"thermal_characteristic_heating": null,
134
"energy_consumption_contains_warm_water": false,
135
"energy_certificate_start_date": null,
136
"energy_certificate_end_date": null,
137
"heating_type": "Gas-Heizung",
138
"firing_types": "KWK regenerativ",
139
"lan_cables": false,
140
"air_conditioning": "nein",
141
"flooring_type": "Epoxidharz",
142
"bathroom": null,
143
"te_id": null,
144
"duration_from": null,
145
"duration_until": null,
146
"sold_date": null,
147
"sold_price": null,
148
"number_of_units": null,
149
"price_multiplier_target": null,
150
"investment_category": null,
151
"purchase_form": null,
152
"tenant_structure": null,
153
"walt": null,
154
"number_of_single_rooms": null,
155
"single_rooms_quota": null,
156
"occupancy_rate": null,
157
"number_of_vacancies": null,
158
"conservation_areas": "nein",
159
"bmz": null,
160
"co_ownership_share": null,
161
"renter": null,
162
"local_court": null,
163
"register_number": null,
164
"land_registry": null,
165
"contract_type": null,
166
"duration": null,
167
"cost_other": null,
168
"cubature": null,
169
"valuation_price_from": null,
170
"valuation_price_to": null,
171
"lift": "nein",
172
"cellar": "nein",
173
"barrier_free": "nein",
174
"guest_toilet": "nein",
175
"built_in_kitchen": "nein",
176
"balcony": "nein",
177
"garden": "nein",
178
"monument": "nein",
179
"construction_year_unknown": "nein",
180
"flat_share_suitable": "nein",
181
"building_permission": "nein",
182
"demolition": "nein",
183
"has_canteen": "nein",
184
"kitchen_complete": "nein",
185
"high_voltage": "nein",
186
"lodger_flat": "nein",
187
"terrace": "nein",
188
"auto_lift": "nein",
189
"ramp": "nein",
190
"summer_residence_practical": "nein",
191
"non_smoker": "nein",
192
"preliminary_enquiry": "nein"
193
},
194
"property_status": {
195
"id": null,
196
"name": null
197
},
198
"location_name": null,
199
"images": [
200
{
201
"url": "...",
202
"big_url": "...",
203
"medium_url": "...",
204
"title": "Meerblick Willkommen"
205
}
206
],
207
"currency": "€",
208
"custom": {},
209
"broker": {
210
"id": 123,
211
"salutation": "ms",
212
"name": "John Doe",
213
"email": "[email protected]",
214
"phone": "123123123",
215
"publicEmail": "",
216
"publicPhone": "",
217
"position": "Sales Agent",
218
"avatarUrl": "https://images.propstack.de/...",
219
}
220
}
221
]
222
}
Copied!
Last modified 1mo ago
Copy link