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!
In catalog/controller/product/category.php
find the line
change in something like (probably should modify the numberof characters)
find the line
Code: Select all
'description' => mb_substr(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8')), 0, 100) . '..',
Code: Select all
'description' => html_entity_decode(substr($result['description'],0,100)) . '..',
Hello, friends!
I just tried this in OC 3 and didn't have any luck. It did show where a YouTube video would be embedded, but other than that it just hid whatever I placed in the description. I would really appreciate any help or advice; thanks!
I just tried this in OC 3 and didn't have any luck. It did show where a YouTube video would be embedded, but other than that it just hid whatever I placed in the description. I would really appreciate any help or advice; thanks!
Who is online
Users browsing this forum: No registered users and 124 guests