Skip to content

Commit 6c46f79

Browse files
authored
Merge pull request #6209 from woocommerce/coupons/feature-flag-m1
Coupons: Update and enable feature flag for milestone 1
2 parents 8f7503b + 88412a7 commit 6c46f79

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

Experiments/Experiments/DefaultFeatureFlagService.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public struct DefaultFeatureFlagService: FeatureFlagService {
3737
return buildConfig == .localDeveloper || buildConfig == .alpha
3838
case .myStoreTabUpdates:
3939
return true
40-
case .couponManagement:
41-
return buildConfig == .localDeveloper || buildConfig == .alpha
40+
case .couponView:
41+
return true
4242
case .productSKUInputScanner:
4343
return true
4444
case .canadaInPersonPayments:

Experiments/Experiments/FeatureFlag.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ public enum FeatureFlag: Int {
7474
///
7575
case myStoreTabUpdates
7676

77-
/// Displays the option to manage coupons
77+
/// Displays the option to view coupons
7878
///
79-
case couponManagement
79+
case couponView
8080

8181
/// Barcode scanner for product SKU input
8282
///

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
8.6
44
-----
5+
- [***] Merchants can now view coupons in their stores by enabling Coupon Management in Experimental Features. [https://github.com/woocommerce/woocommerce-ios/pull/6209]
56
- [*] Orders: In the experimental Order Creation feature, product variations added to a new order now show a list of their attributes. [https://github.com/woocommerce/woocommerce-ios/pull/6131]
67
- [*] Enlarged the tap area for the action button on the notice view. [https://github.com/woocommerce/woocommerce-ios/pull/6146]
78
- [*] Reviews: Fixed crash on iPad when tapping the More button. [https://github.com/woocommerce/woocommerce-ios/pull/6187]

WooCommerce/Classes/ViewRelated/Dashboard/Settings/Beta features/BetaFeaturesViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ private extension BetaFeaturesViewController {
119119
}
120120

121121
func couponManagementSection() -> Section? {
122-
guard ServiceLocator.featureFlagService.isFeatureFlagEnabled(.couponManagement) else {
122+
guard ServiceLocator.featureFlagService.isFeatureFlagEnabled(.couponView) else {
123123
return nil
124124
}
125125
return Section(rows: [.couponManagement,

0 commit comments

Comments
 (0)