Wondering how to show cost on the front end for Admin accounts (when signed in of course). This is so reps viewing the website can see price we sell for as well as our cost. Has anyone done anything like this? Any insight would be appreciated - thanks!


1 Answer 1


this code is only for product page view.phtml.

if(Mage::getSingleton('customer/session')->isLoggedIn()) {
    echo $_helper->productAttribute($_product, $_product->getCost(), 'cost');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.