albarelys Posted June 10, 2016 Share Posted June 10, 2016 (edited) Hi, I would like to enter the product model in the category page . I wish you would make visible beyond the image and name , many clients have asked me this , but I have problems in doing so .... can someone help me ? which file to edit ? I thank everyone regardless prestashop version 1.6.12 thanks again Alberto Edited June 10, 2016 by albarelys (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted June 12, 2016 Share Posted June 12, 2016 Assuming you're using the default PrestaShop v1.6.0.12 theme, edit themes/default-bootstrap/product-list.tpl and look for the following code on line 115: {$product.name|truncate:45:'...'|escape:'html':'UTF-8'} Change it to: {$product.name|truncate:45:'...'|escape:'html':'UTF-8'}<br /> <span>{$product.reference|escape:'html':'UTF-8'}</span> This will display the product reference on a separate line below the product name. You can then add code like the following near the top of themes/default-bootstrap/css/product_list.css to style the product reference: .product-name span { font-size: 14px; color: #888; } This will made the reference smaller and grey. 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