How to get comparable attributes on the up-sell page

by Demi_Cogni   Last Updated January 12, 2018 21:09 PM

I succeeded to got all the comparable attributes by the following code:

$_attributes = Mage::getResourceModel('catalog/product_attribute_collection');
$_attributes->addFieldToFilter('additional_table.is_comparable', array('1'));

But I can't call these attributes from the up-sell products when I'm trying:

<?php echo $this->helper('catalog/output')->productAttribute($_link, $this->getProductAttributeValue($_link, $_attribute), $_attribute->getAttributeCode()) ?>

Related Questions

Change product price with attribute

Updated June 26, 2017 19:09 PM

How to set up two types of color swatches

Updated March 06, 2016 01:04 AM

Unable to save Created attribute

Updated March 10, 2017 11:09 AM

Get product custom attribute data Magento 2?

Updated February 28, 2017 17:09 PM