太阳成游戏网站

联系官方销售客服

QQ1835022299

028-61286886

太阳成游戏网站框架 版主:太阳成游戏网站框架研发组
商品结算模板中调用 sp共享模块 新建字段:xbybt 无效
类型:太阳成游戏网站CMS 更新时间:2023-01-14 08:34:15


checkout.html   商品结算模板中 调用 sp共享模块 新建字段:xbybt 无效      {$t.xbybt}

{content id=$get.id module=cp return=dd}
                                 {dr_strcut($dd.xbybt, 60)}
                                {/content}

{loop $list $i $t}
            {php $sku_name=dr_string2array($t.sku_name);}
            
              
               
      {dr_strcut($t.title, 60)}/{content id=$get.id module=cp return=dd}
                                 22{dr_strcut($dd.xbybt, 60)}
                                {/content}
      
      

                编号:{$t.sn}

                {loop $sku_name $i $c} {$i}: {$c}  {/loop}                 ¥{dr_price_value($t.price, 2)}元                 {$t.quantity}                 ¥{dr_price_value($t.price * $t.quantity, 2)}元                           {/loop}

image

回帖
  • ♥ 年少的少年。
    #1楼    ♥ 年少的少年。
    2022-11-08 14:06:05
    Chrome 0
    xbybt是什么字段嘛?还是自动生成的?
  • 淇云科技
    #2楼    淇云科技
    2022-11-08 14:08:39
    小米手机 0
    先打印下get.id看看能不能获取到数据
  • 靠谱小青年
    #3楼    靠谱小青年
    2022-11-08 14:14:37
    Chrome 0
    {content id=$t.id module=sp return=r}{dr_strcut($r.xbybt, 60)}{/content} OK 这样就可以了
  • 靠谱小青年
    #4楼    靠谱小青年
    2023-01-14 08:34:15
    Chrome 0
    ♥ 年少的少年。 新建的字段