Home>Support>Want to limit length of product description in search results

Want to limit length of product description in search results

I’ve searched every forum around and can’t find any info on this. I am using Vantage with WooCommerce. I would like to limit the length of the product description on the search results page, so for example instead of a result returning that looks like this:

Architectural Art, Rome, Arch of Septimius Severus, Temple of Saturn, Italian Antique Painting, 19th Century

Italian School
Arch of Septimius Severus in Rome
Rome, 1st Half, 19th Century
Watercolor and ink painting on paper
12 x 17.25 inches, image
15 x 20.25 inches, overall

Painting on paper of the Arch of Septimius Severus on the Via Sacra in the Forum Romanum in Rome. It was likely intended as a souvenir for tourists on the Grand Tour. The main arch and a smaller one in the background are painted in great detail, with the inscription on the attic of the arch and the relief friezes on either side rendered clearly. In the background, the ruins of the Temple of Saturn is also shown in great detail. Pedestrians on the road and seated on the ruins in the foreground provide a sense of scale and city life. The subject of the painting is surrounded by a painted grey border, as originally rendered.

Product description continues below.

It would look like this, with just the first 75 words of the Product Short Description selected, followed by […]. Or if it’s easier to work with character counts than word counts, that would be acceptable:

“Architectural Art, Rome, Arch of Septimius Severus, Temple of Saturn, Italian Antique Painting, 19th Century

Italian School
Arch of Septimius Severus in Rome
Rome, 1st Half, 19th Century
Watercolor and ink painting on paper
12 x 17.25 inches, image
15 x 20.25 inches, overall

Painting on paper of the Arch of Septimius Severus on the Via Sacra in the Forum Romanum in Rome. It was likely intended as a souvenir for tourists on the Grand Tour. The main arch and a smaller one in the background are painted in great […]”

The main thing, is to keep each result shorter and eliminate that “Product description continues below” text, which is on a lot of our product pages. I have a Child Theme set up and would be comfortable adding code to it.

While we’re at it, if there is also a way to reduce the image size to 200 x 200 pixels, that would be great, too.

Thanks,
Helen

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 5 months ago Alex S
    Hi, I Work Here

    Hi George,

    Unfortunately, this isn’t possible without a fair amount of custom coding. This is beyond the scope of what we can help you with on our forums, but you could hire a developer to implement this for you.

    We recommend using Codeable. You’ll be able to hire someone at an hourly rate to do this work for you.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More