Audit di chuyển category metafield Shopify POD trong 8 bước

Một migration category metafield có thể lưu thành công nhưng exact sellable variant vẫn bị drift. Swatch màu trông đúng có thể chọn sai image; category filter có thể trả đúng product trong khi POD app vẫn map option combination sang provider variant cũ. Hãy tách connection, rendering, fulfillment và destination acceptance thành các event độc lập.

Shopify cho phép gán standard category, dùng category metafields liên quan, connect chúng với variant options và connect entries với option values. Theme tương thích cùng Search & Discovery có thể hiển thị swatch và filter. Bắt đầu bằng một product, một option, một value và một representative variant; workflow không hứa ranking, approval, inventory accuracy, fulfillment, conversion hay sales.

Hồ sơ cũng phải ghi browser, device, market, language, theme và app version của lần test. Nếu swatch chưa render, filter source chưa xuất hiện, provider mapping không readback được hoặc destination còn processing, hãy giữ trạng thái held thay vì mở rộng batch. Mỗi evidence cần ID, URL, timestamp và owner để reviewer tái hiện exact variant mà không tạo order thật.

1. Xác định một migration unit

Chọn một product, một option, một value và một exact variant, ví dụ đôi giày in màu xanh size chín. Ghi standard category, metafield definition, entry, product option, option value, Shopify variant ID, SKU, provider product/variant ID và storefront/filter/landing/channel representation.

Lập chuỗi bảy record

2. Đóng băng baseline và rollback

Trước khi edit, lưu product ID, variant ID, SKU, category, option names/values, selected image, price, availability, inventory policy, market, language, URL, theme version và filter source. Thêm provider product ID, provider variant ID, blank, print method và sync state.

Ghi từng layer

3. Gán field ownership

Catalog owner chọn category và standard entry. Merchandising owner kiểm soát display label và sibling scope.

Tách quyết định và triển khai

4. Connect một category entry

Gán standard category đúng, xem category metafields, chọn entry liên quan và connect existing option. Chỉ connect representative option value ở vòng đầu.

Giữ ý nghĩa option value

5. Bảo vệ provider identity

Mở provider mapping và so Shopify variant ID, SKU, provider product ID, provider variant ID, blank model, color, size, print method và production asset. Representative variant phải vẫn resolve đúng fulfillment object.

Chạy sibling negative test

6. Readback swatch và filter

Trên product page, chọn migrated color và kiểm tra label, selected swatch, URL state, image, size choices, price, availability và add-to-cart variant. Refresh hoặc reopen URL.

Kiểm tra từng surface

7. Kiểm tra landing và channel

Nếu có destination, ghi item ID, group, title, color, size, image, price, availability, landing URL, market, language và diagnostics. Google yêu cầu color khớp landing page và khuyến nghị submitted variant xuất hiện mặc định.

Tách transport khỏi correctness

8. Mở rộng sau acceptance

Close representative value bằng accepted, held for evidence, rolled back hoặc escalated. Record phải có product, variant, SKU, category, entry, display value, provider variant, filter source, landing URL, market, language, theme, operator, reviewer, timestamps và evidence.

Giữ hồ sơ lâu dài

Ma trận ownership

LayerEvidenceAcceptance
Category và entryCategory path, definitionPhù hợp product
Shopify variantID, SKU, image, priceCùng sellable combination
Provider mappingProvider IDs, blank, methodCùng fulfillment object
Storefront và channelSwatch, filter, URL, itemCùng buyer-visible variant

Checklist representative value

  1. Ghi product ID
  2. Ghi variant ID
  3. Ghi SKU
  4. Ghi category
  5. Ghi definition
  6. Ghi entry
  7. Ghi display label
  8. Ghi option value
  9. Ghi color và size
  10. Ghi image
  11. Ghi price
  12. Ghi availability
  13. Ghi provider product
  14. Ghi provider variant
  15. Ghi blank
  16. Ghi print method
  17. Lưu old connection
  18. Lưu old filter
  19. Định nghĩa rollback
  20. Connect một value
  21. Reopen admin
  22. Verify provider mapping
  23. Test color sibling
  24. Test size sibling

FAQ — Câu hỏi category metafield

Gán category tự migrate options?

Không. Category làm fields khả dụng; values và option connections vẫn cần cấu hình và readback.

Connected color luôn có swatch?

Không. Variant và color entry phải connected, theme hiện tại cũng phải support swatch.

Giữ old option filter không?

Shopify khuyên thay option filter bằng category-metafield filter sau migration; lưu rollback trước.

Rename shared entry được không?

Chỉ khi đã chứng minh reuse scope và tách shared entry khỏi display hoặc operational value riêng.

Provider sync chứng minh acceptance?

Không. Verify exact Shopify variant, provider mapping, buyer view, filter, landing và destination riêng.

Bước tiếp theo — migrate một value

Đóng băng một live product và representative color, chỉ connect value đó rồi accept hoặc rollback trước siblings.

Hướng dẫn ecommerce operations chung, không phải tư vấn legal, advertising, regulatory, tax, financial, data-governance hay platform policy. Shopify, Google, providers, themes, apps, taxonomy, filters, feeds, markets và channels thay đổi. Hãy xem official docs và exact account state. Không bảo đảm discoverability, approval, ranking, inventory accuracy, fulfillment, conversion, sales, revenue hay financial result.