Update system.xml
This commit is contained in:
parent
364b12e6d4
commit
6b83c72f93
@ -9,45 +9,42 @@
|
|||||||
<label>Setting</label>
|
<label>Setting</label>
|
||||||
<tab>retailcrm</tab>
|
<tab>retailcrm</tab>
|
||||||
<resource>Retailcrm_Retailcrm::retailcrm_configuration</resource>
|
<resource>Retailcrm_Retailcrm::retailcrm_configuration</resource>
|
||||||
<group id="general" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
|
<group id="general" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>General Configuration</label>
|
<label>General Configuration</label>
|
||||||
|
|
||||||
<field id="api_url" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="0" showInStore="0">
|
<field id="api_url" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>API URL</label>
|
<label>API URL</label>
|
||||||
<comment>https://YourCrmName.retailcrm.ru</comment>
|
<comment>https://YourCrmName.retailcrm.ru</comment>
|
||||||
<backend_model>Retailcrm\Retailcrm\Model\Config\Backend\ApiUrl</backend_model>
|
<backend_model>Retailcrm\Retailcrm\Model\Config\Backend\ApiUrl</backend_model>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<field id="api_key" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="0" showInStore="0">
|
<field id="api_key" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>API Key</label>
|
<label>API Key</label>
|
||||||
<comment>To generate an API Key, log in to RetailCRM then select Admin > Integration > API Keys</comment>
|
<comment>To generate an API Key, log in to RetailCRM then select Admin > Integration > API Keys</comment>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
<field id="api_version" translate="label" type="select" sortOrder="30" showInDefault="1" showInWebsite="0" showInStore="0">
|
<field id="api_version" translate="label" type="select" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>API Version</label>
|
<label>API Version</label>
|
||||||
<source_model>Retailcrm\Retailcrm\Model\Setting\ApiVersions</source_model>
|
<source_model>Retailcrm\Retailcrm\Model\Setting\ApiVersions</source_model>
|
||||||
<backend_model>Retailcrm\Retailcrm\Model\Config\Backend\ApiVersion</backend_model>
|
<backend_model>Retailcrm\Retailcrm\Model\Config\Backend\ApiVersion</backend_model>
|
||||||
</field>
|
</field>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group id="Misc" translate="label" type="text" sortOrder="20" showInDefault="2" showInWebsite="0" showInStore="0">
|
<group id="Misc" translate="label" type="text" sortOrder="20" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>Misc</label>
|
<label>Misc</label>
|
||||||
<field id="attributes_to_export_into_icml" translate="label" type="multiselect" sortOrder="2" showInDefault="1" showInWebsite="0" showInStore="0">
|
<field id="attributes_to_export_into_icml" translate="label" type="multiselect" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>Attributes to export into icml</label>
|
<label>Attributes to export into icml</label>
|
||||||
<comment>Attributes to export into icml</comment>
|
<comment>Attributes to export into icml</comment>
|
||||||
|
|
||||||
<source_model>Retailcrm\Retailcrm\Model\Setting\Attribute</source_model>
|
<source_model>Retailcrm\Retailcrm\Model\Setting\Attribute</source_model>
|
||||||
<!--
|
<!--
|
||||||
<frontend_model>Retailcrm\Retailcrm\Block\Adminhtml\System\Config\Form\Field\Attributes</frontend_model>
|
<frontend_model>Retailcrm\Retailcrm\Block\Adminhtml\System\Config\Form\Field\Attributes</frontend_model>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group id="Shipping" translate="label" type="text" sortOrder="30" showInDefault="3" showInWebsite="0" showInStore="0">
|
<group id="Shipping" translate="label" type="text" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>Shipping</label>
|
<label>Shipping</label>
|
||||||
<field id="Shipping" translate="label" type="select" sortOrder="3" showInDefault="1" showInWebsite="0" showInStore="0">
|
<field id="Shipping" translate="label" type="select" sortOrder="3" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>Shipping</label>
|
<label>Shipping</label>
|
||||||
<!-- <source_model>Retailcrm\Retailcrm\Model\Setting\Shipping</source_model>
|
<!-- <source_model>Retailcrm\Retailcrm\Model\Setting\Shipping</source_model>
|
||||||
-->
|
-->
|
||||||
@ -55,9 +52,9 @@
|
|||||||
</field>
|
</field>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group id="Payment" translate="label comment" type="text" sortOrder="40" showInDefault="4" showInWebsite="0" showInStore="0">
|
<group id="Payment" translate="label comment" type="text" sortOrder="40" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>Payment method</label>
|
<label>Payment method</label>
|
||||||
<field id="display_text" translate="label" type="text" sortOrder="5" showInDefault="1" showInWebsite="0" showInStore="0">
|
<field id="display_text" translate="label" type="text" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>Payment</label>
|
<label>Payment</label>
|
||||||
<frontend_model>Retailcrm\Retailcrm\Block\Adminhtml\System\Config\Form\Field\Payment</frontend_model>
|
<frontend_model>Retailcrm\Retailcrm\Block\Adminhtml\System\Config\Form\Field\Payment</frontend_model>
|
||||||
<comment>This text will display on the frontend.</comment>
|
<comment>This text will display on the frontend.</comment>
|
||||||
@ -65,33 +62,26 @@
|
|||||||
</field>
|
</field>
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group id="Status" translate="label" type="text" sortOrder="50" showInDefault="5" showInWebsite="0" showInStore="0">
|
<group id="Status" translate="label" type="text" sortOrder="50" showInDefault="5" showInWebsite="1" showInStore="1">
|
||||||
<label>Order Status</label>
|
<label>Order Status</label>
|
||||||
|
<field id="status_text" translate="label" type="text" sortOrder="5" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<field id="status_text" translate="label" type="text" sortOrder="5" showInDefault="1" showInWebsite="0" showInStore="0">
|
|
||||||
<label>Status</label>
|
<label>Status</label>
|
||||||
<frontend_model>Retailcrm\Retailcrm\Block\Adminhtml\System\Config\Form\Field\Status</frontend_model>
|
<frontend_model>Retailcrm\Retailcrm\Block\Adminhtml\System\Config\Form\Field\Status</frontend_model>
|
||||||
<comment>This text will display on the frontend.</comment>
|
<comment>This text will display on the frontend.</comment>
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
<group id="Load" translate="label" type="text" sortOrder="60" showInDefault="6" showInWebsite="0" showInStore="0">
|
<group id="Load" translate="label" type="text" sortOrder="60" showInDefault="6" showInWebsite="1" showInStore="1">
|
||||||
<label>Order Load</label>
|
<label>Order Load</label>
|
||||||
<field id="number_order" translate="label" type="text" sortOrder="6" showInDefault="1" showInWebsite="0" showInStore="0">
|
<field id="number_order" translate="label" type="text" sortOrder="6" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<label>Order number</label>
|
<label>Order number</label>
|
||||||
<comment>Enter your order number, separated by commas</comment>
|
<comment>Enter your order number, separated by commas</comment>
|
||||||
</field>
|
</field>
|
||||||
|
<field id="button_order" translate="label comment" type="button" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
|
||||||
<field id="button_order" translate="label comment" type="button" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="0">
|
|
||||||
|
|
||||||
<frontend_model>Retailcrm\Retailcrm\Block\Adminhtml\System\Config\Button</frontend_model>
|
<frontend_model>Retailcrm\Retailcrm\Block\Adminhtml\System\Config\Button</frontend_model>
|
||||||
|
|
||||||
</field>
|
</field>
|
||||||
|
|
||||||
</group>
|
</group>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
</system>
|
</system>
|
||||||
</config>
|
</config>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user