diff --git a/css/default_shop.css b/css/default_shop.css index f5b5d517d..968e86542 100644 --- a/css/default_shop.css +++ b/css/default_shop.css @@ -330,6 +330,10 @@ input.required:focus {padding:3px 3px 4px;border:0;background:#21272e !important .sct_10 .sct_icon img {display:block} .sct_10 .sct_sns {position:absolute;top:190px;right:20px} +/* 상품 상세보기 */ +.sit_icon {display:inline-block;margin:0 0 0 4px} +.sit_icon img {margin:0 4px 0 0} + /* 공지사항 및 커뮤니티 새글 */ #sidx_lat {padding:15px 0 0;border-top:1px solid #ddd} #sidx_lat h2 {text-align:center} diff --git a/img/shop/icon_best2.gif b/img/shop/icon_best2.gif new file mode 100644 index 000000000..d8eb129a5 Binary files /dev/null and b/img/shop/icon_best2.gif differ diff --git a/img/shop/icon_discount2.gif b/img/shop/icon_discount2.gif new file mode 100644 index 000000000..1b996b841 Binary files /dev/null and b/img/shop/icon_discount2.gif differ diff --git a/img/shop/icon_hit2.gif b/img/shop/icon_hit2.gif new file mode 100644 index 000000000..900d0c0ea Binary files /dev/null and b/img/shop/icon_hit2.gif differ diff --git a/img/shop/icon_new2.gif b/img/shop/icon_new2.gif new file mode 100644 index 000000000..9e6f6204c Binary files /dev/null and b/img/shop/icon_new2.gif differ diff --git a/img/shop/icon_rec.gif b/img/shop/icon_rec.gif index 2e4a36d1e..3b603e7c9 100644 Binary files a/img/shop/icon_rec.gif and b/img/shop/icon_rec.gif differ diff --git a/img/shop/icon_rec2.gif b/img/shop/icon_rec2.gif new file mode 100644 index 000000000..1674015f3 Binary files /dev/null and b/img/shop/icon_rec2.gif differ diff --git a/img/shop/icon_soldout2.gif b/img/shop/icon_soldout2.gif new file mode 100644 index 000000000..a090987f5 Binary files /dev/null and b/img/shop/icon_soldout2.gif differ diff --git a/lib/shop.lib.php b/lib/shop.lib.php index 6424c0586..a2695b610 100644 --- a/lib/shop.lib.php +++ b/lib/shop.lib.php @@ -454,16 +454,18 @@ function it_name_icon($it, $it_name="", $url=1) if ($url) $str = ''.$str.''; - if ($it['it_type1']) $str .= ' '; - if ($it['it_type2']) $str .= ' '; - if ($it['it_type3']) $str .= ' '; - if ($it['it_type4']) $str .= ' '; - if ($it['it_type5']) $str .= ' '; - + $str .= ''; // 품절 $stock = get_it_stock_qty($it['it_id']); if ($stock <= 0) - $str .= ' 품절 '; + $str .= ' 품절 '; + if ($it['it_type1']) $str .= '히트'; + if ($it['it_type2']) $str .= '추천'; + if ($it['it_type3']) $str .= '신상품'; + if ($it['it_type4']) $str .= '인기'; + if ($it['it_type5']) $str .= '할인'; + + $str .= ''; return $str; }