Jump to content

product model in the category page


Recommended Posts

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 by albarelys (see edit history)
Link to comment
Share on other sites

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

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...