Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 03-03-2020 08:44:35

dharrison
Member
From: Essex
Registered: 05-16-2012
Posts: 82
Website

Less words on listings

Hi

Is there a way that we can reduce a word limit on product listings?  For example, if you go to https://www.thelivingstore.co.uk/Catego … ph-joseph, both ites are very wordy.

How can we limit this on word listings and keep the same on the product page?  Please advise.

I look forward to hearing from you.


Deb Harrison

Offline

 

#2 03-03-2020 09:33:55

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19514
Website

Re: Less words on listings

Enter a shorter Short Description for those Product Offers.  Use Store / Catalog / Product Offers and manage an offer.  On the main Product Offer tab, edit the Short Product Description field.


Nick Hendler

Offline

 

#3 03-03-2020 10:37:26

dharrison
Member
From: Essex
Registered: 05-16-2012
Posts: 82
Website

Re: Less words on listings

Ok, they have a lot of products listed to warrant writing every single product including the more established ones.  Is there a workaround for this?


Deb Harrison

Offline

 

#4 03-04-2020 10:30:13

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19514
Website

Re: Less words on listings

I suppose you could edit {private}/apps/ecom/ECOM/includes/prodlistitem.php.  In there, you'll see:

Code:

$proddesc  = $this->xhtml_encode($proddisp['descshort']);

Replace with:

Code:

if (strlen($proddisp['descshort'] > 100)) {$proddesc  = $this->xhtml_encode(substr($proddisp['descshort'],0,97) . '...');}
else {$proddesc  = $this->xhtml_encode($proddesc);}

Nick Hendler

Offline

 

Board footer