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

Était-ce utile?

La solution

Get the base url in magento {{config path='web/unsecure/base_url'}}

Licencié sous: CC-BY-SA avec attribution
Non affilié à magento.stackexchange
scroll top