在Magento中,可以通过core/url助手类中的getCurrentUrl()方法获取当前页面的URL地址
$currentUrl = $this->helper('core/url')->getCurrentUrl(); //在社会化分享中,当前页面的URL地址非常有用 <a addthis:url="<?php echo $this->helper('core/url')->getCurrentUrl(); ?>">Share on Facebook</a><span>
在Magento中,可以通过core/url助手类中的getCurrentUrl()方法获取当前页面的URL地址
$currentUrl = $this->helper('core/url')->getCurrentUrl(); //在社会化分享中,当前页面的URL地址非常有用 <a addthis:url="<?php echo $this->helper('core/url')->getCurrentUrl(); ?>">Share on Facebook</a><span>
近期评论