I have the following in my local.xml, to add a body class for logged in users (for styling purposes):
<customer_logged_in> <reference name="root"> <action method="addBodyClass"> <classname>logged-in</classname> </action> </reference> </customer_logged_in>
Works fine, however, I've now noticed that it kills the checkout at the "Payment Information" step, with the following popup error:
Unable to set Payment Method.
Anyone know why?
UPDATE: The logs show the following error:
exception 'Varien_Exception' with message 'Invalid method Mage_Checkout_Block_Onepage_Review_Info::addBodyClass(Array (  => logged-in )
I don't need that body class on the checkout, so is there perhaps some way to only apply this class to certain areas? Namely the cart page.