Adding {{ staff.name }} into email titles for new order notifications

Hi there - I’m trying to add the {{ staff.name }} into the email title string for new order notifications, to ensure my admin can allocation comission without having to go into each email.

at present the code reads:

New {{ order.source_name }} Order. Served by {{ staff.name }} from {{ shop.name }}. Order {{ name }}{% if customer.name %} placed by {{ customer.name }}{% endif %}{% if has_high_risks? %} (Risk of fraud){% endif %}

But this outputs to:

New web Order. Served by from Vineyard Cellars. Order #9999 placed by John Smith

It seems to skip the staff name, and I can’t get it to add it in. Anyone got any ideas?

Many thanks!
Joseph.

Hi Turner-Brown1 - thanks for the advice.

No joy with the code above, so looking at your second suggestions - these orders are coming through the POS terminal so should it respond to whoever is logged into the terminal? I’m a little unclear on how to do the last suggestion you made. I’ve checked through settings/notifications and can’t see a way to confirm items are available for use?