Post by Wallimann » Sun Oct 16, 2011 4:09 am

I am trying to enable the product category list view to show html codes such as embedded mp3 players from soundcloud.
Is there a way to do that?

Thanks!

Guitar Backing Tracks and Video Lessons at http://www.guitarplayback.com


New member

Posts

Joined
Fri Oct 29, 2010 1:38 am
Location - Colorado

Post by florinsith » Sun Oct 16, 2011 4:18 am

In catalog/controller/product/category.php

find the line

Code: Select all

'description' => mb_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..',
change in something like (probably should modify the numberof characters)

Code: Select all

'description'  => html_entity_decode(substr($result['description'],0,100)) . '..',

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am


Post by Wallimann » Sun Oct 16, 2011 4:34 am

Thanks!

Guitar Backing Tracks and Video Lessons at http://www.guitarplayback.com


New member

Posts

Joined
Fri Oct 29, 2010 1:38 am
Location - Colorado
Who is online

Users browsing this forum: No registered users and 15 guests