Skip to content

Commit 2ef08ef

Browse files
authored
decluttering configs (#203)
1 parent eddf1c4 commit 2ef08ef

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

app/code/Meta/Catalog/etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<source_model>Meta\Catalog\Model\Config\Source\Product\Identifier</source_model>
3636
<comment>Adobe Commerce product attribute mapped to Retailer ID / Content ID on Meta. Warning: use with caution, as changing this option after uploading products to Meta might result in having duplicate products in your Meta catalog</comment>
3737
</field>
38-
<field id="price_incl_tax" translate="label comment" type="select" sortOrder="60" showInDefault="1" showInWebsite="0" showInStore="1">
38+
<field id="price_incl_tax" translate="label comment" type="select" sortOrder="60" showInDefault="0" showInWebsite="0" showInStore="0">
3939
<label>Price Including Tax</label>
4040
<config_path>facebook/catalog_management/price_incl_tax</config_path>
4141
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>

app/code/Meta/Sales/etc/adminhtml/system.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</depends>
4242
<comment>Automatically subscribe buyers to the Adobe Commerce newsletter. Note: only works if the buyer agreed to use their email for marketing purposes on Meta</comment>
4343
</field>
44-
<field id="default_fulfillment_location" translate="label comment" type="select" sortOrder="50" showInDefault="1" showInWebsite="0" showInStore="1">
44+
<field id="default_fulfillment_location" translate="label comment" type="select" sortOrder="50" showInDefault="0" showInWebsite="0" showInStore="0">
4545
<label>Use Default Fulfillment Location</label>
4646
<config_path>facebook/orders_sync/default_fulfillment_location</config_path>
4747
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
@@ -50,35 +50,35 @@
5050
</depends>
5151
<comment>Store address is the default fulfillment location</comment>
5252
</field>
53-
<group id="fulfillment_information" translate="label" type="text" sortOrder="100" showInDefault="1" showInWebsite="0" showInStore="1">
53+
<group id="fulfillment_information" translate="label" type="text" sortOrder="100" showInDefault="0" showInWebsite="0" showInStore="0">
5454
<label>Fulfillment Address</label>
5555
<depends>
5656
<field id="facebook_business_extension/orders_sync/default_fulfillment_location">0</field>
5757
</depends>
58-
<field id="street_line1" translate="label" type="text" sortOrder="55" showInDefault="1" showInWebsite="0" showInStore="1">
58+
<field id="street_line1" translate="label" type="text" sortOrder="55" showInDefault="0" showInWebsite="0" showInStore="0">
5959
<config_path>facebook/orders_sync/street_line1</config_path>
6060
<label>Street Address</label>
6161
</field>
62-
<field id="street_line2" translate="label" type="text" sortOrder="55" showInDefault="1" showInWebsite="0" showInStore="1">
62+
<field id="street_line2" translate="label" type="text" sortOrder="55" showInDefault="0" showInWebsite="0" showInStore="0">
6363
<config_path>facebook/orders_sync/street_line2</config_path>
6464
<label>Street Address 2</label>
6565
</field>
66-
<field id="country_id" translate="label" type="select" sortOrder="25" showInDefault="1" showInWebsite="0" showInStore="1">
66+
<field id="country_id" translate="label" type="select" sortOrder="25" showInDefault="0" showInWebsite="0" showInStore="0">
6767
<config_path>facebook/orders_sync/country_id</config_path>
6868
<label>Country</label>
6969
<source_model>Magento\Directory\Model\Config\Source\Country</source_model>
7070
<frontend_class>countries</frontend_class>
7171
<can_be_empty>1</can_be_empty>
7272
</field>
73-
<field id="region_id" translate="label" type="text" sortOrder="27" showInDefault="1" showInWebsite="0" showInStore="1">
73+
<field id="region_id" translate="label" type="text" sortOrder="27" showInDefault="0" showInWebsite="0" showInStore="0">
7474
<config_path>facebook/orders_sync/region_id</config_path>
7575
<label>Region/State</label>
7676
</field>
77-
<field id="city" translate="label" type="text" sortOrder="45" showInDefault="1" showInWebsite="0" showInStore="1">
77+
<field id="city" translate="label" type="text" sortOrder="45" showInDefault="0" showInWebsite="0" showInStore="0">
7878
<config_path>facebook/orders_sync/city</config_path>
7979
<label>City</label>
8080
</field>
81-
<field id="postcode" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="1">
81+
<field id="postcode" translate="label" type="text" sortOrder="30" showInDefault="0" showInWebsite="0" showInStore="0">
8282
<config_path>facebook/orders_sync/postcode</config_path>
8383
<label>ZIP/Postal Code</label>
8484
</field>

0 commit comments

Comments
 (0)