[object Object]

← back to Designer Wallcoverings

Add display_variant tag to new-product import template (storefront variant-display rule)

0cc3018f8cfbb17e4aeb5cb0bbec77c7c1743146 · 2026-06-24 12:22:34 -0700 · Steve

Files touched

Diff

commit 0cc3018f8cfbb17e4aeb5cb0bbec77c7c1743146
Author: Steve <steve@designerwallcoverings.com>
Date:   Wed Jun 24 12:22:34 2026 -0700

    Add display_variant tag to new-product import template (storefront variant-display rule)
---
 shopify/scripts/templates/new-product-import-template.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shopify/scripts/templates/new-product-import-template.js b/shopify/scripts/templates/new-product-import-template.js
index 7da95958..ea031923 100644
--- a/shopify/scripts/templates/new-product-import-template.js
+++ b/shopify/scripts/templates/new-product-import-template.js
@@ -151,6 +151,7 @@ async function importProducts() {
           color,
           pattern,
           'Class A Fire Rated',
+          'display_variant', // HARD RULE: controls variant display on storefront — every new product must carry it
         ].filter(Boolean),
         variants: [{
           sku: dwSku,

← 6287bc0d Tres Tintas: diagnose missing display_variant tag (no buy bu  ·  back to Designer Wallcoverings  ·  auto-save: 2026-06-24T12:26:52 (2 files) — shopify/scripts/d d898edc1 →