답변 2개
/shop/cartupdate.php 파일에서 아래 구문을 주석처리또는 삭제하고
</p>// 바로 구매일 경우<div>if ($sw_direct)</div><div>{</div><div> if ($is_member)</div><div> {</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>goto_url(G5_SHOP_URL."/orderform.php?sw_direct=$sw_direct");</div><div> }</div><div> else</div><div> {</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>goto_url(G5_BBS_URL."/login.php?url=".urlencode(G5_SHOP_URL."/orderform.php?sw_direct=$sw_direct"));</div><div> }</div><div>}</div><p><span style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;">
아래 코드로 대체 하세요
</span><span style="font-size: 10pt; line-height: 1.5;"></span></p><p><span style="font-size: 10pt; line-height: 1.5;"></span><span style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;"></span><span style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;">// 바로 구매일 경우</span></p><div style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;">if ($sw_direct)</div><div style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;">{</div><div style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;"><span style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;"> </span><span style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;"> </span><span class="Apple-tab-span" style="font-size: 13.3333330154419px; line-height: 18.1818180084229px; white-space: pre;"> </span><span style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;">goto_url(G5_SHOP_URL."/orderform.php?sw_direct=$sw_direct");</span></div><div style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;"><span style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;">}</span></div><p><span style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;"></span></p><p><span style="font-size: 10pt; line-height: 1.5;"></span><span style="font-size: 13.3333330154419px; line-height: 18.1818180084229px;">
답변에 대한 댓글 2개
if ($act == 'buy') {
코드내에도 하단에
if ($is_member) // 회원인 경우
goto_url(G5_SHOP_URL.'/orderform.php');
else
goto_url(G5_BBS_URL.'/login.php?url='.urlencode(G5_SHOP_URL.'/orderform.php'));
위와 같은 코드 있습니다. 주석 또는 삭제하시고
goto_url(G5_SHOP_URL.'/orderform.php');
로 대체하시면 되요.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
한가지 더 장바구니에서 구매하기도 로그인 없이 바로 주문서 페이지로 이동하게끔 수정가능할까요??