How to tag an order with the day of the week it was created

Solved

How to tag an order with the day of the week it was created

Darren-Bull
Excursionist
16 0 2

Hello,

 

I am quite familiar with Flow and it's use however I need to add a 'day of the week' tag to orders as they are created, e.g., Orders placed on a Monday are tagged with 'Monday', Orders placed on a Tuesday are tagged with 'Tuesday', etc.

 

Has anyone any ideas as to how this could be achieved?

 

Many thanks,

Darren.

 

 

 

Accepted Solution (1)

LitExtension
Shopify Partner
4915 1005 1183

This is an accepted solution.

Hi Darren,

You can easily do this with shopify flow by creating an automation that tags orders based on the day they were placed. Here’s how:

  • Trigger: Order created
  • Condition: Check the order's created date
  • Action: Add a tag based on the day of the week To get the day of the week dynamically, you can use liquid variables in Flow. Try this in the "Add order tag" action: {{ order.created_at | date: "%A" }}

This will automatically tag orders with "monday," "tuesday,"..., based on the day they were created.

Hope that helps! Let me know if you need more details.

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
Contact us:
- Email: contact@litextension.com

View solution in original post

Replies 2 (2)

LitExtension
Shopify Partner
4915 1005 1183

This is an accepted solution.

Hi Darren,

You can easily do this with shopify flow by creating an automation that tags orders based on the day they were placed. Here’s how:

  • Trigger: Order created
  • Condition: Check the order's created date
  • Action: Add a tag based on the day of the week To get the day of the week dynamically, you can use liquid variables in Flow. Try this in the "Add order tag" action: {{ order.created_at | date: "%A" }}

This will automatically tag orders with "monday," "tuesday,"..., based on the day they were created.

Hope that helps! Let me know if you need more details.

LitExtension - Shopping Cart Migration Expert
Check out our Shopify migration app to migrate your online store to Shopify
Contact us:
- Email: contact@litextension.com
Darren-Bull
Excursionist
16 0 2

Hello,

 

This is perfect - thank you so much for your help!

 

Kind regards,

Darren.