How to get the base url in config.xml file
-
15-04-2021 - |
Question
How to get the base url into magento2 module app/etc/config.xml file.
<storefront>
<report_uri>https://www.example.com/</report_uri>
</storefront>
instead of https://www.example.com/ I need to get the base url
Please anyone help me.
thanks
Solution
Get the base url in magento {{config path='web/unsecure/base_url'}}
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange