Index: /temp/trunk/html/shopping/confirm.php
===================================================================
--- /temp/trunk/html/shopping/confirm.php	(revision 6657)
+++ /temp/trunk/html/shopping/confirm.php	(revision 6684)
@@ -56,4 +56,7 @@
 $arrData = sfTotalConfirm($arrData, $objPage, $objCartSess, $arrInfo, $objCustomer);
 
+// ¥«¡¼ÅÔÆâ¤Î¾¦ÉÊ¤ÎÇä¤êÀÚ¤ì¥Á¥§¥Ã¥¯
+$objCartSess->chkSoldOut($objCartSess->getCartList());
+
 // ²ñ°÷¥í¥°¥¤¥ó¥Á¥§¥Ã¥¯
 if($objCustomer->isLoginSuccess()) {
Index: /temp/trunk/html/shopping/payment.php
===================================================================
--- /temp/trunk/html/shopping/payment.php	(revision 6683)
+++ /temp/trunk/html/shopping/payment.php	(revision 6684)
@@ -55,12 +55,6 @@
 $objPage->arrData = sfTotalConfirm($arrData, $objPage, $objCartSess, $arrInfo);
 
-sfprintr($objCartSess->getCartList());
-foreach($objCartSess->getCartList() as $key => $val){
-	if($val['quantity'] == 0){
-		// Çä¤êÀÚ¤ì¾¦ÉÊ¤ò¥«¡¼¥È¤«¤éºï½ü¤¹¤ë
-		$objCartSess->delProduct($val['cart_no']);
-		sfDispSiteError(SOLD_OUT, "", true);
-	}
-}
+// ¥«¡¼ÅÔÆâ¤Î¾¦ÉÊ¤ÎÇä¤êÀÚ¤ì¥Á¥§¥Ã¥¯
+$objCartSess->chkSoldOut($objCartSess->getCartList());
 
 switch($_POST['mode']) {
Index: /temp/trunk/data/class/SC_CartSession.php
===================================================================
--- /temp/trunk/data/class/SC_CartSession.php	(revision 6679)
+++ /temp/trunk/data/class/SC_CartSession.php	(revision 6684)
@@ -282,5 +282,16 @@
 		}
 		return $total;
-	}	
+	}
+	
+	// ¥«¡¼¥È¤ÎÃæ¤ÎÇä¤êÀÚ¤ì¥Á¥§¥Ã¥¯
+	function chkSoldOut($arrCartList){
+		foreach($arrCartList as $key => $val){
+			if($val['quantity'] == 0){
+				// Çä¤êÀÚ¤ì¾¦ÉÊ¤ò¥«¡¼¥È¤«¤éºï½ü¤¹¤ë
+				$objCartSess->delProduct($val['cart_no']);
+				sfDispSiteError(SOLD_OUT, "", true);
+			}
+		}
+	}
 	
 }
