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

Attribute subtotal calculation - Final part of my site! 
 
Marc O'Neill
Jr. Member
 
Total Posts:  12
Joined:  2008-10-06
UK
 

Morning Everyone,

I have a real problem here.

My site involves food, each food product has a calorie attribute in the form of a number, which i have created myself. What I need is a calorie subtotal to display in the cart under the price. I’m assuming i can created a calculation directly in cart.phtml.

I’m still getting to grips to with php and magento so i need to work out the different steps i have to take to achieve this.

My attribute is called “calories”. I have also managed to display in each product within displayed in the grid view.

If anyone can help urgently it would be much appreciated!

Thanks

Marc

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