재작업 중인 사이트 인데요
접속주소 : http://navinblack.com/index.php
1. 비회원 주문시 '장바구니가 비어있습니다'
=> 이렇게 처리 했는데 잘못한건지 해결이 안됩니다
member/basic_comeya_c_u
if (!f.url.value)
{
//f.url.value = "<?=$g4[shop_path]?>/orderform.php";
f.url.value = "<?=$url?>";
}
//f.action = "<?=$g4[shop_path]?>/orderform.php";
f.action = "<?=$url?>";
f.submit();
}
2. cartsub.inc.php
=> 삭제 부분에 bg를 못 넣겠어요 그래서 라인이 단절되어 보입니다
예) http://navinblack.com/shop/cart.php
접속주소 : http://navinblack.com/index.php
1. 비회원 주문시 '장바구니가 비어있습니다'
=> 이렇게 처리 했는데 잘못한건지 해결이 안됩니다
member/basic_comeya_c_u
if (!f.url.value)
{
//f.url.value = "<?=$g4[shop_path]?>/orderform.php";
f.url.value = "<?=$url?>";
}
//f.action = "<?=$g4[shop_path]?>/orderform.php";
f.action = "<?=$url?>";
f.submit();
}
2. cartsub.inc.php
=> 삭제 부분에 bg를 못 넣겠어요 그래서 라인이 단절되어 보입니다
예) http://navinblack.com/shop/cart.php
댓글 2개
1. 비회원구매는 잘되고 있습니다. 질문하신후 코드를 수정하신것 같습니다.
2. 문자열 코드는 ' 일때는 변수를 인식하지 못합니다. " 로 감싸주셔야 합니다.
<?
if ($s_page == 'cart.php')
/*echo '<td height="40" background="<?=$g4[shop_img_path]?>/cart_bar_bg.gif" >삭제</td>';*/
echo "<td height='40' background='$g4[shop_img_path]/cart_bar_bg.gif' >삭제</td>";
else if ($s_page == 'orderinquiryview.php')
/*echo '<td height="40" background="<?=$g4[shop_img_path]?>/cart_bar_bg.gif" >상태</td>';*/
echo "<td height='40' background='$g4[shop_img_path]/cart_bar_bg.gif' >상태</td>";
?>
2. 문자열 코드는 ' 일때는 변수를 인식하지 못합니다. " 로 감싸주셔야 합니다.
<?
if ($s_page == 'cart.php')
/*echo '<td height="40" background="<?=$g4[shop_img_path]?>/cart_bar_bg.gif" >삭제</td>';*/
echo "<td height='40' background='$g4[shop_img_path]/cart_bar_bg.gif' >삭제</td>";
else if ($s_page == 'orderinquiryview.php')
/*echo '<td height="40" background="<?=$g4[shop_img_path]?>/cart_bar_bg.gif" >상태</td>';*/
echo "<td height='40' background='$g4[shop_img_path]/cart_bar_bg.gif' >상태</td>";
?>
게시글 목록
| 번호 | 제목 |
|---|---|
| 56073 | |
| 56067 | |
| 56065 | |
| 56060 | |
| 56058 | |
| 56055 | |
| 56051 | |
| 56048 | |
| 56044 | |
| 56043 | |
| 56042 | |
| 56039 | |
| 56035 | |
| 56032 | |
| 56030 | |
| 56028 | |
| 56025 | |
| 56018 | |
| 56012 | |
| 56010 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기