[건의] 상품 검색 기능에서 금액이 둘다 없으면 검색 잘 안되는 것 건의...


2025-08-19 14:15
86
0
본문
eyoom shop core search
/\* 검색 기능 수정
if ($qfrom && $qto)
$where[] = " a.it\_price between '$qfrom' and '$qto' ";
\*/
if ($qfrom && $qto) {
$where[] = " a.it\_price between '$qfrom' and '$qto' ";
} elseif ($qfrom) {
$where[] = " a.it\_price >= '$qfrom' ";
} elseif ($qto) {
$where[] = " a.it\_price <= '$qto' ";
}
이렇게 커스텀 해도 써도 문제가 없을까요?
3만원 이하 물건만 사고싶은데 최소가격을 1이라도 적는게 경험이 좋지 않아서요.
댓글목록0