Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Aphorismen
Applications
Business Economics & Admin.
My Computers
Cooking
Devices
Folders
Food
Hardware
Infos
Software Development
Sports
Operation Instructions
Todos
Test
Help
Glossary
Community portal
adaptions
Sidebar anpassen
Wiki RB4
Search
Search
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Magento
(section)
Page
Discussion
English
Read
Edit
View history
Toolbox
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
====config.xml==== * optional * <MODULE_ROOT_DIR>/etc/'''config.xml''' * system configuration file ([https://devdocs.magento.com/guides/v2.3/config-guide/config/config-files.html official documentation]) * the default values of the attributes are somehow the 'reset to factory values', they are used if no corresponding XPath DB entry is found in [[Magento#DB_Tables| table core_config_data]] * if a module is deinstalled or the name or path is changed they have to be deleted manually from the DB =====General===== <config> <default> [<section_id>|[[Magento#Carriers|<CARRIERS_SECTION>]] // see [[Magento#system.xml|system.xml]] <group_id> // see [[Magento#system.xml|system.xml]] <field_id>...</field_id> // see [[Magento#system.xml|system.xml]] ... </group_id> </section_id>] [[Magento#Carriers|<CARRIERS>]] </default> </config> =====Carriers===== * A '''Carrier''' represents a shipping carrier, just like in real world (ex. FedEx). * XPath (e.g. in table core_config_data) is carriers/<CODENAME>/<ATTRIBUTE> ... <default> <carriers> // carries is for shipping, other options ??? <<CODENAME>> // same as $_code property in model class <<CONFIG_ATTRIBUTE>><SYSTEM_DEFAULT_VALUE></<CONFIG_ATTRIBUTE>> // name used in [[Magento#system.xml|system.xml]] and in code <active><0|???></active> // mandatory, active or not <model> <FILEPATH_FILENAME_WO_EXT> // mandatory, model class with same name as FILENAME </model> <title><TEXT></title> // mandatory, displayed in the frontend as name of shipping carrier and in backend as title <sallowspecific><0|1></sallowspecific> // mandatory, for carries: available in all countries or only in selected countries <sort_order></sort_order> // mandatory <name><TEXT></name> // optional, shown in frontend as name of shipping method and in backend as method </<CODENAME>> </carriers> </default>
Summary:
Please note that all contributions to Wiki RB4 may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Uwe Heuer Wiki New:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Toggle limited content width