Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

display custom attribute in grouped product listing
 
tmglukas
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2011-12-02
 

Hi everyone,

I am adding columns to the table that displays the child products of a grouped product. I was able to add a column for image and sku but I am lost when trying to add the custom attribute pack_qty or any custom attribute for that matter

I tried:
<?php echo $this->htmlEscape($_product->getPackQty) ?>
<?php echo $this->htmlEscape($_product->getPack_Qty) ?>
<?php echo $this->htmlEscape($_product->getpack_qty) ?>
<?php echo $this->htmlEscape($_product->getpackqty) ?>
<?php echo $this->htmlEscape($_product->getAttributeText('pack_qty')) ?>

I replaced $_product with $_item with no result either.
As you can probably tell I am guessing because I am not a programmer, at least not php.
The attribute is set to be visible everywhere in the admin backend.

What do I have to do to get this to display?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top