k-sync
Back to blog

Shopify customer segments & tagging after WooCommerce migration (2026)

How to recreate WooCommerce customer roles and segments in Shopify — customer tags, Shopify Flow automation, custom pricing, and customer segment strategies for post-migration stores.

·By k-sync
5 min read · 909 words

WooCommerce uses customer roles (subscriber, customer, shop_manager, wholesale_customer) and extensions like WooCommerce Memberships to segment customers for different pricing, access, and experiences. Shopify's equivalent is a combination of customer tags, Shopify customer segments (Shopify's built-in segmentation tool), and Shopify Flow automation. Here's how to rebuild your WooCommerce customer segmentation on Shopify.

WooCommerce customer segmentation approaches

Shopify's customer segmentation tools

Customer tags

Customer tags are the primary segmentation mechanism in Shopify. Tags are free-form strings applied to a customer record:

Examples: "vip", "wholesale", "member-gold", "subscription-active", "eu-customer", "b2b"

Shopify Customer Segments

Available in Shopify Admin → Customers → Segments. A query-based segmentation tool that creates dynamic customer groups based on:

Segments are dynamic — customers automatically enter and exit based on their current data. Segments can be used in Shopify Email campaigns and synced to Klaviyo/Omnisend.

Migrating WooCommerce customer roles to Shopify tags

Step 1: Export customer roles from WooCommerce

// WP-CLI command to export customers with roles
wp user list --role=wholesale_customer --fields=ID,user_email --format=csv
wp user list --role=subscriber --fields=ID,user_email --format=csv

Or use WooCommerce → Customers → Export CSV → include user roles (may require an export plugin like User Role Editor).

Step 2: Prepare customer import CSV for Shopify

Shopify customer import CSV with tags:

Email,First Name,Last Name,Tags
john@example.com,John,Smith,"wholesale,b2b"
jane@example.com,Jane,Doe,"member-gold,vip"
buyer@company.com,Alice,Jones,"wholesale"

Step 3: Import to Shopify

Shopify Admin → Customers → Import → upload CSV. Tags in the CSV are applied to each customer record.

Automated customer tagging with Shopify Flow

Recreate WooCommerce's role assignment logic using Shopify Flow automations:

VIP customer tagging

Trigger: Order paid
Condition: Customer total spent > $500
OR Customer order count >= 5
Action: Add tag "vip" to customer

New customer welcome tag

Trigger: Customer created
Action: Add tag "new-customer"

// After first order:
Trigger: Order paid
Condition: Customer total order count = 1
Action: Remove tag "new-customer", Add tag "first-time-buyer"

High-frequency buyer tag

Trigger: Order paid
Condition: Customer placed 10th order
Action: Add tag "loyal-customer"

Customer-specific pricing on Shopify

Standard plan: discount codes by customer tag

WooCommerce wholesale pricing (role-based price reduction) can be approximated on standard Shopify using:

Standard plan: dedicated wholesale catalog

A separate Shopify store (subdomain: wholesale.yourstore.com) for wholesale customers with different prices — simple but requires maintaining two product catalogs.

Standard plan: apps

Shopify Plus: native B2B

Shopify Plus includes native B2B features: company accounts, customer-specific price lists, payment terms. If your WooCommerce wholesale operation is substantial, Shopify Plus B2B is the cleanest long-term solution.

Klaviyo customer segments

Klaviyo syncs with Shopify and creates email marketing segments based on Shopify customer data. After migration, set up Klaviyo segments that mirror your WooCommerce customer groups:

Membership programs on Shopify

WooCommerce Memberships content-gating and pricing access can be recreated via:

Migration checklist: customer segmentation

Customer segmentation on Shopify is less prescriptive than WooCommerce's role system, but more flexible — customer tags can represent anything and Shopify Flow keeps segments up to date automatically. The main complexity is wholesale pricing, which requires either an app (standard plan) or Shopify Plus (for native B2B catalog management).

Migrate your store with k-sync

Connect your WooCommerce store, validate your products, and push to Shopify in minutes. Free for up to 50 products.

Get started free

Related reading

Browse all migration guides