dsgwdigu84950 2015-06-13 12:50
浏览 13

如何在Magento中调用不同的URL

What I have in my Mage site is:

echo "<div class='block-content'><ul>";
    foreach($listeditems as $optionId => $value) {
        echo "<li class='item'><a href=".Mage::getURL()."catalogsearch/result/?item=".$optionId.">" . $value . "</a></li>";
    }
echo "</ul></div>";

But I want it to echo the matching URL instead of a list of search result items.

  • 写回答

0条回答 默认 最新

    报告相同问题?