Guest User

Auftragsbestätigung DE/EN

a guest
Mar 17th, 2017
935
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {% case attributes.language %} {% when 'ly20894' %} Yeyah! Your order {{name}} {% else %} Yeyah! Deine Bestellung {{name}} {% endcase %}
  2.  
  3. {% case attributes.language %}
  4. {% when 'ly20894' %}
  5. {% capture email_title %}Thanks for shopping with us! {% endcapture %}
  6. {% capture email_body %}Hi {{ customer.first_name }}, we're getting your order ready and will update you when your products are on the way. For the time being, we would love to hear your feedback on your shopping experience!{% endcapture %}
  7.  
  8. <!DOCTYPE html>
  9. <html lang="en">
  10. <head>
  11. <title>{{ email_title }}</title>
  12. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  13. <meta name="viewport" content="width=device-width">
  14. <link rel="stylesheet" type="text/css" href="/assets/notifications/styles.css">
  15. <style>
  16. .button__cell { background: {{ shop.email_accent_color }}; }
  17. a, a:hover, a:active, a:visited { color: {{ shop.email_accent_color }}; }
  18. </style>
  19. </head>
  20.  
  21. <body>
  22. <table class="body">
  23. <tr>
  24. <td>
  25.  
  26. <table class="header row">
  27. <tr>
  28. <td class="header__cell">
  29. <center>
  30.  
  31. <table class="container">
  32. <tr>
  33. <td>
  34.  
  35. <table class="row">
  36. <tr>
  37. <td class="shop-name__cell">
  38. {% if shop.email_logo_url %}
  39. <img src="{{shop.email_logo_url}}" alt="{{ shop.name }}" width="{{ shop.email_logo_width }}">
  40. {% else %}
  41. <h1 class="shop-name__text">
  42. <a href="{{shop.url}}">{{ shop.name }}</a>
  43. </h1>
  44. {% endif %}
  45. </td>
  46.  
  47. <td class="order-number__cell">
  48. <span class="order-number__text">
  49. Order {{ order_name }}
  50. </span>
  51. </td>
  52. </tr>
  53. </table>
  54.  
  55. </td>
  56. </tr>
  57. </table>
  58.  
  59. </center>
  60. </td>
  61. </tr>
  62. </table>
  63.  
  64. <table class="row content">
  65. <tr>
  66. <td class="content__cell">
  67. <center>
  68. <table class="container">
  69. <tr>
  70. <td>
  71.  
  72. <h2>{{ email_title }}</h2>
  73. <p>{{ email_body }}</p>
  74. {% if order_status_url %}
  75. <table class="row actions">
  76. <!-- Button & other link -->
  77. <tr>
  78. <td class="actions__cell">
  79. <table class="button main-action-cell">
  80. <tr>
  81. <td class="button__cell"><a href="https://goo.gl/forms/HH1T23xrdJF6lDp82" class="button__text">My feedback (3 min)</a></td>
  82. </tr>
  83. </table>
  84. {% if shop.url %}
  85. <table class="link secondary-action-cell">
  86. <tr>
  87. <td class="link__cell"><a href="{{shop.url}}" class="link__text"><span class='or'>or</span> keep browsing at {{shop.name}}</a></td>
  88. </tr>
  89. </table>
  90. {% endif %}
  91.  
  92. </td>
  93. </tr>
  94. </table>
  95.  
  96. {% else %}
  97. {% if shop.url %}
  98. <table class="row actions">
  99. <tr>
  100. <td class="actions__cell">
  101. <table class="button main-action-cell">
  102. <tr>
  103. <td class="button__cell"><a href="{{ shop.url }}" class="button__text">Visit our store</a></td>
  104. </tr>
  105. </table>
  106. </td>
  107. </tr>
  108. </table>
  109. {% endif %}
  110.  
  111. {% endif %}
  112.  
  113. </td>
  114. </tr>
  115. </table>
  116. </center>
  117. </td>
  118. </tr>
  119. </table>
  120.  
  121. <table class="row section">
  122. <tr>
  123. <td class="section__cell">
  124. <center>
  125. <table class="container">
  126. <tr>
  127. <td>
  128. <h3>Summary</h3>
  129. </td>
  130. </tr>
  131. </table>
  132. <table class="container">
  133. <tr>
  134. <td>
  135.  
  136.  
  137. <table class="row">
  138. {% for line in line_items %}
  139.  
  140. {% if item_count == 1 %}
  141. {% assign columnWrapperClass = 'order-list__item--single' %}
  142. {% elsif forloop.first == true %}
  143. {% assign columnWrapperClass = 'order-list__item--first' %}
  144. {% elsif forloop.last == true %}
  145. {% assign columnWrapperClass = 'order-list__item--last' %}
  146. {% else %}
  147. {% assign columnWrapperClass = '' %}
  148. {% endif %}
  149. <tr class="order-list__item {{columnWrapperClass}}">
  150. <td class="order-list__item__cell">
  151. <table>
  152. <td>
  153. {% if line.image %}
  154. <img src="{{ line | img_url: 'compact_cropped' }}" align="left" width="60" height="60" class="order-list__product-image"/>
  155. {% endif %}
  156. </td>
  157. <td class="order-list__product-description-cell">
  158. {% if line.product.title %}
  159. {% assign line_title = line.product.title %}
  160. {% else %}
  161. {% assign line_title = line.title %}
  162. {% endif %}
  163. <span class="order-list__item-title">{{ line_title }} × {{ line.quantity }}</span><br/>
  164. {% if line.variant.title != 'Default Title' %}
  165. <span class="order-list__item-variant">{{ line.variant.title }}</span>
  166. {% endif %}
  167. </td>
  168. <td class="order-list__price-cell">
  169. {% if line.original_line_price != line.line_price %}
  170. <del class="order-list__item-original-price">{{ line.original_line_price | money }}</del>
  171. {% endif %}
  172. <p class="order-list__item-price">{{ line.line_price | money }}</p>
  173. </td>
  174. </table>
  175. </td>
  176. </tr>{% endfor %}
  177. </table>
  178.  
  179. <table class="row subtotal-lines">
  180. <tr>
  181. <td class="subtotal-spacer"></td>
  182. <td>
  183. <table class="row subtotal-table">
  184. {% if discounts %}
  185. {% capture discount_title %}Discount {% if discounts.first.code %}({{ discounts.first.code }}){% endif %}{% endcapture %}
  186.  
  187. <tr class="subtotal-line">
  188. <td class="subtotal-line__title">
  189. <p>
  190. <span>{{ discount_title }}</span>
  191. </p>
  192. </td>
  193. <td class="subtotal-line__value">
  194. <strong>{{ discounts_savings | money }}</strong>
  195. </td>
  196. </tr>
  197.  
  198. {% endif %}
  199.  
  200.  
  201. <tr class="subtotal-line">
  202. <td class="subtotal-line__title">
  203. <p>
  204. <span>Subtotal</span>
  205. </p>
  206. </td>
  207. <td class="subtotal-line__value">
  208. <strong>{{ subtotal_price | money }}</strong>
  209. </td>
  210. </tr>
  211.  
  212.  
  213. <tr class="subtotal-line">
  214. <td class="subtotal-line__title">
  215. <p>
  216. <span>Shipping</span>
  217. </p>
  218. </td>
  219. <td class="subtotal-line__value">
  220. <strong>{{ shipping_price | money }}</strong>
  221. </td>
  222. </tr>
  223.  
  224.  
  225. {% for line in tax_lines %}
  226.  
  227. <tr class="subtotal-line">
  228. <td class="subtotal-line__title">
  229. <p>
  230. <span>{{ line.title }}</span>
  231. </p>
  232. </td>
  233. <td class="subtotal-line__value">
  234. <strong>{{ line.price | money }}</strong>
  235. </td>
  236. </tr>
  237.  
  238. {% endfor %}
  239. </table>
  240. <table class="row subtotal-table subtotal-table--total">
  241.  
  242. <tr class="subtotal-line">
  243. <td class="subtotal-line__title">
  244. <p>
  245. <span>Total</span>
  246. </p>
  247. </td>
  248. <td class="subtotal-line__value">
  249. <strong>{{ total_price | money_with_currency }}</strong>
  250. </td>
  251. </tr>
  252.  
  253. </table>
  254.  
  255. {% assign transaction_size = 0 %}
  256. {% for transaction in transactions %}
  257. {% unless transaction.kind == "capture" or transaction.kind == "void" %}
  258. {% assign transaction_size = transaction_size | plus: 1 %}
  259. {% endunless %}
  260. {% endfor %}
  261.  
  262. {% if transaction_size > 1 %}
  263. <table class="row subtotal-table">
  264. <tr><td colspan="2" class="subtotal-table__line"></td></tr>
  265. <tr><td colspan="2" class="subtotal-table__small-space"></td></tr>
  266.  
  267. {% for transaction in transactions %}
  268. {% if (transaction.status == "success") and (transaction.kind == "authorization" or transaction.kind == "sale") %}
  269. {% if transaction.payment_details.credit_card_company %}
  270. {% capture transaction_name %}{{ transaction.payment_details.credit_card_company }} (ending in {{ transaction.payment_details.credit_card_last_four_digits }}){% endcapture %}
  271. {% else %}
  272. {% capture transaction_name %}{{ transaction.gateway | replace: "_", " " | capitalize }}{% endcapture %}
  273. {% endif %}
  274.  
  275.  
  276. <tr class="subtotal-line">
  277. <td class="subtotal-line__title">
  278. <p>
  279. <span>{{transaction_name}}</span>
  280. </p>
  281. </td>
  282. <td class="subtotal-line__value">
  283. <strong>{{ transaction.amount | money }}</strong>
  284. </td>
  285. </tr>
  286.  
  287. {% endif %}
  288. {% if transaction.kind == 'refund' %}
  289. {% if transaction.payment_details.credit_card_company %}
  290. {% assign refund_method_title = transaction.payment_details.credit_card_company %}
  291. {% else %}
  292. {% assign refund_method_title = transaction.gateway %}
  293. {% endif %}
  294.  
  295.  
  296. <tr class="subtotal-line">
  297. <td class="subtotal-line__title">
  298. <p>
  299. <span>Refund</span>
  300. <br>
  301. <small>{{ refund_method_title | capitalize }}</small>
  302. </p>
  303. </td>
  304. <td class="subtotal-line__value">
  305. <strong>- {{ transaction.amount | money }}</strong>
  306. </td>
  307. </tr>
  308.  
  309. {% endif %}
  310. {% endfor %}
  311. </table>
  312. {% endif %}
  313. </td>
  314. </tr>
  315. </table>
  316.  
  317.  
  318. </td>
  319. </tr>
  320. </table>
  321. </center>
  322. </td>
  323. </tr>
  324. </table>
  325.  
  326. <table class="row section">
  327. <tr>
  328. <td class="section__cell">
  329. <center>
  330. <table class="container">
  331. <tr>
  332. <td>
  333. <h3>Customer information</h3>
  334. </td>
  335. </tr>
  336. </table>
  337. <table class="container">
  338. <tr>
  339. <td>
  340.  
  341. <table class="row">
  342. <tr>
  343. {% if requires_shipping and shipping_address %}
  344. <td class="customer-info__item">
  345. <h4>Shipping address</h4>
  346. <p>
  347. {{ shipping_address.name }}<br/>
  348. {{ shipping_address.address1 }}
  349. {% if shipping_address.address2 %}
  350. <br/>{{ shipping_address.address2 }}
  351. {% endif %}
  352. <br/>{{ shipping_address.city }}, {{ shipping_address.province }} {{ shipping_address.zip }}
  353. <br/>{{ shipping_address.country }}
  354. </p>
  355.  
  356. </td>
  357. {% endif %}
  358. {% if billing_address %}
  359. <td class="customer-info__item">
  360. <h4>Billing address</h4>
  361. <p>
  362. {{ billing_address.name }}<br/>
  363. {{ billing_address.address1 }}
  364. {% if billing_address.address2 %}
  365. <br/>{{ billing_address.address2 }}
  366. {% endif %}
  367. <br/>{{ billing_address.city }}, {{ billing_address.province }} {{ billing_address.zip }}
  368. <br/>{{ billing_address.country }}
  369. </p>
  370.  
  371. </td>
  372. {% endif %}
  373. </tr>
  374. </table>
  375. <table class="row">
  376. <tr>
  377. <td class="customer-info__item">
  378. <h4>Shipping method</h4>
  379. <p>{{ shipping_method.title }}</p>
  380. </td>
  381. <td class="customer-info__item">
  382. <h4>Payment method</h4>
  383. {% for transaction in transactions %}
  384. {% if (transaction.status == "success") and (transaction.kind == "authorization" or transaction.kind == "sale") %}
  385. <p class="customer-info__item-content">
  386. {% if transaction.payment_details.credit_card_company %}
  387. {% capture credit_card_url %}notifications/{{ transaction.payment_details.credit_card_company | downcase }}.png{% endcapture %}
  388. <img src="{{ credit_card_url | shopify_asset_url }}" class="customer-info__item-credit" height="24">
  389. <span>Ending in {{ transaction.payment_details.credit_card_last_four_digits }} — <strong>{{ total_price | money }}</strong></span>
  390. {% else %}
  391. {{ transaction.gateway | replace: "_", " " | capitalize }} — <strong>{{ transaction.amount | money }}</strong>
  392. {% endif %}
  393. </p>
  394. {% endif %}
  395. {% endfor %}
  396. </td>
  397. </tr>
  398. </table>
  399.  
  400. </td>
  401. </tr>
  402. </table>
  403. </center>
  404. </td>
  405. </tr>
  406. </table>
  407.  
  408. <table class="row footer">
  409. <tr>
  410. <td class="footer__cell">
  411. <center>
  412. <table class="container">
  413. <tr>
  414. <td>
  415. <p class="disclaimer__subtext">If you have any questions, simply reply to this email or contact us at <a href="mailto:{{ shop.email }}">{{ shop.email }}</a></p>
  416. </td>
  417. </tr>
  418. </table>
  419. </center>
  420. </td>
  421. </tr>
  422. </table>
  423.  
  424. <img src="{{ 'notifications/spacer.png' | shopify_asset_url }}" class="spacer" height="1" />
  425.  
  426. </td>
  427. </tr>
  428. </table>
  429. </body>
  430. </html>
  431.  
  432. {% else %}
  433. <!-- DE TRANSLATION -->
  434. {% capture email_title %}Danke für Deinen Einkauf! {% endcapture %}
  435. {% capture email_body %}Hi {{ customer.first_name }}, Deine Bestellung ist sicher bei uns angekommen und wir melden uns wieder, sobald wir Deine Produkte verschickt haben. Bis dahin würden wir uns riesig über Dein Feedback zum Einkauf freuen:{% endcapture %}
  436.  
  437. <!DOCTYPE html>
  438. <html lang="de">
  439. <head>
  440. <title>{{ email_title }}</title>
  441. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  442. <meta name="viewport" content="width=device-width">
  443. <link rel="stylesheet" type="text/css" href="/assets/notifications/styles.css">
  444. <style>
  445. .button__cell { background: {{ shop.email_accent_color }}; }
  446. a, a:hover, a:active, a:visited { color: {{ shop.email_accent_color }}; }
  447. </style>
  448. </head>
  449.  
  450. <body>
  451. <table class="body">
  452. <tr>
  453. <td>
  454.  
  455. <table class="header row">
  456. <tr>
  457. <td class="header__cell">
  458. <center>
  459.  
  460. <table class="container">
  461. <tr>
  462. <td>
  463.  
  464. <table class="row">
  465. <tr>
  466. <td class="shop-name__cell">
  467. {% if shop.email_logo_url %}
  468. <img src="{{shop.email_logo_url}}" alt="{{ shop.name }}" width="{{ shop.email_logo_width }}">
  469. {% else %}
  470. <h1 class="shop-name__text">
  471. <a href="{{shop.url}}">{{ shop.name }}</a>
  472. </h1>
  473. {% endif %}
  474. </td>
  475.  
  476. <td class="order-number__cell">
  477. <span class="order-number__text">
  478. Bestellung {{ order_name }}
  479. </span>
  480. </td>
  481. </tr>
  482. </table>
  483.  
  484. </td>
  485. </tr>
  486. </table>
  487.  
  488. </center>
  489. </td>
  490. </tr>
  491. </table>
  492.  
  493. <table class="row content">
  494. <tr>
  495. <td class="content__cell">
  496. <center>
  497. <table class="container">
  498. <tr>
  499. <td>
  500.  
  501. <h2>{{ email_title }}</h2>
  502. <p>{{ email_body }}</p>
  503. {% if order_status_url %}
  504. <table class="row actions">
  505. <!-- Button & other link -->
  506. <tr>
  507. <td class="actions__cell">
  508. <table class="button main-action-cell">
  509. <tr>
  510. <td class="button__cell"><a href="https://goo.gl/forms/x3qIXu4W3Km0FxBP2" class="button__text">Mein Feedback (3 min)</a></td>
  511. </tr>
  512. </table>
  513. {% if shop.url %}
  514. <table class="link secondary-action-cell">
  515. <tr>
  516. <td class="link__cell"><a href="{{ shop.url }}" class="link__text"><span class='or'>oder</span> weiter bei {{shop.name}} stöbern</a></td>
  517. </tr>
  518. </table>
  519. {% endif %}
  520.  
  521. </td>
  522. </tr>
  523. </table>
  524.  
  525. {% else %}
  526. {% if shop.url %}
  527. <table class="row actions">
  528. <tr>
  529. <td class="actions__cell">
  530. <table class="button main-action-cell">
  531. <tr>
  532. <td class="button__cell"><a href="{{ shop.url }}" class="button__text">Visit our store</a></td>
  533. </tr>
  534. </table>
  535. </td>
  536. </tr>
  537. </table>
  538. {% endif %}
  539.  
  540. {% endif %}
  541.  
  542. </td>
  543. </tr>
  544. </table>
  545. </center>
  546. </td>
  547. </tr>
  548. </table>
  549.  
  550. <table class="row section">
  551. <tr>
  552. <td class="section__cell">
  553. <center>
  554. <table class="container">
  555. <tr>
  556. <td>
  557. <h3>Übersicht</h3>
  558. </td>
  559. </tr>
  560. </table>
  561. <table class="container">
  562. <tr>
  563. <td>
  564.  
  565.  
  566. <table class="row">
  567. {% for line in line_items %}
  568.  
  569. {% if item_count == 1 %}
  570. {% assign columnWrapperClass = 'order-list__item--single' %}
  571. {% elsif forloop.first == true %}
  572. {% assign columnWrapperClass = 'order-list__item--first' %}
  573. {% elsif forloop.last == true %}
  574. {% assign columnWrapperClass = 'order-list__item--last' %}
  575. {% else %}
  576. {% assign columnWrapperClass = '' %}
  577. {% endif %}
  578. <tr class="order-list__item {{columnWrapperClass}}">
  579. <td class="order-list__item__cell">
  580. <table>
  581. <td>
  582. {% if line.image %}
  583. <img src="{{ line | img_url: 'compact_cropped' }}" align="left" width="60" height="60" class="order-list__product-image"/>
  584. {% endif %}
  585. </td>
  586. <td class="order-list__product-description-cell">
  587. {% if line.product.title %}
  588. {% assign line_title = line.product.title %}
  589. {% else %}
  590. {% assign line_title = line.title %}
  591. {% endif %}
  592. <span class="order-list__item-title">{{ line_title }} × {{ line.quantity }}</span><br/>
  593. {% if line.variant.title != 'Default Title' %}
  594. <span class="order-list__item-variant">{{ line.variant.title }}</span>
  595. {% endif %}
  596. </td>
  597. <td class="order-list__price-cell">
  598. {% if line.original_line_price != line.line_price %}
  599. <del class="order-list__item-original-price">{{ line.original_line_price | money }}</del>
  600. {% endif %}
  601. <p class="order-list__item-price">{{ line.line_price | money }}</p>
  602. </td>
  603. </table>
  604. </td>
  605. </tr>{% endfor %}
  606. </table>
  607.  
  608. <table class="row subtotal-lines">
  609. <tr>
  610. <td class="subtotal-spacer"></td>
  611. <td>
  612. <table class="row subtotal-table">
  613. {% if discounts %}
  614. {% capture discount_title %}Discount {% if discounts.first.code %}({{ discounts.first.code }}){% endif %}{% endcapture %}
  615.  
  616. <tr class="subtotal-line">
  617. <td class="subtotal-line__title">
  618. <p>
  619. <span>{{ discount_title }}</span>
  620. </p>
  621. </td>
  622. <td class="subtotal-line__value">
  623. <strong>{{ discounts_savings | money }}</strong>
  624. </td>
  625. </tr>
  626.  
  627. {% endif %}
  628.  
  629.  
  630. <tr class="subtotal-line">
  631. <td class="subtotal-line__title">
  632. <p>
  633. <span>Zwischensumme</span>
  634. </p>
  635. </td>
  636. <td class="subtotal-line__value">
  637. <strong>{{ subtotal_price | money }}</strong>
  638. </td>
  639. </tr>
  640.  
  641.  
  642. <tr class="subtotal-line">
  643. <td class="subtotal-line__title">
  644. <p>
  645. <span>Versand</span>
  646. </p>
  647. </td>
  648. <td class="subtotal-line__value">
  649. <strong>{{ shipping_price | money }}</strong>
  650. </td>
  651. </tr>
  652.  
  653.  
  654. {% for line in tax_lines %}
  655.  
  656. <tr class="subtotal-line">
  657. <td class="subtotal-line__title">
  658. <p>
  659. <span>{{ line.title }}</span>
  660. </p>
  661. </td>
  662. <td class="subtotal-line__value">
  663. <strong>{{ line.price | money }}</strong>
  664. </td>
  665. </tr>
  666.  
  667. {% endfor %}
  668. </table>
  669. <table class="row subtotal-table subtotal-table--total">
  670.  
  671. <tr class="subtotal-line">
  672. <td class="subtotal-line__title">
  673. <p>
  674. <span>Gesamt</span>
  675. </p>
  676. </td>
  677. <td class="subtotal-line__value">
  678. <strong>{{ total_price | money_with_currency }}</strong>
  679. </td>
  680. </tr>
  681.  
  682. </table>
  683.  
  684. {% assign transaction_size = 0 %}
  685. {% for transaction in transactions %}
  686. {% unless transaction.kind == "capture" or transaction.kind == "void" %}
  687. {% assign transaction_size = transaction_size | plus: 1 %}
  688. {% endunless %}
  689. {% endfor %}
  690.  
  691. {% if transaction_size > 1 %}
  692. <table class="row subtotal-table">
  693. <tr><td colspan="2" class="subtotal-table__line"></td></tr>
  694. <tr><td colspan="2" class="subtotal-table__small-space"></td></tr>
  695.  
  696. {% for transaction in transactions %}
  697. {% if (transaction.status == "success") and (transaction.kind == "authorization" or transaction.kind == "sale") %}
  698. {% if transaction.payment_details.credit_card_company %}
  699. {% capture transaction_name %}{{ transaction.payment_details.credit_card_company }} (ending in {{ transaction.payment_details.credit_card_last_four_digits }}){% endcapture %}
  700. {% else %}
  701. {% capture transaction_name %}{{ transaction.gateway | replace: "_", " " | capitalize }}{% endcapture %}
  702. {% endif %}
  703.  
  704.  
  705. <tr class="subtotal-line">
  706. <td class="subtotal-line__title">
  707. <p>
  708. <span>{{transaction_name}}</span>
  709. </p>
  710. </td>
  711. <td class="subtotal-line__value">
  712. <strong>{{ transaction.amount | money }}</strong>
  713. </td>
  714. </tr>
  715.  
  716. {% endif %}
  717. {% if transaction.kind == 'refund' %}
  718. {% if transaction.payment_details.credit_card_company %}
  719. {% assign refund_method_title = transaction.payment_details.credit_card_company %}
  720. {% else %}
  721. {% assign refund_method_title = transaction.gateway %}
  722. {% endif %}
  723.  
  724.  
  725. <tr class="subtotal-line">
  726. <td class="subtotal-line__title">
  727. <p>
  728. <span>Refund</span>
  729. <br>
  730. <small>{{ refund_method_title | capitalize }}</small>
  731. </p>
  732. </td>
  733. <td class="subtotal-line__value">
  734. <strong>- {{ transaction.amount | money }}</strong>
  735. </td>
  736. </tr>
  737.  
  738. {% endif %}
  739. {% endfor %}
  740. </table>
  741. {% endif %}
  742. </td>
  743. </tr>
  744. </table>
  745.  
  746.  
  747. </td>
  748. </tr>
  749. </table>
  750. </center>
  751. </td>
  752. </tr>
  753. </table>
  754.  
  755. <table class="row section">
  756. <tr>
  757. <td class="section__cell">
  758. <center>
  759. <table class="container">
  760. <tr>
  761. <td>
  762. <h3>Deine Details</h3>
  763. </td>
  764. </tr>
  765. </table>
  766. <table class="container">
  767. <tr>
  768. <td>
  769.  
  770. <table class="row">
  771. <tr>
  772. {% if requires_shipping and shipping_address %}
  773. <td class="customer-info__item">
  774. <h4>Versandadresse</h4>
  775. <p>
  776. {{ shipping_address.name }}<br/>
  777. {{ shipping_address.address1 }}
  778. {% if shipping_address.address2 %}
  779. <br/>{{ shipping_address.address2 }}
  780. {% endif %}
  781. <br/>{{ shipping_address.city }}, {{ shipping_address.province }} {{ shipping_address.zip }}
  782. <br/>{{ shipping_address.country }}
  783. </p>
  784.  
  785. </td>
  786. {% endif %}
  787. {% if billing_address %}
  788. <td class="customer-info__item">
  789. <h4>Rechnungsadresse</h4>
  790. <p>
  791. {{ billing_address.name }}<br/>
  792. {{ billing_address.address1 }}
  793. {% if billing_address.address2 %}
  794. <br/>{{ billing_address.address2 }}
  795. {% endif %}
  796. <br/>{{ billing_address.city }}, {{ billing_address.province }} {{ billing_address.zip }}
  797. <br/>{{ billing_address.country }}
  798. </p>
  799.  
  800. </td>
  801. {% endif %}
  802. </tr>
  803. </table>
  804. <table class="row">
  805. <tr>
  806. <td class="customer-info__item">
  807. <h4>Versandart</h4>
  808. <p>{{ shipping_method.title }}</p>
  809. </td>
  810. <td class="customer-info__item">
  811. <h4>Zahlmethode</h4>
  812. {% for transaction in transactions %}
  813. {% if (transaction.status == "success") and (transaction.kind == "authorization" or transaction.kind == "sale") %}
  814. <p class="customer-info__item-content">
  815. {% if transaction.payment_details.credit_card_company %}
  816. {% capture credit_card_url %}notifications/{{ transaction.payment_details.credit_card_company | downcase }}.png{% endcapture %}
  817. <img src="{{ credit_card_url | shopify_asset_url }}" class="customer-info__item-credit" height="24">
  818. <span>Endet mit {{ transaction.payment_details.credit_card_last_four_digits }} — <strong>{{ total_price | money }}</strong></span>
  819. {% else %}
  820. {{ transaction.gateway | replace: "_", " " | capitalize }} — <strong>{{ transaction.amount | money }}</strong>
  821. {% endif %}
  822. </p>
  823. {% endif %}
  824. {% endfor %}
  825. </td>
  826. </tr>
  827. </table>
  828.  
  829. </td>
  830. </tr>
  831. </table>
  832. </center>
  833. </td>
  834. </tr>
  835. </table>
  836.  
  837. <table class="row footer">
  838. <tr>
  839. <td class="footer__cell">
  840. <center>
  841. <table class="container">
  842. <tr>
  843. <td>
  844. <p class="disclaimer__subtext">Bei Fragen, antworte einfach auf diese Email oder schreibe uns auf <a href="mailto:{{ shop.email }}">{{ shop.email }}</a></p>
  845. </td>
  846. </tr>
  847. </table>
  848. </center>
  849. </td>
  850. </tr>
  851. </table>
  852.  
  853. <img src="{{ 'notifications/spacer.png' | shopify_asset_url }}" class="spacer" height="1" />
  854.  
  855. </td>
  856. </tr>
  857. </table>
  858. </body>
  859. </html>
  860.  
  861. {% endcase %}
RAW Paste Data