How to add a TAG in a Order automatically

Solved
Highlighted
Excursionist
15 2 0

Hi!

I have a question, and I don't know if is easy or a difficult question.

In my orders right now under line_items,  I have a property called Monogram

 

                "properties": [
                    {
                        "name": "Monogram",
                        "value": "CM"
                    },
                    {
                        "name": "Monogram Foot",
                        "value": "Both Right & Left"
                    }
                ],

 

I would like to insert a TAG in each order whenever the property name "Monogram" is used. I would like to do this so that when we go on orders > filter orders within the shopify admin, we are able to locate all orders that have been monogrammed. 

 

Is possible to do in the shopify, or a need to create a PUT to do that?

0 Likes
Highlighted
Shopify Partner
11 0 7

Hi! So I'm not sure what your budget is for this but the simplest thing would be to use an app like https://apps.shopify.com/ordertagger to tag the orders that have that attribute. You could probably write something with the API but an app would be simplest thing. 

0 Likes
Highlighted
Shopify Partner
131 7 31

Arigato can also do this for you, along with a million other things. Just search the workflow library for line items. If you get stuck, feel free to reach out to us using the in-app chat feature. :)

Highlighted
Excursionist
15 2 0

This is an accepted solution.

Yeaaaah! 

I used that solution! It is working now.

Here is the process I used:
1) I looked at the order JSON to find the monogram details, as I expected it to be a custom attribute

unnamed.jpg

2) Then I was able to create the Flow using the name or key of the attribute

unnamed (1).jpg

0 Likes
Highlighted
New Member
1 0 0

Hi I would like to ask where did you put this code in the theme. My goal is to add Tag when an order is created in shopify, thanks in advance

0 Likes
Highlighted
Excursionist
15 2 0

This app is developed from Shopify, don't need to add any code.

0 Likes