弹出窗口中附加信息选项卡中的Magento属性值


magento attributes values in additional information tab in popup

我想在弹出窗口中显示magento产品页面中的附加信息选项卡内容。基本上我想要一个弹出,将显示该产品的所有属性值在一个弹出链接到一个按钮。我能够创建弹出,我能够得到当前产品,但不能得到所有其他属性值等。有人可以帮助得到这个信息在弹出窗口。我不是程序员,也许我的方法是错误的。

基本上我想知道如何传递产品ID和属性详细信息到POPUP模板。

首先加载产品模块

$product=Mage::getModel('catalog/product')->load($_product->getId());

尝试加载产品类型的所有属性$

attributes = Mage::getResourceModel('catalog/product_attribute_collection')
            ->getItems();
        foreach ($attributes as $attribute){
            echo $attribute->getAttributecode();
            echo '<br>';
            echo $attribute->getFrontendLabel();
    echo $product->getData($attribute->getAttributecode());
        }