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

List
 
Procyon
Jr. Member
 
Total Posts:  20
Joined:  2010-04-16
 

Hi,

I have no idea what they are called and that’s why I am posting, as my searches don’t return what I am looking for.
Is there a list of all “functions” like getname, geturl etc.?

I’d like to call attributes in a script, but don’t know how. Is it maybe getattribute_name or some sort of format?

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
satish
Enthusiast
 
Avatar
Total Posts:  812
Joined:  2008-03-24
34,mantri Sadan,Shivaji Nagar,Nagpur,MS,India 4400
 

What you real want to do and where?
Do you want to call custom attribute on your product listing page(list.phtml).

Satish

 
Magento Community Magento Community
Magento Community
Magento Community
 
Procyon
Jr. Member
 
Total Posts:  20
Joined:  2010-04-16
 

2 things:

1) I\’ve installed a plugin (not supported anymore, but still works) that allows me to export orders to .csv
Now it does not get me all the info I want, so I\’d like custom attributes to show up in additional columns

protected function getOrderItemValues($item$order$itemInc=1
    
{
        
return array(
            
$item->getName(),
            
$this->getItemSku($item),
            (int)
$item->getQtyOrdered(),
        );
    
}

2) I’m editing the pdf invoice of magento. In there I\’d like to also add more columns with different attributes (example weight + product description)

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
satish
Enthusiast
 
Avatar
Total Posts:  812
Joined:  2008-03-24
34,mantri Sadan,Shivaji Nagar,Nagpur,MS,India 4400
 

1)
Did you install this extension?
Order-export extension allows you to export all the detail of order as name of product, sku, QTY etc.

So you can refer this link.
http://www.magentocommerce.com/magento-connect/slandsbek/extension/1350/simple-order-export

Satish

 
Magento Community Magento Community
Magento Community
Magento Community
 
IcebergCommerce
Sr. Member
 
Avatar
Total Posts:  90
Joined:  2008-06-24
 

Procyon, from your code snippit, if you want to see all the data that is in $item, you can print everything out with print_r($item->getData())

 
Magento Community Magento Community
Magento Community
Magento Community
 
Procyon
Jr. Member
 
Total Posts:  20
Joined:  2010-04-16
 
satish - 25 September 2010 05:29 AM

1)
Did you install this extension?
Order-export extension allows you to export all the detail of order as name of product, sku, QTY etc.

So you can refer this link.
http://www.magentocommerce.com/magento-connect/slandsbek/extension/1350/simple-order-export


Satish

That’s the one I installed, however, I want to have my own attributes in the .csv file.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Procyon
Jr. Member
 
Total Posts:  20
Joined:  2010-04-16
 
Iceberg Commerce - 25 September 2010 05:57 AM

Procyon, from your code snippit, if you want to see all the data that is in $item, you can print everything out with print_r($item->getData())

that gives me an error.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Procyon
Jr. Member
 
Total Posts:  20
Joined:  2010-04-16
 

I’d still appreciate any help!

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