1. 정확한 제품 또는 플러그인 이름
퍼스트 콘텐츠 몰
2. 상세 내용
퍼스트 콘텐츠 몰에서 주문페이지 중 주문정보 확인에 판매자, 사용기간,~ 상품삭제 레이블을 다 삭제하고싶습니다.
order.php에서 47~73 line 부분 (아이템 정보 시작이 되는 부분)을 주석처리 하였더니 주문이 되질 않더라구요..
이부분을 어디서부터 어디까지 주석처리를 해야 될까요?
주문서 페이지 삭제하고싶은 부분: https://imgur.com/a/tQIEWVQ
order.php 주석처리한 부분 : https://imgur.com/a/aCo58yQ
3. 확인 가능한 상세 페이지 주소
smilesmile-post.com
4. 수정한 코드 내역 (있다면)
order.php 주석처리한 부분
<div class="kboard-product-wrap">
<p class="kboard-product-name"><?php echo $item->title?></p>
<dl class="detail-group">
<dt><?php echo __('Seller', 'kboard')?></dt>
<dd><?php echo apply_filters('kboard_user_display', $content->member_display, $content->member_uid, $content->member_display, 'kboard', $boardBuilder)?></dd>
<dt><?php echo __('Period of use', 'kboard')?></dt>
<dd><?php echo kboard_first_contents_mall_period_display($content->option->download_expiry)?></dd>
<dt><?php echo __('Price', 'kboard')?></dt>
<dd><?php echo $board->currency($item->price)?></dd>
<dt><label for="<?php echo $order->getItemFieldName($key, 'quantity')?>"><?php echo __('Quantity', 'kboard')?></label></dt>
<dd><input type="number" name="<?php echo $order->getItemFieldName($key, 'quantity')?>" id="<?php echo $order->getItemFieldName($key, 'quantity')?>" value="<?php echo $item->quantity?>" onchange="kboard_order_update()" required></dd>
<?php if(kboard_first_contents_mall_is_use_point_order($board) && $item->total_reward_point):?>
<dt><?php echo __('Reward point', 'kboard')?></dt>
<dd><?php echo $board->currency($item->total_reward_point)?></dd>
<?php endif?>
<dt><?php echo __('Total price', 'kboard')?></dt>
<dd><?php echo $board->currency($item->total)?></dd>
<dt><label for="<?php echo $order->getItemFieldName($key, 'delete')?>"><?php echo __('Delete Product', 'kboard')?></label></dt>
<dd><label><input type="checkbox" name="<?php echo $order->getItemFieldName($key, 'delete')?>" id="<?php echo $order->getItemFieldName($key, 'delete')?>" value="delete"> <?php echo __('Delete Product', 'kboard')?></label></dd>
</dl>
</div>
안녕하세요~^^
주석 처리하신 아래 코드 부분에
<div class="kboard-product-wrap">
<p class="kboard-product-name"><?php echo $item->title?></p>
<dl class="detail-group">
<dt><?php echo __('Seller', 'kboard')?></dt>
<dd><?php echo apply_filters('kboard_user_display', $content->member_display, $content->member_uid, $content->member_display, 'kboard', $boardBuilder)?></dd>
<dt><?php echo __('Period of use', 'kboard')?></dt>
<dd><?php echo kboard_first_contents_mall_period_display($content->option->download_expiry)?></dd>
<dt><?php echo __('Price', 'kboard')?></dt>
<dd><?php echo $board->currency($item->price)?></dd>
<dt><label for="<?php echo $order->getItemFieldName($key, 'quantity')?>"><?php echo __('Quantity', 'kboard')?></label></dt>
<dd><input type="number" name="<?php echo $order->getItemFieldName($key, 'quantity')?>" id="<?php echo $order->getItemFieldName($key, 'quantity')?>" value="<?php echo $item->quantity?>" onchange="kboard_order_update()" required></dd>
<?php if(kboard_first_contents_mall_is_use_point_order($board) && $item->total_reward_point):?>
<dt><?php echo __('Reward point', 'kboard')?></dt>
<dd><?php echo $board->currency($item->total_reward_point)?></dd>
<?php endif?>
<dt><?php echo __('Total price', 'kboard')?></dt>
<dd><?php echo $board->currency($item->total)?></dd>
<dt><label for="<?php echo $order->getItemFieldName($key, 'delete')?>"><?php echo __('Delete Product', 'kboard')?></label></dt>
<dd><label><input type="checkbox" name="<?php echo $order->getItemFieldName($key, 'delete')?>" id="<?php echo $order->getItemFieldName($key, 'delete')?>" value="delete"> <?php echo __('Delete Product', 'kboard')?></label></dd>
</dl>
</div>
아래코드를 입력해보시겠어요?
<input type="hidden" name="<?php echo $order->getItemFieldName($key, 'quantity')?>" id="<?php echo $order->getItemFieldName($key, 'quantity')?>" value="<?php echo $item->quantity?>" onchange="kboard_order_update()" required>
고맙습니다.