Is it possible to put product collection name in staff emails (body/title)?

Is it possible to put product collection name in staff emails (body/title)?

gent2910
Visitor
1 0 0

Hi all,

 

I am looking for a way to add product collection name to the title and/or body of a staff notification email. Essentially, we separating B2B accounts by collection and would love a way to identify which group has ordered from the email inbox at a glance.

 

I tried putting {{ collection.name }} in the title but it doesn't seem to work.

Any and all insight would be greatly appreciated.

Reply 1 (1)

JoesIdeas
Shopify Partner
2509 229 675

The liquid object for collection name is {{ collection.title }}

 

Reference: https://shopify.dev/docs/api/liquid/objects/collection

 

You could try that, it might work depending on where you're putting in. If you're talking about modifying the default Shopify notification emails (order notification, shipping, etc), here are the available variables you can use: https://help.shopify.com/en/manual/orders/notifications/email-variables

 

If it turns out you need a more advanced solution with the ability to customize, or you're wanting to send different emails to different people based on the order contents and the products they're in, Order Automator does that and a bunch of other stuff.

• Creator of Order Automator [auto tag, fulfill, connect FBA, daily jobs]
• Co-Creator of Product Automator [suite of features for products / collections]
• Shopify developer for 10+ years, store owner for 7 years
• Blog: Shopify Tips, Guides, and Automation Tactics