Hiển thị hình ảnh trong Trung tâm người dung (Ban phải đăng nhập và đã add các sản phẩm yêu thích)
B1.
Mở includes/lib_clips.php
Tìm đến dòng
$sql = 'SELECT g.goods_id, g.goods_name, g.market_price, g.shop_price AS org_price, '.
Thêm bằng đoạn màu đỏ
$sql = 'SELECT g.goods_id, g.goods_name,g.goods_thumb, g.market_price, g.shop_price AS org_price, '.
$goods_list[$row['goods_id']]['rec_id'] = $row['rec_id'];
$goods_list[$row['goods_id']]['goods_thumb'] = get_image_path($row['goods_id'], $row['goods_thumb'], true);
Sau đó chỉnh sửa mẫu tập tin của bạn
/themes/default/user_clips.dwt
Tìm đến dòng
<th width="35%" bgcolor="#ffffff">{$lang.goods_name}</th>
<th bgcolor="#ffffff">Hình ảnh thu nhỏ</th>
<td bgcolor="#ffffff"><a href="{$goods.url}" class="f6">{$goods.goods_name|escape:html}</a></td>
<td bgcolor="#ffffff"><a href="{$goods.url}" ><img src="{$goods.goods_thumb}" width="100" height="100"></a></td>

