Post by philodance » Sat Oct 06, 2018 6:16 pm

here it looks good:
http://oc.igrape.ch/index.php?route=pro ... duct_id=53

but here it seems, that opencart deletes all table-tags:
http://oc.igrape.ch/index.php?route=pro ... path=61_68

i think it has nothing to do with the editor. its opencart itself. how to avoid this???

New member

Posts

Joined
Thu Jun 07, 2018 5:25 pm

Post by straightlight » Sat Oct 06, 2018 8:08 pm

i think it has nothing to do with the editor. its opencart itself. how to avoid this???
Theory posted. Details required to address Opencart issues.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ocmta » Sun Oct 07, 2018 7:02 pm

Yes, openCart strips tags from descriptions on category pages. To change that you need to find the line in catalog/controller/product/category.php, which looks like this:

Code: Select all

'description' => utf8_substr(trim(strip_tags(html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8'))), 0, $this->config->get('theme_' . $this->config->get('config_theme') . '_product_description_length')) . '..',
And change it to something like this:

Code: Select all

'description' => html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8'),
Though i doubt it will look good.

Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount


Active Member

Posts

Joined
Mon Mar 12, 2012 11:21 am

Who is online

Users browsing this forum: No registered users and 75 guests