Shopify 新增 Liquid 变量支持在 Request received 通知中显示请求提交时间
New Liquid variables let you add request submission times to your Request received notification
Shopify 在 Request received 客户通知中新增 `return.requested_at` 与 `requested_edit.requested_at` 两个 Liquid 变量,用于向客户展示退货或取消请求的提交时间。
We've added two new Liquid variables to the Request received customer notification: return.requested_at for return requests and requested_edit.requested_at for cancellation requests. Now you can show customers the date and time they submitted their request. The value is the time the customer submitted the request, not when the email was sent, so it stays the same if you resend the email. The default template hasn't changed, so the timestamp only appears if you add it.
To add it, go to Settings > Notifications > Customer notifications > Request received, click Edit code, and use the Liquid date filter to format it, for example {{ return.requested_at | date: "%B %-d, %Y %H:%M %Z" }}.
Learn more about customizing notification templates in the Shopify Help Center.
来源:Shopify Changelog · changelog.shopify.com