Skip to content

Commit 3c1d73e

Browse files
author
solwininfotech
committed
system.xml is placed in sales module
1 parent b5265e8 commit 3c1d73e

File tree

6 files changed

+816
-807
lines changed

6 files changed

+816
-807
lines changed

app/code/Magento/Customer/etc/adminhtml/system.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@
8686
<comment>To show VAT number on Storefront, set Show VAT Number on Storefront option to Yes.</comment>
8787
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
8888
</field>
89-
<field id="email_required_create_order" translate="label comment" type="select" sortOrder="58" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
90-
<label>Email is required field for Admin order creation</label>
91-
<comment>If set YES Email field will be required during Admin order creation for new Customer.</comment>
92-
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
93-
</field>
9489
<field id="email_domain" translate="label" type="text" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
9590
<label>Default Email Domain</label>
9691
</field>

app/code/Magento/Customer/etc/config.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
<confirm>0</confirm>
1616
<default_group>1</default_group>
1717
<tax_calculation_address_type>billing</tax_calculation_address_type>
18-
<email_required_create_order>0</email_required_create_order>
1918
<email_domain>example.com</email_domain>
2019
<email_identity>general</email_identity>
2120
<email_template>customer_create_account_email_template</email_template>

app/code/Magento/Customer/i18n/en_US.csv

100755100644
Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,5 +539,3 @@ Associate to Website,Associate to Website
539539
Prefix,Prefix
540540
Middle Name/Initial,Middle Name/Initial
541541
Suffix,Suffix
542-
Email is required field for Admin order creation,Email is required field for Admin order creation
543-
If set YES Email field will be required during Admin order creation for new Customer.,If set YES Email field will be required during Admin order creation for new Customer.

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,5 +446,15 @@
446446
</field>
447447
</group>
448448
</section>
449+
<section id="customer">
450+
<group id="create_account" translate="label" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
451+
<label>Create New Account Options</label>
452+
<field id="email_required_create_order" translate="label comment" type="select" sortOrder="58" showInDefault="1" showInWebsite="1" showInStore="1" canRestore="1">
453+
<label>Email is required field for Admin order creation</label>
454+
<comment>If set YES Email field will be required during Admin order creation for new Customer.</comment>
455+
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
456+
</field>
457+
</group>
458+
</section>
449459
</system>
450460
</config>

app/code/Magento/Sales/etc/config.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,5 +111,10 @@
111111
<async_indexing>0</async_indexing>
112112
</grid>
113113
</dev>
114+
<customer>
115+
<create_account>
116+
<email_required_create_order>0</email_required_create_order>
117+
</create_account>
118+
</customer>
114119
</default>
115120
</config>

0 commit comments

Comments
 (0)