Skip to content
Snippets Groups Projects
Commit 965a4f09 authored by Gundo Sifhufhi's avatar Gundo Sifhufhi
Browse files

Revert Configs and Some fields.

parent 7dce00d6
Branches
Tags
1 merge request!5Update RAC
......@@ -8,9 +8,11 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
<system>
<tab id="BobGo" translate="label" sortOrder="20">
<label>Bob Go</label>
</tab>
<section id="bobgo_CustomShipping" showInDefault="1">
<tab>BobGo</tab>
<label>Settings</label>
......@@ -27,6 +29,7 @@
</field>
</group>
</section>
<!-- General Section(Store Information) -->
<section id="general" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<group id="store_information" translate="label" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
......@@ -37,34 +40,50 @@
</group>
</section>
<!--- End General Section -->
<!--- Delivery Methods Section -->
<section id="carriers" translate="label" type="text" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="1">
<group id="bobgo" translate="label" type="text" sortOrder="2" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Bob Go</label>
<field id="active" translate="label" type="select" sortOrder="1" showInDefault="1" showInWebsite="1" showInStore="0">
<label>Show rates at checkout</label>
<label>Show rates for checkout</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment>When this setting is enabled, your customers will be presented with shipping rates at checkout, as configured on the Bob Go platform under Rates at checkout.</comment>
</field>
<field id="additional_info" translate="label" type="select" sortOrder="7" showInDefault="1" showInWebsite="1">
<label>Show additional rate information</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment>Displays the delivery timeframe and additional service level description as configured on Bob Go.</comment>
</field>
<field id="unit_of_measure" translate="label" type="select" sortOrder="73" showInDefault="1" showInWebsite="1">
<label>Weight Unit</label>
<source_model>bobgo\CustomShipping\Model\Source\Unitofmeasure</source_model>
</field>
<field id="specificerrmsg" translate="label" type="textarea" sortOrder="80" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Displayed Error Message</label>
<comment>The message displayed to the customer when no rates were available on Bob Go.</comment>
</field>
<field id="sallowspecific" translate="label" type="select" sortOrder="90" showInDefault="1" showInWebsite="1" showInStore="0">
<label>Ship to Applicable Countries</label>
<frontend_class>shipping-applicable-country</frontend_class>
<source_model>bobgo\CustomShipping\Model\Source\Allspecificcountries</source_model>
</field>
<field id="specificcountry" translate="label" type="select" sortOrder="91" showInDefault="1" showInWebsite="1" showInStore="0">
<label>Applicable Countries</label>
<source_model>bobgo\CustomShipping\Model\Source\Country</source_model>
<can_be_empty>1</can_be_empty>
</field>
<field id="showmethod" translate="label" type="select" sortOrder="92" showInDefault="1" showInWebsite="1" showInStore="0">
<label>Show Method if Not Applicable</label>
<frontend_class>shipping-skip-hide</frontend_class>
<source_model>bobgo\CustomShipping\Model\Source\Showmethod</source_model>
</field>
<field id="unit_of_measure" translate="label" type="select" sortOrder="73" showInDefault="1" showInWebsite="1" canRestore="1">
<label>Weight Unit</label>
<source_model>bobgo\CustomShipping\Model\Source\Unitofmeasure</source_model>
</field>
<field id="additional_info" translate="label" type="select" sortOrder="7" showInDefault="1" showInWebsite="1">
<label>Show additional rate information</label>
<source_model>Magento\Config\Model\Config\Source\Yesno</source_model>
<comment>Displays the delivery timeframe and additional service level description as configured on Bob Go.</comment>
</field>
</group>
</section>
</system>
</config>
......@@ -22,8 +22,7 @@
<model>bobgo\CustomShipping\Model\Carrier\CustomShipping</model>
<name>Fixed</name>
<title>Bob Go</title>
<specificerrmsg>We could not find any shipping rates for your delivery address. Please make sure your address. If you are experiencing problem, please contact us.</specificerrmsg>
</bobgo>
<specificerrmsg>We could not find any shipping rates for your delivery address. Please make sure your address. If you are experiencing problem, please contact us.</specificerrmsg> </bobgo>
</carriers>
</default>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment