我试图在模板文件中检索当前页面URL,但我无法弄清楚如何在Magento 2.0中执行此操作.
有谁知道如何得到它?(请记住我在模板/ phtml文件中工作)
magento magento2
magento ×1
magento2 ×1