Home / Magento / Get base URL and current URL in the template file

Get base URL and current URL in the template file

$block->getUrl('hello/test');
$block->getBaseUrl();

Hits: 4

Leave a Reply