sns 소셜공유 이미지 삭제 또는 숨김
관련링크
본문
모바일 보기 상품 이미지 입니다
표시된 마크 이미지를 안보이게 하고 싶습니다
홈피 처음 구축했을 때 작업하신 프리랜서분께 SNS 이미지 지워달라고 요청했었는데 ...
PC쪽은 안보이는데 모바일쪽은 이렇게 존재하네요
지금 수정 요청 드려도 AS 못해준다고 하고 ㅠㅠ
결국 제가 SIR게시판 보며 찾고있는데요
지금까지 수정하면서 알게된 것으로는
이미지는 SIKN 폴더고 . 메뉴는 SHOP 폴더 안 PhP 파일을 수정
숨김표시는 <!-- / --> 로 하면 되던데 어떤파일의 어떤 부분을 봐야 하는건지 모르겠습니다
게시판 Q&A 글을 참고삼아
mobile>skin>shop>basic>item.form.sikn.php 에서 "facebook" 문자가 있는곳에서
<!-- / --> 표시를 하였는데 숨김적용을 하였더니 best 이미지에서는 안보이고
상품정렬은 보이고 이미지 클릭하면 안보이고 ...
답변 2
간단한 방법으로는 false로 값만 변경하시면됩니다.
/shop 및에 index.php나 list.php같은 부분에서 set_view('sns', true); 의 값을 false로 변경만 하시면됩니다
아래 소스가 있으니 참고 바랍니다.
$list = new item_list($skin_file, $ca['ca_list_mod'], $ca['ca_list_row'], $ca['ca_img_width'], $ca['ca_img_height']);
$list->set_category($ca['ca_id'], 1);
$list->set_category($ca['ca_id'], 2);
$list->set_category($ca['ca_id'], 3);
$list->set_is_page(true);
$list->set_order_by($order_by);
$list->set_from_record($from_record);
$list->set_view('it_img', true);
$list->set_view('it_id', false);
$list->set_view('it_name', true);
$list->set_view('it_basic', true);
$list->set_view('it_cust_price', true);
$list->set_view('it_price', true);
$list->set_view('it_icon', true);
$list->set_view('sns', true); <-- 이부분을 false로 바꾸시면 안나옵니다.
echo $list->run();
도움이 되셨기를.~~
!-->css 에서 display:none 속성으로 안보이게 하는것이 제일 간단합니다.
돌아가는 아무 css 파일에서
.sct_10 .sct_sns {display:none}
또는
#sct_wrap .sct_sns {display:none}
또는
#sct .sct_sns {display:none}
이렇게 하면 화면에서 안보여요.