opencart3属性attribute实现换行等简单html代码

  opencart3属性attribute在前台页面默认是没有解析html代码功能的,好比想实现换行,后台这样写:line 1<br>line 2,但前台产品页也是line 1<br>line 2显示在同一行,而不是第一行是line 1第二行是line 2。那么opencart3属性attribute要如何实现换行等简单html代码呢?能够用simple html attribute这个插件,随ytkah一块儿来操做php

  1.下载插件https://www.opencart.com/index.php?route=marketplace/extension/info&extension_id=34012
  2.上传插件,extension - install,将刚刚下载的插件上传安装
  3.刷新缓存,modification - refresh
  4.在后台属性那边编辑简单代码
  5.看看前端是否是显示你想要的效果html

相关文章
相关标签/搜索