Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bobgo-magento-extension
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bob Public Utils
bobgo-magento-extension
Commits
666b8818
Commit
666b8818
authored
2 years ago
by
Gundo Sifhufhi
Browse files
Options
Downloads
Patches
Plain Diff
Add Allowed Methods To Admin(Uafrica Tab)
parent
5fd74366
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
uafrica/Customshipping/etc/adminhtml/system.xml
+37
-0
37 additions, 0 deletions
uafrica/Customshipping/etc/adminhtml/system.xml
with
37 additions
and
0 deletions
uafrica/Customshipping/etc/adminhtml/system.xml
+
37
−
0
View file @
666b8818
...
...
@@ -30,51 +30,88 @@
<label>
Debug Mode
</label>
<source_model>
Magento\Config\Model\Config\Source\Yesno
</source_model>
</field>
<!-- <field id="url" translate="label" type="select" sortOrder="10" showInDefault="1" showInStore="1" showInWebsite="1">-->
<!-- <label>Rates collection endpoint</label>-->
<!-- </field>-->
</group>
</section>
<section
id=
"carriers"
translate=
"label"
type=
"text"
sortOrder=
"1"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"1"
>
<group
id=
"uafrica"
translate=
"label"
type=
"text"
sortOrder=
"2"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"1"
>
<label>
bobGo
</label>
<field
id=
"version"
translate=
"label"
type=
"label"
sortOrder=
"0"
showInDefault=
"1"
showInWebsite=
"0"
showInStore=
"0"
>
<label>
Version
</label>
<frontend_model>
uafrica\Customshipping\Block\System\Config\Form\Field\Version
</frontend_model>
</field>
<field
id=
"active"
translate=
"label"
type=
"select"
sortOrder=
"1"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"0"
>
<label>
Enabled
</label>
<source_model>
Magento\Config\Model\Config\Source\Yesno
</source_model>
</field>
<field
id=
"title"
translate=
"label"
type=
"text"
sortOrder=
"2"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"1"
>
<label>
Title
</label>
</field>
<field
id=
"name"
translate=
"label"
type=
"text"
sortOrder=
"3"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"1"
>
<label>
Method Name
</label>
</field>
<field
id=
"residence_delivery"
translate=
"label"
type=
"select"
sortOrder=
"7"
showInDefault=
"1"
showInWebsite=
"1"
>
<label>
Residential Delivery
</label>
<source_model>
Magento\Config\Model\Config\Source\Yesno
</source_model>
</field>
<field
id=
"production_webservices_url"
translate=
"label"
type=
"text"
sortOrder=
"90"
showInDefault=
"1"
showInWebsite=
"1"
canRestore=
"1"
>
<label>
Get Rates(uAfrica)
</label>
<depends>
<field
id=
"sandbox_mode"
>
0
</field>
</depends>
<!--- Not Functional at this stage-->
<comment>
URL To Get Shipping Rates
</comment>
</field>
<field
id=
"price"
translate=
"label"
type=
"text"
sortOrder=
"4"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"0"
>
<label>
Shipping Cost
</label>
<validate>
validate-number validate-zero-or-greater
</validate>
</field>
<field
id=
"specificerrmsg"
translate=
"label"
type=
"textarea"
sortOrder=
"80"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"1"
>
<label>
Displayed Error Message
</label>
</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>
Magento\Shipping\Model\Config\Source\Allspecificcountries
</source_model>
</field>
<field
id=
"allowed_methods"
translate=
"label"
type=
"multiselect"
sortOrder=
"95"
showInDefault=
"1"
showInWebsite=
"1"
canRestore=
"1"
>
<label>
Allowed Methods
</label>
<source_model>
uafrica\Customshipping\Model\Source\Method
</source_model>
<can_be_empty>
1
</can_be_empty>
</field>
<field
id=
"specificcountry"
translate=
"label"
type=
"multiselect"
sortOrder=
"91"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"0"
>
<label>
Ship to Specific Countries
</label>
<source_model>
Magento\Directory\Model\Config\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>
Magento\Config\Model\Config\Source\Yesno
</source_model>
</field>
<field
id=
"sort_order"
translate=
"label"
type=
"text"
sortOrder=
"100"
showInDefault=
"1"
showInWebsite=
"1"
showInStore=
"0"
>
<label>
Sort Order
</label>
</field>
<field
id=
"unit_of_measure"
translate=
"label"
type=
"select"
sortOrder=
"73"
showInDefault=
"1"
showInWebsite=
"1"
canRestore=
"1"
>
<label>
Weight Unit
</label>
<source_model>
uafrica\Customshipping\Model\Source\Unitofmeasure
</source_model>
</field>
</group>
</section>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment