Skip to content

Commit 4ea3d06

Browse files
authored
Merge pull request #7743 from woocommerce/issue/7741-order-creation-search-customers-flag
Order creation: Add orderCreationSearchCustomers feature flag
2 parents 19c4124 + be082b1 commit 4ea3d06

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
@@ -33,6 +33,8 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
3333
return true
3434
case .promptToEnableCodInIppOnboarding:
3535
return true
36+
case .orderCreationSearchCustomers:
37+
return buildConfig == .localDeveloper || buildConfig == .alpha
3638
default:
3739
return true
3840
}

Experiments/Experiments/FeatureFlag.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,8 @@ public enum FeatureFlag: Int {
6969
/// Whether to include the Cash on Delivery enable step in In-Person Payment onboarding
7070
///
7171
case promptToEnableCodInIppOnboarding
72+
73+
/// Enables the Search Customers functionality in the Order Creation screen
74+
///
75+
case orderCreationSearchCustomers
7276
}

0 commit comments

Comments
 (0)