联系官方销售客服
1835022288
028-61286886
插件名称:网店系统
购物车列表怎么调用该商品的栏目id呢?
<tbody> {loop $list $i $t} {php $sku_name=dr_string2array($t.sku_name);} <tr id="dr_row_{$t.id}"> <td style=""> <label class="mt-table mt-checkbox mt-checkbox-single mt-checkbox-outline"> <input type="checkbox" checked="checked" class="checkboxes" name="ids[]" value="{$t.id}" /> <span></span></label> </td> <td class="cart_product" style="text-align: center"> <a href="{$t.url}" title="{$t.title}"> <img style="width: 70px; height: 70px;" src="{dr_thumb($t.thumb, 70, 70)}"></a> </td> <td class="cart_description"> <p class="product-name"> <a href="{$t.url}" title="{$t.title}">{dr_strcut($t.title, 50)}</a></p>{loop $sku_name $i $c} <small class="cart_ref">{$i}: {$c}</small>{/loop}</td> <td class="price pprice">{if $t.yuan} <p>¥ <span class="regular-price">{number_format($t.price, 2)}</span>元</p> <p class="pyuan">¥ <span>{number_format($t.yuan, 2)}</span>元</p> <p>{$t.p_info}</p>{else} ¥ <span class="regular-price">{number_format($t.price, 2)}</span>元 {/if}</td> <td class="qty" style="width: 150px"> <input class="dr_buy_num" iid="{$t.id}" type="text" value="{$t.quantity}"></td> <td class="price">¥ <span id="dr_total_{$t.id}" class="regular-price">{number_format($t.price * $t.quantity, 2)}</span>元</td> <td class="action"> <a href="[removed]dr_cart_del('{$t.id}');">删除</a></td> </tr> {/loop} </tbody>