Your shopping cart is empty. Browse our Store

Magento

Open Source eCommerce Evolved

Magento Forum

   
How do I add a custom attribute to the shopping cart and use that value in calculating the row total
 
webcc
Jr. Member
 
Total Posts:  2
Joined:  2008-05-19
 

I have a custom attribute called ‘Deposit’ which needs to be added to the total price of an item. It also needs to be displayed in a separate column in the shopping cart. Since I don’t need the ‘Wishlist’ column, I changed the column header and removed the checkbox. Next, I copied the getCalculatedPrice() function call into that table cell as an experiment and that worked. Now I need to know how to display the value of the ‘Deposit’ attribute in that cell instead, and also have it included in the total price computation.

thanks in advance,

--web

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International) to request a call-back.
© Copyright 2008 Varien. Magento is a trademark of Irubin Consulting Inc. DBA Varien    Privacy Policy|Terms of Service