Nash64 Posted June 19, 2015 Share Posted June 19, 2015 Hello, How to display product condition in shipping cart line? Thanks. Link to comment Share on other sites More sharing options...
NemoPS Posted June 20, 2015 Share Posted June 20, 2015 Cart block or cart page? For the cart page modify shopping-cart-product-line.tpl in your theme folder. If you want to add another column, make sure you insert a new <th> in shopping-cart.tpl as well, then in the previous file add another <td> in the product row, containing {$product.condition}. SHould work by default Link to comment Share on other sites More sharing options...
paolo82 Posted March 22, 2017 Share Posted March 22, 2017 {$product.condition} is not set in shopping cart. How can I add this variable? Regards Link to comment Share on other sites More sharing options...
NemoPS Posted March 22, 2017 Share Posted March 22, 2017 In the cart class, getProducts method, around line 510 in the latest 1.6, you have a query grabbing fields. add "p.condition" to it, it should work afterwards Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now