Skip to content

Commit

Permalink
feat: add feature flag for incoming new shipment system
Browse files Browse the repository at this point in the history
  • Loading branch information
Nakahiru committed Feb 12, 2025
1 parent 06aea74 commit b4ec9c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions install-dev/data/xml/feature_flag.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
<feature_flag id="customer_group" name="customer_group" type="env,dotenv,db" label_wording="Customer group" label_domain="Admin.Advparameters.Feature" description_wording="Enable / Disable the customer group page." description_domain="Admin.Advparameters.Help" state="0" stability="beta" />
<feature_flag id="store" name="store" type="env,dotenv,db" label_wording="Store" label_domain="Admin.Advparameters.Feature" description_wording="Enable / Disable the store page." description_domain="Admin.Advparameters.Help" state="0" stability="beta" />
<feature_flag id="merchandise_return" name="merchandise_return" type="env,dotenv,db" label_wording="Merchandise return" label_domain="Admin.Advparameters.Feature" description_wording="Enable / Disable the merchandise return page." description_domain="Admin.Advparameters.Help" state="0" stability="beta" />
<feature_flag id="shipment" name="shipment" type="env,dotenv,db" label_wording="Shipments" label_domain="Admin.Advparameters.Feature" description_wording="Enable / Disable the new shipment system." description_domain="Admin.Advparameters.Help" state="0" stability="beta" />
</entities>
</entity_feature_flag>
2 changes: 2 additions & 0 deletions src/Core/FeatureFlag/FeatureFlagSettings.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
Expand Down Expand Up @@ -53,4 +54,5 @@ class FeatureFlagSettings
public const FEATURE_FLAG_ADMIN_API_MULTISTORE = 'admin_api_multistore';
public const FEATURE_FLAG_ADMIN_API_EXPERIMENTAL_ENDPOINTS = 'admin_api_experimental_endpoints';
public const FEATURE_FLAG_FRONT_CONTAINER_V2 = 'front_container_v2';
public const FEATURE_FLAG_SHIPMENT = 'shipment';
}

0 comments on commit b4ec9c4

Please sign in to comment.