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

show totals at the last row of admin grid
 
awais1234
Jr. Member
 
Total Posts:  1
Joined:  2012-01-15
 

How i can show totals at the last row of admin grid

id | Name | price

1 | Abc | 10

2 | xyz | 20

Total 30

I try to set $this->setCountTotals(true) in grid but no luck
Please anyone can help me?

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
Magikvishal
Sr. Member
 
Total Posts:  278
Joined:  2012-06-12
 

Hello following tips may be help you

1. check value & entity_id in catalog_product_entity_decimal table. OR

2. get product price see below code
number_format($pr->getPrice(), 2) OR round($_product->getFinalPrice(),2)

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