Jump to content

Making the 'condition' variable available on the cart (checkout) page


Blu3

Recommended Posts

While customizing the Cart Layout, I noticed that the $product.condition variable exists, but is always blank.
After tinkering around, and trying to understand the how the presenters work, it seems that this variable should already be filled 😕

Now I'm stuck. Anybody know how to make sure that it gets filled?
Or if not, any tips on how I can display the condition of each product in the cart in some roundabout way?

Template File being edited:
/themes/classic/templates/checkout/_partials/cart-detailed-product-line.tpl

Variable that is not filled:
$product.condition

How to reproduce:
just do a smarty print_r for $product
{$product|@print_r}

Help will be much appreciated since I'm stuck.
-Nico

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...