Tag Shopify products automatically

Create tag rules so products that match your conditions get extra tags when Uphance sends them to Shopify.

In Uphance, you create tag rules so products that match your conditions get extra tags when Uphance sends them to Shopify. Matching rule tags are added to the product's own tags at push time, so a push picks up a new rule without you re-saving the product.

Before you tag Shopify products automatically

Tag Shopify products automatically

Create a tag rule

Each rule names the tag to add, a scope, and the conditions a product must meet to get that tag. You build it all in the Create Tag Rule form on the Tag Rules tab.

  1. Go to Apps > My apps. Open your Shopify settings and click the Tag Rules tab. Apps > My apps on the Apps page
  2. In the Create Tag Rule form, enter the name of the tag the rule should add.
  3. Choose a scope of Product, Color or SKU; Product is chosen unless you change it.
  4. Type your conditions as a JSON list of objects, each with a field, an operator and a value (for example product_category_name eq Tops), or leave them blank so the rule always applies.
  5. Click the Create Tag Rule button in the panel to save the rule, because the page's Save button only appears on the General tab.

Your rule now appears in the Tag Rules panel, with its conditions shown as field, operator and value joined by AND, or as Always when it has no conditions. From then on, creating or updating a product outside an import queues a tag rule check for it once the save is done. When a product is sent to Shopify, its tags start from its own tag list and the tags from matching rules are added, so a push picks up a new rule without you re-saving the product.

Delete a tag rule

When a rule no longer fits, you can remove it right from the Tag Rules panel, where each rule has its own Delete button.

  1. Click the rule's Delete button, then confirm when you're asked.

Good to know

If something goes wrong

Common questions

Why does a tag stay on my product after it stops matching a rule?

Tag rules only add tags to a product. Nothing removes a tag when the product stops matching a rule.

Why is my tag rule adding its tag to every product?

A tag rule with no conditions matches every product, and the Tag Rules panel shows such a rule as Always.

Why isn't my contains or starts with condition matching my products?

Tag rule condition values are compared as text, every comparison ignores letter case, and a field the product doesn't have counts as an empty value. A condition with an operator other than eq, neq, contains, starts_with, ends_with, present or blank never matches.

Why didn't my imported products get their rule tags?

A product import only queues the tag rule check when both the Shopify integration setting and the Tag Rules setting are on for your organization. It skips the check entirely when automation owns the tags of those products.

Why is the Tag Rules tab missing from my Shopify settings?

The Tag Rules tab appears in your Shopify settings only when both the Shopify integration setting and the Tag Rules setting are on, and only once your organization has a Shopify store.