Skip to content

Commit

Permalink
disable email setting on store/website view
Browse files Browse the repository at this point in the history
  • Loading branch information
artyom-jaksov-tl committed Sep 19, 2024
1 parent d0e10a6 commit 5f66d03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions etc/adminhtml/system/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@
<frontend_class>validate-number</frontend_class>
<config_path>payment/truelayer/sort_order</config_path>
</field>
<field id="heading_emails" translate="label comment" type="text" sortOrder="60" showInDefault="1" showInWebsite="1" showInStore="1">
<field id="heading_emails" translate="label comment" type="text" sortOrder="60" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Transactional Emails</label>
<frontend_model>TrueLayer\Connect\Block\Adminhtml\Design\Heading</frontend_model>
<comment><![CDATA[This function allows you to specify whether you want to send the order and/or invoice email to the client through Magento.]]></comment>
</field>
<field id="send_order_email" translate="label" type="select" sortOrder="61" showInDefault="1" showInWebsite="1" showInStore="1">
<field id="send_order_email" translate="label" type="select" sortOrder="61" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Send Order Email</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<config_path>payment/truelayer/send_order_email</config_path>
</field>
<field id="send_invoice_email" translate="label" type="select" sortOrder="62" showInDefault="1" showInWebsite="1" showInStore="1">
<field id="send_invoice_email" translate="label" type="select" sortOrder="62" showInDefault="1" showInWebsite="0" showInStore="0">
<label>Send Invoice Email</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<config_path>payment/truelayer/send_invoice_email</config_path>
Expand Down

0 comments on commit 5f66d03

Please sign in to comment.