ytkah

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

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

分类:

技术点:

相关文章:

  • 2021-06-09
  • 2022-01-01
  • 2022-01-05
  • 2021-11-04
  • 2021-07-18
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-28
  • 2022-01-08
  • 2021-12-14
  • 2022-12-23
  • 2021-04-24
  • 2021-08-04
  • 2022-12-23
相关资源
相似解决方案