eshop截取字符串长度 和去掉省略号

<!-- {if $goods.goods_brief} --> {$goods.goods_brief|truncate:17}<!-- {/if} -->

去掉省略号: 找到includes/lib_base.php 第63行   $newstr .= '...'  去掉... 即可

原文地址:https://www.cnblogs.com/wesky/p/4819319.html