Page 1 of 1
Adding html in attributes opencart 3.x
Posted: Tue Sep 25, 2018 8:11 pm
by marrysmil
There is any possibility to add html code in attributes field ?
Re: Adding html in attributes opencart 3.x
Posted: Tue Sep 25, 2018 10:12 pm
by paulfeakins
What happens when you do?
Re: Adding html in attributes opencart 3.x
Posted: Wed Sep 26, 2018 6:18 am
by marrysmil
Normaly opencart do not supoort to insert html to attributes , i read some post And i see it is possible to insert And display html in attributes on oc 2x. But on oc 3.x i do not Find some guidance for this
Re: Adding html in attributes opencart 3.x
Posted: Wed Sep 26, 2018 6:21 pm
by paulfeakins
paulfeakins wrote: ↑Tue Sep 25, 2018 10:12 pm
What happens when you do?
Re: Adding html in attributes opencart 3.x
Posted: Fri Sep 28, 2018 5:49 pm
by marrysmil
Re: Adding html in attributes opencart 3.x
Posted: Fri Sep 28, 2018 5:59 pm
by paulfeakins
Thanks, so what you need to do is run the output through html_entity_decode() before it gets to the template. If that makes no sense to you then you should get a developer from
Commercial Support to do this for you.