0
我在我的商店中創建了一個鏈接來比較列表,但是我只想在比較列表中包含產品時顯示此按鈕。Magento:檢查比較列表是否爲空
這是下面的代碼我用來顯示鏈接:
<a href="<?php echo $this->getUrl('catalog/product_compare/index'); ?>" onclick="return !window.open(this.href, 'Google', 'width=980,height=700')" target="_blank">Abrir Compadores</a>
你的問題到底是什麼? – hotzst