Dokumentation easyReturns
Benachrichtigungen
Händler Benachrichtigungen
Shopify versendet für jede Retourenanfrage eine Benachrichtigung an die Haupt-Email-Adresse deines Shopify Stores. Über easyReturns kannst du diese Art der Benachrichtigung an eine alternative E-Mail Adresse senden lassen. Diese E-Mail beinhaltet einen Link zur Ansicht der Retoure in easyReturns.
Zusätzlich kann easyReturns weiter Benachrichtigungen versenden und zwar
- Wenn Retoure vom Kunden storniert wurde
- Wenn die Erstellung des Retoure-Labels fehlschlug
Kunden Benachrichtigungen
Die Benachrichtigungen die von Shopify versendet werden können über die Shopify Liquid Templates angepasst werden. Wir verlinken in der App zu den entprechenden templates. Jede von Shopify versendete Nachricht wird im Verlauf einer jeden Bestellung angezeigt. Video auf YouTube ansehen.
Wir empfehlen das folgende Snippet für die - Rückgabe genehmigt - Benachrichtigung zu verwenden. Über das Icon oben rechts kannst du dieses in die Zwischenablage kopieren und den bisherigen Liquid code mit copy 6 paste ersetzen.
1<!DOCTYPE html>
2<html lang="de">
3<head>
4 <title>{{ email_title }}</title>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <meta name="viewport" content="width=device-width">
7 <link rel="stylesheet" type="text/css" href="/assets/notifications/styles.css">
8 <style>
9 .button__cell { background: {{ shop.email_accent_color }}; }
10 a, a:hover, a:active, a:visited { color: {{ shop.email_accent_color }}; }
11 </style>
12</head>
13
14<body>
15 <table class="body">
16 <tr>
17 <td>
18 <table class="header row">
19 <tr>
20 <td class="header__cell">
21 <center>
22
23 <table class="container">
24 <tr>
25 <td>
26
27 <table class="row">
28 <tr>
29 <td class="shop-name__cell">
30 {%- if shop.email_logo_url %}
31 <img src="{{shop.email_logo_url}}" alt="{{ shop.name }}" width="{{ shop.email_logo_width }}">
32 {%- else %}
33 <h1 class="shop-name__text">
34 <a href="{{shop.url}}">{{ shop.name }}</a>
35 </h1>
36 {%- endif %}
37 </td>
38
39 <td>
40 <table class="order-po-number__container">
41 <tr>
42 <td class="order-number__cell">
43 <span class="order-number__text">
44 Bestellung {{ order.name }}
45 </span>
46 </td>
47 </tr>
48 {%- if po_number %}
49 <tr>
50 <td class="po-number__cell">
51 <span class="po-number__text">
52 Bestellnummer {{ po_number }}
53 </span>
54 </td>
55 </tr>
56 {%- endif %}
57 </table>
58 </td>
59 </tr>
60 </table>
61
62 </td>
63 </tr>
64 </table>
65
66 </center>
67 </td>
68 </tr>
69</table>
70
71
72 <table class="row content">
73 <tr>
74 <td class="content__cell">
75 <center>
76 <table class="container">
77 <tr>
78 <td>
79
80 {% for return_delivery in return.deliveries %}
81 {% if return_delivery.type == 'shopify_label' %}
82 <h2>Die Dokumente für deine Rücksendung sind fertig</h2>
83 <p class="return-creation__subtitle">Rufe die Dokumente auf und folge den Anweisungen.</p>
84
85 {% capture url_primary %}{{ return_delivery.return_label.public_file_url }}{% endcapture %}
86 {% capture text_primary %}Dokumente aufrufen{% endcapture %}
87 {% capture url_secondary %}{{ return.checkout_payment_collection_url }}{% endcapture %}
88 {% capture text_secondary %}Jetzt bezahlen{% endcapture %}
89
90 <table class="row actions">
91 <tr>
92 <td class="empty-line"> </td>
93 </tr>
94 <tr>
95 <td class="actions__cell">
96 {% if url_primary != blank or url_secondary != blank %}
97 {% if url_primary != blank %}
98 <table class="button main-action-cell">
99 <tr>
100 <td class="button__cell">
101 <a href="{{ url_primary }}" class="button__text">{{ text_primary }}</a>
102 </td>
103 </tr>
104 </table>
105 {% endif %}
106 {% if url_secondary != blank %}
107 <table class="button return__mobile-padding main-action-cell">
108 <tr>
109 <td class="button__cell">
110 <a href="{{ url_secondary }}" class="button__text return__main-button">{{ text_secondary }}</a>
111 </td>
112 </tr>
113 </table>
114 {% endif %}
115 <table class="link secondary-action-cell">
116 <tr>
117 <td class="link__cell">oder <a target="_blank" href="{{ order.order_status_url }}">Deine Bestellung ansehen</a></td>
118 </tr>
119 </table>
120 {% else %}
121 <table class="button main-action-cell">
122 <tr>
123 <td class="button__cell"><a href="{{ order.order_status_url }}" class="button__text">Deine Bestellung ansehen</a></td>
124 </tr>
125 </table>
126 {% endif %}
127 </td>
128 </tr>
129 </table>
130
131 {% endif %}
132 {% endfor %}
133
134 </td>
135 </tr>
136 </table>
137 </center>
138 </td>
139 </tr>
140</table>
141
142 {% if return.line_items.size > 0 %}
143 <table class="row content">
144 <tr>
145 <td class="content__cell">
146 <center>
147 <table class="container">
148 <tr>
149 <td>
150
151 <h2>Zurückzugebende Artikel</h2>
152
153<table class="row">
154 {% for line_item in return.line_items %}
155 <tr class="order-list__item">
156 <td class="order-list__item__cell">
157 <table>
158 <td>
159 {% if line_item.image %}
160 <img src="{{ line_item | img_url: 'compact_cropped' }}" align="left" width="60" height="60" class="order-list__product-image"/>
161 {% endif %}
162 </td>
163 <td class="order-list__product-description-cell">
164 {% assign line_display = line_item.quantity %}
165
166 <span class="order-list__item-title">{{ line_item.title_without_variant }} × {{ line_display }}</span><br/>
167
168 {% if line_item.variant.title != 'Default Title' %}
169 <span class="order-list__item-variant">{{ line_item.variant.title }}</span><br/>
170 {% endif %}
171
172 {% if line_item.discount_allocations %}
173 {% for discount_allocation in line_item.discount_allocations %}
174 {% if discount_allocation.amount > 0 %}
175 <p>
176 <span class="order-list__item-discount-allocation">
177 <img src="{{ 'notifications/discounttag.png' | shopify_asset_url }}" width="18" height="18" class="discount-tag-icon" />
178 <span>
179 {{ discount_allocation.discount_application.title | upcase }}
180 (-{{ discount_allocation.amount | money }})
181 </span>
182 </span>
183 </p>
184 {% endif %}
185 {% endfor %}
186 {% endif %}
187 </td>
188
189 <td class="order-list__price-cell">
190 {% if line_item.original_line_price != line_item.final_line_price %}
191 <del class="order-list__item-original-price">{{ line_item.original_line_price | money }}</del>
192 {% endif %}
193 <p class="order-list__item-price">
194 {% if line_item.final_line_price > 0 %}
195 {% capture final_line_price %}
196 -{{ line_item.final_line_price | money }}
197 {% endcapture %}
198 {{ final_line_price }}
199 {% if line_item.unit_price_measurement %}
200 <div class="order-list__unit-price">
201 {{ line_item.unit_price | money }}/
202 {%- if line_item.unit_price_measurement.reference_value != 1 -%}
203 {{- line_item.unit_price_measurement.reference_value -}}
204 {%- endif -%}
205 {{ line_item.unit_price_measurement.reference_unit }}
206 </div>
207 {% endif %}
208 {% else %}
209 Kostenlos
210 {% endif %}
211 </p>
212 </td>
213 </table>
214 </td>
215 </tr>
216 {% endfor %}
217</table>
218
219
220 </td>
221 </tr>
222 </table>
223 </center>
224 </td>
225 </tr>
226</table>
227 {% endif %}
228
229 {% if return.exchange_line_items.size > 0 %}
230 <table class="row content">
231 <tr>
232 <td class="content__cell">
233 <center>
234 <table class="container">
235 <tr>
236 <td>
237
238 <h2>Artikel, die du erhältst</h2>
239
240<table class="row">
241 {% for line_item in return.exchange_line_items %}
242 <tr class="order-list__item">
243 <td class="order-list__item__cell">
244 <table>
245 <td>
246 {% if line_item.image %}
247 <img src="{{ line_item | img_url: 'compact_cropped' }}" align="left" width="60" height="60" class="order-list__product-image"/>
248 {% endif %}
249 </td>
250 <td class="order-list__product-description-cell">
251 {% assign line_display = line_item.quantity %}
252
253 <span class="order-list__item-title">{{ line_item.title_without_variant }} × {{ line_display }}</span><br/>
254
255 {% if line_item.variant.title != 'Default Title' %}
256 <span class="order-list__item-variant">{{ line_item.variant.title }}</span><br/>
257 {% endif %}
258
259 {% if line_item.discount_allocations %}
260 {% for discount_allocation in line_item.discount_allocations %}
261 {% if discount_allocation.amount > 0 %}
262 <p>
263 <span class="order-list__item-discount-allocation">
264 <img src="{{ 'notifications/discounttag.png' | shopify_asset_url }}" width="18" height="18" class="discount-tag-icon" />
265 <span>
266 {{ discount_allocation.discount_application.title | upcase }}
267 (-{{ discount_allocation.amount | money }})
268 </span>
269 </span>
270 </p>
271 {% endif %}
272 {% endfor %}
273 {% endif %}
274 </td>
275
276 <td class="order-list__price-cell">
277 {% if line_item.original_line_price != line_item.final_line_price %}
278 <del class="order-list__item-original-price">{{ line_item.original_line_price | money }}</del>
279 {% endif %}
280 <p class="order-list__item-price">
281 {% if line_item.final_line_price > 0 %}
282 {% capture final_line_price %}
283 {{ line_item.final_line_price | money }}
284 {% endcapture %}
285 {{ final_line_price }}
286 {% if line_item.unit_price_measurement %}
287 <div class="order-list__unit-price">
288 {{ line_item.unit_price | money }}/
289 {%- if line_item.unit_price_measurement.reference_value != 1 -%}
290 {{- line_item.unit_price_measurement.reference_value -}}
291 {%- endif -%}
292 {{ line_item.unit_price_measurement.reference_unit }}
293 </div>
294 {% endif %}
295 {% else %}
296 Kostenlos
297 {% endif %}
298 </p>
299 </td>
300 </table>
301 </td>
302 </tr>
303 {% endfor %}
304</table>
305
306
307 </td>
308 </tr>
309 </table>
310 </center>
311 </td>
312 </tr>
313</table>
314 {% endif %}
315
316 <table class="row content">
317 <tr>
318 <td class="content__cell">
319 <center>
320 <table class="container">
321 <tr>
322 <td>
323
324 <table class="row subtotal-lines">
325 <tr>
326 <td class="subtotal-spacer"></td>
327 <td>
328 <table class="row subtotal-table">
329
330 {% capture line_items_subtotal_price %}
331 {% if return.line_items_subtotal_price < 0 %}
332 -{{ return.line_items_subtotal_price | abs | money }}
333 {% else %}
334 {{ return.line_items_subtotal_price | money }}
335 {% endif %}
336 {% endcapture %}
337
338
339<tr class="subtotal-line">
340 <td class="subtotal-line__title">
341 <p>
342 <span>Zwischensumme</span>
343 </p>
344 </td>
345 <td class="subtotal-line__value">
346 <strong>{{ line_items_subtotal_price }}</strong>
347 </td>
348</tr>
349
350
351 {% assign fees = return.fees %}
352 {% for fee in fees %}
353
354<tr class="subtotal-line">
355 <td class="subtotal-line__title">
356 <p>
357 <span>{{ fee.title }}</span>
358 </p>
359 </td>
360 <td class="subtotal-line__value">
361 <strong>{{ fee.subtotal | money }}</strong>
362 </td>
363</tr>
364
365{% endfor %}
366
367
368 {% if return.total_tax_price %}
369 {% capture total_tax_price %}
370 {% if return.total_tax_price < 0 %}
371 -{{ return.total_tax_price | abs | money }}
372 {% else %}
373 {{ return.total_tax_price | money }}
374 {% endif %}
375 {% endcapture %}
376
377<tr class="subtotal-line">
378 <td class="subtotal-line__title">
379 <p>
380 <span>Geschätzte Steuern</span>
381 </p>
382 </td>
383 <td class="subtotal-line__value">
384 <strong>{{ total_tax_price }}</strong>
385 </td>
386</tr>
387
388 {% endif %}
389
390 {% if return.pre_return_order_total_outstanding && return.pre_return_order_total_outstanding != 0 %}
391
392<tr class="subtotal-line">
393 <td class="subtotal-line__title">
394 <p>
395 <span>Ausstehender Betrag</span>
396 </p>
397 </td>
398 <td class="subtotal-line__value">
399 <strong>{{ return.pre_return_order_total_outstanding | money_with_currency }}</strong>
400 </td>
401</tr>
402
403 {% endif %}
404
405 {% if return.order_total_outstanding > 0 %}
406 <table class="row subtotal-table subtotal-table--total">
407
408<tr class="subtotal-line">
409 <td class="subtotal-line__title">
410 <p>
411 <span>Zu zahlender Betrag</span>
412 </p>
413 </td>
414 <td class="subtotal-line__value">
415 <strong>{{ return.order_total_outstanding | money_with_currency }}</strong>
416 </td>
417</tr>
418
419 </table>
420 {% elsif return.order_total_outstanding <= 0 %}
421 <table class="row subtotal-table subtotal-table--total">
422
423<tr class="subtotal-line">
424 <td class="subtotal-line__title">
425 <p>
426 <span>Geschätzte Rückerstattung</span>
427 </p>
428 </td>
429 <td class="subtotal-line__value">
430 <strong>{{ return.order_total_outstanding | abs | money_with_currency }}</strong>
431 </td>
432</tr>
433
434 </table>
435 {% endif %}
436 </table>
437 </td>
438 </tr>
439</table>
440
441
442 </td>
443 </tr>
444 </table>
445 </center>
446 </td>
447 </tr>
448</table>
449
450 <table class="row footer">
451 <tr>
452 <td class="footer__cell">
453 <center>
454 <table class="container">
455 <tr>
456 <td>
457
458 <p class="disclaimer__subtext">Falls du Fragen hast, antworte auf diese E-Mail oder kontaktiere uns unter <a href="mailto:{{ shop.email }}">{{ shop.email }}</a>.</p>
459 </td>
460 </tr>
461 </table>
462 </center>
463 </td>
464 </tr>
465</table>
466
467<img src="{{ 'notifications/spacer.png' | shopify_asset_url }}" class="spacer" height="1" />
468
469 </td>
470 </tr>
471 </table>
472</body>
473</html>