Can't display $prodcut.list_price

I’m trying to display the list price in cart_items.tpl but for some reason $product.list_price doesn’t work (prints blank or 0) as it does in other files. Is there something I need to do to set this value before I can print it?


There are a lot of fields in the products table. Not all are retrieved for displaying in different places. You will have to study the fn_get_products() function in core/fn.catalog.php to see under what conditions the list_price is returned and when it's not.

You might have to do a script to add list_price to the $_SESSION['cart']['products'] if that's what you really want.