Hey @SerenaAlqimia !
Yep, internal alerts don’t have (m)any formatting options.
I did do some testing and the best I could come up with in an internal alert is the below which should have all the data you need, it’s just not super pretty. You can also still extend this with the WooCommerce admin order URL using the site URL and appending the order ID, or depending on whether the store is using taxes or not you can add tax amounts into the totals.
New Order #{{ event.extra.OrderNumber }} (WooCommerce Order ID: {{ event.extra.OrderId }})
Customer Details
Name: {{ person.first_name|title }} {{ person.last_name|title }}
Email: {{ person.email }}
Phone: {{ person.phone_number }}
Order Summary
{% for item in event.extra.Items %}Line {{ forloop.counter }}: {{ item.ProductName }} · Qty: {{ item.Quantity|floatformat:0 }} · Price: {% currency_format item.Price|floatformat:2 %} · Line Subtotal: {% currency_format item.LineSubTotal|floatformat:2 %}
——————————————————————————————
{% endfor %}——————————————————————————————
Items Subtotal: {% currency_format event.extra.Items|map:"LineSubTotal"|sum_list|floatformat:2 %}{% if event.extra.TotalDiscount != 0 %}
Discounts: {% currency_format event.extra.TotalDiscount|floatformat:2 %}{% endif %}
Shipping (via {{ event.ShippingMethods }}): {% currency_format event.extra.TotalShipping|floatformat:2 %}
Order Total: {% currency_format event|lookup:'$value'|floatformat:2 %}
Billing Address
{{ event.extra.BillingAddress.Address1 }}{% if event.extra.BillingAddress.Address2 %}
{{ event.extra.BillingAddress.Address2 }}{% endif %}
{{ event.extra.BillingAddress.City }} {{ event.extra.BillingAddress.State }} {{ event.extra.BillingAddress.PostCode }}
{{ event.extra.BillingAddress.Country }}
Shipping Address
{{ event.extra.ShippingAddress.Address1 }}{% if event.extra.ShippingAddress.Address2 %}
{{ event.extra.ShippingAddress.Address2 }}{% endif %}
{{ event.extra.ShippingAddress.City }} {{ event.extra.ShippingAddress.State }} {{ event.extra.ShippingAddress.PostCode }}
{{ event.extra.ShippingAddress.Country }}
Does the shop manager email need any additional info that’s not already in the customer email? Because if the info is the same you could just add the shop manager’s email address into the BCC field of the customer email in the flow which would have the full styling.
I’d love to hear what you’ll end up doing!
Cheers,
Rob
Rosso Digital