답변 1개 / 댓글 1개
채택된 답변
+20 포인트
다음 코드가 도움이 될지 모르겠습니다.
https://github.com/gnuboard/gnuboard5/blob/master/lib/shop.lib.php#L1162
Copy
//$str .= '<li>'.get_text($row['ct_option']).' '.$row['ct_qty'].'개 ('.$price_plus.display_price($row['io_price']).')</li>'.PHP_EOL;
$str .= '<li class="qty-'.$row['ct_qty'].'">'.get_text($row['ct_option']).' '.$row['ct_qty'].'개 ('.$price_plus.display_price($row['io_price']).')</li>'.PHP_EOL;
https://github.com/gnuboard/gnuboard5/blob/master/shop/cart.php
https://github.com/gnuboard/gnuboard5/blob/master/mobile/shop/cart.php
Copy
<style>
.sod_opt li.qty-0 { display: none; }
</style>
답변을 작성하려면 로그인이 필요합니다.

상품 상세페이지에 있는 추가옵션을 '증가' 시키면 우측 별도로 만든 박스(금액목록)에 해당 옵션이 안 보였다가 나타나게 하고픈데 이 부분 의뢰드리려면 어떻게 하면 될까요?