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!