Hier mal anderer Log Text Abschnitt wo “cart” und “price” vorkommt, ist das was du meintest dabei? Was ist Twig? Relevant für das Theme?
[2020-06-24 15:05:35] app.ERROR: Could not render Mail-Template with error message: Failed rendering string template using Twig: Neither the property “cartPrice” nor one of the methods “cartPrice()”, “getcartPrice()”/“iscartPrice()”/“hascartPrice()” or “__call()” exist and have public access in class “Shopware\Core\Checkout\Order\OrderEntity” in “74c9cb095c7d3125bcdc9516fb83daba” at line 18. Error Code:0 Template source:{% set currencyIsoCode = order.currency.isoCode %}
Hallo {{order.orderCustomer.salutation.letterName }} {{order.orderCustomer.firstName}} {{order.orderCustomer.lastName}}, vielen Dank für Ihre Bestellung im {{ salesChannel.name }} (Nummer: {{order.orderNumber}}) am {{ order.orderDateTime|date }}. Informationen zu Ihrer Bestellung: Pos. Artikel-Nr. Beschreibung Menge Preis Summe {% for lineItem in order.lineItems %} {{ loop.index }} {{ lineItem.payload.productNumber|u.wordwrap(80) }} {{ lineItem.label|u.wordwrap(80) }} {{ lineItem.quantity }} {{ lineItem. unitPrice |currency(currencyIsoCode) }} {{ lineItem. totalPric e|currency(currencyIsoCode) }} {% endfor %} {% set delivery =order.deliveries.first %} Versandtkosten: {{order.deliveries.first.shippingCosts.t otalPrice |currency(currencyIsoCode) }} Gesamtkosten Netto: {{ order.amountNet|currency(currencyIsoCode) }} {% if order.taxStatus is same as(‘net’) %} {% for calculatedTax in
order. cartPrice.calculatedTaxes %}
zzgl. {{ calculatedTax.taxRate }}% MwSt. {{ calculatedTax.tax|currency(currencyIsoCode) }} {% endfor %} Gesamtkosten Brutto: {{ order.amountTotal|currency(currencyIsoCode) }} {% endif %}
Template data: {“order”:{“orderNumber”:"",“currencyId”:“b7d2554b0ce847cd82f3ac9bd1c0dfca”,“currencyFactor”:1,“salesChannelId”:“142888726bca4197a9f03a2241feb5be”,“billingAddressId”:“fe4ce3ae6e4148178ad23cdf21207064”,“orderDateTime”:“2020-06-24T15:05:34+00:00”,“orderDate”:“2020-06-24T00:00:00+00:00”,“price”:{“netPrice”:0.1,“totalPrice”:0.12,“calculatedTaxes”:[{“tax”:0.02,“taxRate”:19,“price”:0.1,“extensions”:}],“taxRules”:[{“taxRate”:19,“percentage”:100,“extensions”:}],“positionPrice”:0.1,“taxStatus”:“net”,“extensions”:},“amountTotal”:0.12,“amountNet”:0.1,“positionPrice”:0.1,“taxStatus”:“net”,“shippingCosts”:{“unitPrice”:0,“quantity”:1,“totalPrice”:0,“calculatedTaxes”:[{“tax”:0,“taxRate”:19,“price”:0,“extensions”:}],“taxRules”:[{“taxRate”:19,“percentage”:100,“extensions”:}],“referencePrice”:null,“listPrice”:null,“extensions”:},“shippingTotal”:0,"