Skip to content

Commit 594ced4

Browse files
committed
Add a feature flag since the feature might not be complete during one release cycle.
1 parent c5b1f41 commit 594ced4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
3535
return true
3636
case .storeWidgets:
3737
return buildConfig == .localDeveloper || buildConfig == .alpha
38+
case .searchProductsBySKU:
39+
return buildConfig == .localDeveloper || buildConfig == .alpha
3840
default:
3941
return true
4042
}

Experiments/Experiments/FeatureFlag.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,8 @@ public enum FeatureFlag: Int {
7373
/// Enables home screen store widgets.
7474
///
7575
case storeWidgets
76+
77+
/// Enables searching products by partial SKU for WC version 6.6+.
78+
///
79+
case searchProductsBySKU
7680
}

0 commit comments

Comments
 (0)