Jump to content

Blank spaces in product listings


Geoc112
 Share

Recommended Posts

  

8 minutes ago, Razi said:

This issue is due to discount price, its consume little extra space thats why.
you can set this by changing in css.
send here site link, we will check the css file and update you.

Thanks

 

The site is alinut.ro

Edited by Geoc112 (see edit history)

Share this post


Link to post
Share on other sites

find the file 1.7.x Prestashop

themes/theme_name/templates/catalog/_partials/miniatures/product.tpl

find {$product.name|truncate:25:'...'}
and replace with this line

<h3 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:25:'...'}</a></h3>

Share this post


Link to post
Share on other sites

3 minutes ago, Razi said:

find the file 1.7.x Prestashop

themes/theme_name/templates/catalog/_partials/miniatures/product.tpl

find {$product.name|truncate:25:'...'}
and replace with this line

<h3 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:25:'...'}</a></h3>

Doesn't this just truncate the name of the product to 25 characters ?

At the moment i have it truncated to 45 characters. I can't really truncate it to 25 because of the way the products are named.

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More