Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Make product name shorten in the midle


al3ks

Recommended Posts

Hi everyone,

 

Is it possible to make the name of my product in product listing shorten by adding "..." in the midle.

 

What I mean is when the product name is quite long I want to only show 2 lines, and so that the name doesn't extend the 2 lines when the name is long i want to show the beginning and end words of the name, so it would look something like:

 

Instead of this:

 

Activin Grape

Seed Extract

50 mg - 120

tablets

 

It would be something like this:

 

Activin Grape

...120 tablets

 

Anyone know how to make this?

 

Regards

Aleksander

Find this post helpful? Click the 'Like this' button. :)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...