Created
March 30, 2022 11:46
-
-
Save magevision/cecd8f306604040ffa60b135abfa1234 to your computer and use it in GitHub Desktop.
GetConfigValueInsideEmailTemplate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> | |
<system> | |
<section id="general"> | |
<group id="store_information"> | |
<field id="custom_store_config" translate="label" type="text" sortOrder="65" showInDefault="1" showInWebsite="1" showInStore="1"> | |
<label>Custom Store Config</label> | |
</field> | |
</group> | |
</section> | |
</system> | |
</config> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd"> | |
<type name="Magento\Variable\Model\Config\Structure\AvailableVariables"> | |
<arguments> | |
<argument name="configPaths" xsi:type="array"> | |
<item name="general/store_information" xsi:type="array"> | |
<item name="general/store_information/custom_store_config" xsi:type="string">1</item> | |
</item> | |
</argument> | |
</arguments> | |
</type> | |
</config> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment