Index: branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Confirm.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Confirm.php	(revision 18820)
+++ branches/version-2_5-dev/data/class/pages/shopping/LC_Page_Shopping_Confirm.php	(revision 18830)
@@ -84,5 +84,6 @@
 
         // カート集計処理
-        $objDb->sfTotalCart($this, $objCartSess);
+        $this->cartKey = $_SESSION['cartKey'];
+        $objDb->sfTotalCart($this, $objCartSess, $this->cartKey);
         if (strlen($this->tpl_message) >= 1) {
             SC_Utils_Ex::sfDispSiteError(SOLD_OUT, '', true);
Index: branches/version-2_5-dev/data/class/pages/cart/LC_Page_Cart.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/cart/LC_Page_Cart.php	(revision 18829)
+++ branches/version-2_5-dev/data/class/pages/cart/LC_Page_Cart.php	(revision 18830)
@@ -101,5 +101,6 @@
         case 'confirm':
             // カート内情報の取得
-            $arrRet = $objCartSess->getCartList();
+            $cartKey = $_POST['cartKey']; // TODO
+            $arrRet = $objCartSess->getCartList($cartKey);
             $max = count($arrRet);
             $cnt = 0;
@@ -128,5 +129,5 @@
                 }
                 // カートを購入モードに設定
-                $objCartSess->saveCurrentCart($uniqid);
+                $objCartSess->saveCurrentCart($uniqid, $cartKey);
                 // 購入ページへ
                 $this->sendRedirect(URL_SHOP_TOP);
@@ -138,10 +139,17 @@
         }
 
-        // カート集計処理
-        $objDb->sfTotalCart($this, $objCartSess);
-        $this->arrData = $objDb->sfTotalConfirm($this->arrData, $this, $objCartSess, null, $objCustomer);
-
         // 基本情報の取得
         $this->arrInfo = $objSiteInfo->data;
+
+        $this->cartKeys = $objCartSess->getKeys();
+        foreach ($this->cartKeys as $key) {
+            // カート集計処理
+            $objDb->sfTotalCart($this, $objCartSess, $key);
+            $this->arrData = $objDb->sfTotalConfirm($this->arrData, $this, $objCartSess, null, $objCustomer, $key);
+            // 送料無料までの金額を計算
+            $this->tpl_deliv_free[$key] = $this->arrInfo['free_rule'] - $this->tpl_total_pretax[$key];
+
+
+        }
 
         // ログイン判定
@@ -152,6 +160,4 @@
         }
 
-        // 送料無料までの金額を計算
-        $this->tpl_deliv_free = $this->arrInfo['free_rule'] - $this->tpl_total_pretax;
 
         // 前頁のURLを取得
Index: branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php
===================================================================
--- branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php	(revision 18829)
+++ branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php	(revision 18830)
@@ -170,4 +170,5 @@
         $this->tpl_stock_find = $objProduct->stock_find[$product_id];
         $this->tpl_product_class_id = $objProduct->classCategories[$product_id]['']['']['product_class_id'];
+        $this->tpl_product_type = $objProduct->classCategories[$product_id]['']['']['product_type'];
 
         require_once DATA_PATH . 'module/Services/JSON.php';
@@ -193,4 +194,5 @@
                     $classcategory_id2 = $_POST['classcategory_id2'];
                     $product_class_id = $_POST['product_class_id'];
+                    $product_type = $_POST['product_type'];
 
                     if (!empty($_POST['gmo_oneclick'])) {
@@ -207,7 +209,5 @@
                         $classcategory_id2 = '0';
                     }
-                    // 規格IDを取得
-                    $objProduct = new SC_Product();
-                    $objCartSess->addProduct($product_class_id, $this->objFormParam->getValue('quantity'));
+                    $objCartSess->addProduct($product_class_id, $this->objFormParam->getValue('quantity'), $product_type);
 
                     if (!empty($_POST['gmo_oneclick'])) {
Index: branches/version-2_5-dev/data/class/SC_CartSession.php
===================================================================
--- branches/version-2_5-dev/data/class/SC_CartSession.php	(revision 18819)
+++ branches/version-2_5-dev/data/class/SC_CartSession.php	(revision 18830)
@@ -36,16 +36,17 @@
 
     // 商品購入処理中のロック
-    function saveCurrentCart($key_tmp) {
+    function saveCurrentCart($key_tmp, $key) {
         $this->key_tmp = "savecart_" . $key_tmp;
         // すでに情報がなければ現状のカート情報を記録しておく
         if(count($_SESSION[$this->key_tmp]) == 0) {
-            $_SESSION[$this->key_tmp] = $_SESSION[$this->key];
+            $_SESSION[$this->key_tmp] = $_SESSION[$key];
         }
         // 1世代古いコピー情報は、削除しておく
-        foreach($_SESSION as $key => $val) {
-            if($key != $this->key_tmp && ereg("^savecart_", $key)) {
-                unset($_SESSION[$key]);
-            }
-        }
+        foreach($_SESSION as $k => $val) {
+            if($k != $this->key_tmp && preg_match("/^savecart_/", $k)) {
+                unset($_SESSION[$key][$k]);
+            }
+        }
+        $this->registerKey($key);
     }
 
@@ -362,4 +363,12 @@
         }
     }
+
+    function registerKey($key) {
+        $_SESSION['cartKey'] = $key;
+    }
+
+    function unsetKey() {
+        unset($_SESSION['cartKey']);
+    }
 }
 ?>
Index: branches/version-2_5-dev/data/class/helper/SC_Helper_DB.php
===================================================================
--- branches/version-2_5-dev/data/class/helper/SC_Helper_DB.php	(revision 18829)
+++ branches/version-2_5-dev/data/class/helper/SC_Helper_DB.php	(revision 18830)
@@ -245,14 +245,9 @@
      * @return LC_Page 集計処理後のページクラスインスタンス
      */
-    function sfTotalCart(&$objPage, $objCartSess, $dummy1 = null) {
-
-        // 規格名一覧
-        $arrClassName = $this->sfGetIDValueList("dtb_class", "class_id", "name");
-        // 規格分類名一覧
-        $arrClassCatName = $this->sfGetIDValueList("dtb_classcategory", "classcategory_id", "name");
-
-        $objPage->tpl_total_pretax = 0;     // 費用合計(税込み)
-        $objPage->tpl_total_tax = 0;        // 消費税合計
-        $objPage->tpl_total_point = 0;      // ポイント合計
+    function sfTotalCart(&$objPage, $objCartSess, $dummy1 = null, $key = "") {
+
+        $objPage->tpl_total_pretax[$key] = 0;     // 費用合計(税込み)
+        $objPage->tpl_total_tax[$key] = 0;        // 消費税合計
+        $objPage->tpl_total_point[$key] = 0;      // ポイント合計
 
         $objProduct = new SC_Product();
@@ -298,21 +293,21 @@
                 $arrQuantityInfo_by_product[$product_id]['name'] = $arrData['name'];
 
-                $objPage->arrProductsClass[$cnt] = $arrData;
-                $objPage->arrProductsClass[$cnt]['quantity'] = $quantity;
-                $objPage->arrProductsClass[$cnt]['cart_no'] = $arrCart['cart_no'];
-                $objPage->arrProductsClass[$cnt]['class_name1'] =
+                $objPage->arrProductsClass[$cnt][$key] = $arrData;
+                $objPage->arrProductsClass[$cnt]['quantity'][$key] = $quantity;
+                $objPage->arrProductsClass[$cnt]['cart_no'][$key] = $arrCart['cart_no'];
+                $objPage->arrProductsClass[$cnt]['class_name1'][$key] =
                     isset($arrData['class_name1'])
                         ? $arrData['class_name1'] : "";
 
-                $objPage->arrProductsClass[$cnt]['class_name2'] =
+                $objPage->arrProductsClass[$cnt]['class_name2'][$key] =
                     isset($arrData['class_name2'])
                         ? $arrData['class_name2'] : "";
 
-                $objPage->arrProductsClass[$cnt]['classcategory_name1'] = $arrData['name1'];
-
-                $objPage->arrProductsClass[$cnt]['classcategory_name2'] = $arrData['name2'];
+                $objPage->arrProductsClass[$cnt]['classcategory_name1'][$key] = $arrData['name1'];
+
+                $objPage->arrProductsClass[$cnt]['classcategory_name2'][$key] = $arrData['name2'];
                 // 価格の登録
                 $objCartSess->setProductValue($arrCart['id'], 'price', $arrData['price02']);
-                $objPage->arrProductsClass[$cnt]['uniq_price'] = $arrData['price02'];
+                $objPage->arrProductsClass[$cnt]['uniq_price'][$key] = $arrData['price02'];
                 // ポイント付与率の登録
                 if (USE_POINT !== false) {
@@ -320,7 +315,7 @@
                 }
                 // 商品ごとの合計金額
-                $objPage->arrProductsClass[$cnt]['total_pretax'] = $objCartSess->getProductTotal($arrCart['id']);
+                $objPage->arrProductsClass[$cnt]['total_pretax'][$key] = $objCartSess->getProductTotal($arrCart['id']);
                 // 送料の合計を計算する
-                $objPage->tpl_total_deliv_fee+= ($arrData['deliv_fee'] * $arrCart['quantity']);
+                $objPage->tpl_total_deliv_fee[$key] += ($arrData['deliv_fee'] * $arrCart['quantity']);
                 $cnt++;
             } else { // DBに商品が見つからない場合、
@@ -335,6 +330,6 @@
                 $objPage->tpl_error = "※「{$quantityInfo['name']}」は数量「{$quantityInfo['sale_limit']}」以下に販売制限しております。一度にこれ以上の購入はできません。\n";
                 // 販売制限に引っかかった商品をマークする
-                foreach (array_keys($objPage->arrProductsClass) as $key) {
-                    $ProductsClass =& $objPage->arrProductsClass[$key];
+                foreach (array_keys($objPage->arrProductsClass) as $k) {
+                    $ProductsClass =& $objPage->arrProductsClass[$k];
                     if ($ProductsClass['product_id'] == $product_id) {
                         $ProductsClass['error'] = true;
@@ -345,10 +340,10 @@
 
         // 全商品合計金額(税込み)
-        $objPage->tpl_total_pretax = $objCartSess->getAllProductsTotal();
+        $objPage->tpl_total_pretax[$key] = $objCartSess->getAllProductsTotal();
         // 全商品合計消費税
-        $objPage->tpl_total_tax = $objCartSess->getAllProductsTax();
+        $objPage->tpl_total_tax[$key] = $objCartSess->getAllProductsTax();
         // 全商品合計ポイント
         if (USE_POINT !== false) {
-            $objPage->tpl_total_point = $objCartSess->getAllProductsPoint();
+            $objPage->tpl_total_point[$key] = $objCartSess->getAllProductsPoint();
         }
 
@@ -1447,5 +1442,5 @@
      * @return array 最終計算後の配列
      */
-    function sfTotalConfirm($arrData, &$objPage, &$objCartSess, $dummy1 = null, $objCustomer = "") {
+    function sfTotalConfirm($arrData, &$objPage, &$objCartSess, $dummy1 = null, $objCustomer = "", $key = "") {
         // 店舗基本情報を取得する
         $arrInfo = SC_Helper_DB_Ex::sf_getBasisData();
@@ -1459,7 +1454,7 @@
 
         // 税金の取得
-        $arrData['tax'] = $objPage->tpl_total_tax;
+        $arrData['tax'] = $objPage->tpl_total_tax[$key];
         // 小計の取得
-        $arrData['subtotal'] = $objPage->tpl_total_pretax;
+        $arrData['subtotal'] = $objPage->tpl_total_pretax[$key];
 
         // 合計送料の取得
@@ -1502,5 +1497,5 @@
 
         // 合計の計算
-        $arrData['total'] = $objPage->tpl_total_pretax; // 商品合計
+        $arrData['total'] = $objPage->tpl_total_pretax[$key]; // 商品合計
         $arrData['total']+= $arrData['deliv_fee'];      // 送料
         $arrData['total']+= $arrData['charge'];         // 手数料
@@ -1509,5 +1504,5 @@
         // 加算ポイントの計算
         if (USE_POINT !== false) {
-            $arrData['add_point'] = SC_Helper_DB_Ex::sfGetAddPoint($objPage->tpl_total_point, $arrData['use_point']);
+            $arrData['add_point'] = SC_Helper_DB_Ex::sfGetAddPoint($objPage->tpl_total_point[$key], $arrData['use_point']);
 
             if($objCustomer != "") {
Index: branches/version-2_5-dev/data/Smarty/templates/default/list.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/list.tpl	(revision 18829)
+++ branches/version-2_5-dev/data/Smarty/templates/default/list.tpl	(revision 18830)
@@ -121,4 +121,15 @@
         eleDynamic.value = ''
     }
+    // 商品種別
+    eleDynamic = document.getElementById('product_type' + product_id);
+    if (
+           classcat2
+        && typeof classcat2.product_type != 'undefined'
+        && String(classcat2.product_type).length >= 1
+    ) {
+        eleDynamic.value = classcat2.product_type;
+    } else {
+        eleDynamic.value = ''
+    }
 }
 //]]>
@@ -144,4 +155,5 @@
         <input type="hidden" name="classcategory_id2" value="" />
         <input type="hidden" name="product_class_id" value="" />
+        <input type="hidden" name="product_type" value="" />
         <input type="hidden" name="quantity" value="" />
         <!--{* ▲注文関連 *}-->
@@ -268,4 +280,5 @@
                     <input type="hidden" name="product_id" value="<!--{$id|escape}-->" />
                     <input type="hidden" name="product_class_id" id="product_class_id<!--{$id|escape}-->" value="<!--{$tpl_product_class_id[$id]}-->" />
+                    <input type="hidden" name="product_type" id="product_type<!--{$id|escape}-->" value="<!--{$tpl_product_type[$id]}-->" />
                     <div class="in_cart">
                         <!--{if $tpl_stock_find[$id]}-->
Index: branches/version-2_5-dev/data/Smarty/templates/default/shopping/confirm.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/shopping/confirm.tpl	(revision 18700)
+++ branches/version-2_5-dev/data/Smarty/templates/default/shopping/confirm.tpl	(revision 18830)
@@ -75,37 +75,37 @@
                     <td class="phototd">
                         <a
-                            <!--{if $arrProductsClass[cnt].main_image|strlen >= 1}-->
-                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProductsClass[cnt].main_image|sfNoImageMainList|escape}-->"
+                            <!--{if $arrProductsClass[cnt][$cartKey].main_image|strlen >= 1}-->
+                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProductsClass[cnt][$cartKey].main_image|sfNoImageMainList|escape}-->"
                                 class="expansion"
                                 target="_blank"
                             <!--{/if}-->
                         >
-                            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProductsClass[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrProductsClass[cnt].name|escape}-->" /></a>
+                            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProductsClass[cnt][$cartKey].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrProductsClass[cnt][$cartKey].name|escape}-->" /></a>
                     </td>
                     <td>
                         <ul>
-                            <li><strong><!--{$arrProductsClass[cnt].name|escape}--></strong></li>
-                            <!--{if $arrProductsClass[cnt].classcategory_name1 != ""}-->
-                            <li><!--{$arrProductsClass[cnt].class_name1}-->：<!--{$arrProductsClass[cnt].classcategory_name1}--></li>
+                            <li><strong><!--{$arrProductsClass[cnt][$cartKey].name|escape}--></strong></li>
+                            <!--{if $arrProductsClass[cnt][$cartKey].classcategory_name1 != ""}-->
+                            <li><!--{$arrProductsClass[cnt][$cartKey].class_name1}-->：<!--{$arrProductsClass[cnt][$cartKey].classcategory_name1}--></li>
                             <!--{/if}-->
-                            <!--{if $arrProductsClass[cnt].classcategory_name2 != ""}-->
-                            <li><!--{$arrProductsClass[cnt].class_name2}-->：<!--{$arrProductsClass[cnt].classcategory_name2}--></li>
+                            <!--{if $arrProductsClass[cnt][$cartKey].classcategory_name2 != ""}-->
+                            <li><!--{$arrProductsClass[cnt][$cartKey].class_name2}-->：<!--{$arrProductsClass[cnt][$cartKey].classcategory_name2}--></li>
                             <!--{/if}-->
                         </ul>
                  </td>
                  <td class="pricetd">
-                 <!--{if $arrProductsClass[cnt].price02 != ""}-->
-                     <!--{$arrProductsClass[cnt].price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
+                 <!--{if $arrProductsClass[cnt][$cartKey].price02 != ""}-->
+                     <!--{$arrProductsClass[cnt][$cartKey].price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
                  <!--{else}-->
-                     <!--{$arrProductsClass[cnt].price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
+                     <!--{$arrProductsClass[cnt][$cartKey].price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
                  <!--{/if}-->
                  </td>
-                 <td><!--{$arrProductsClass[cnt].quantity|number_format}--></td>
-                 <td class="pricetd"><!--{$arrProductsClass[cnt].total_pretax|number_format}-->円</td>
+                 <td><!--{$arrProductsClass[cnt][$cartKey].quantity|number_format}--></td>
+                 <td class="pricetd"><!--{$arrProductsClass[cnt][$cartKey].total_pretax|number_format}-->円</td>
              </tr>
              <!--{/section}-->
                 <tr>
                     <th colspan="4" class="resulttd">小計</th>
-                    <td class="pricetd"><!--{$tpl_total_pretax|number_format}-->円</td>
+                    <td class="pricetd"><!--{$tpl_total_pretax[$cartKey]|number_format}-->円</td>
                 </tr>
                 <!--{if $smarty.const.USE_POINT !== false}-->
Index: branches/version-2_5-dev/data/Smarty/templates/default/cart/index.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/cart/index.tpl	(revision 18700)
+++ branches/version-2_5-dev/data/Smarty/templates/default/cart/index.tpl	(revision 18830)
@@ -48,8 +48,8 @@
                 <!--{* カゴの中に商品がある場合にのみ表示 *}-->
                 <!--{if count($arrProductsClass) > 0 }-->
-                    お買い上げ商品の合計金額は「<em><!--{$tpl_total_pretax|number_format}-->円</em>」です。
+                    お買い上げ商品の合計金額は「<em><!--{$tpl_total_pretax[$key]|number_format}-->円</em>」です。
                     <!--{if $arrInfo.free_rule > 0}-->
                         <!--{if $arrData.deliv_fee|number_format > 0}-->
-                            あと「<em><!--{$tpl_deliv_free|number_format}-->円</em>」で送料無料です！！
+                            あと「<em><!--{$tpl_deliv_free[$key]|number_format}-->円</em>」で送料無料です！！
                         <!--{else}-->
                             現在、「<em>送料無料</em>」です！！
@@ -69,5 +69,5 @@
 
     <!--{if count($arrProductsClass) > 0}-->
-
+    <!--{foreach from=$cartKeys item=key}-->
         <form name="form1" id="form1" method="post" action="?">
             <!--{if 'sfGMOCartDisplay'|function_exists}-->
@@ -88,43 +88,43 @@
                 <!--{section name=cnt loop=$arrProductsClass}-->
                     <tr style="<!--{if $arrProductsClass[cnt].error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->">
-                        <td><a href="?" onclick="fnModeSubmit('delete', 'cart_no', '<!--{$arrProductsClass[cnt].cart_no}-->'); return false;">削除</a>
+                        <td><a href="?" onclick="fnModeSubmit('delete', 'cart_no', '<!--{$arrProductsClass[cnt][$key].cart_no}-->'); return false;">削除</a>
                         </td>
                         <td class="phototd">
                         <a
-                            <!--{if $arrProductsClass[cnt].main_image|strlen >= 1}-->
-                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProductsClass[cnt].main_image|sfNoImageMainList|escape}-->"
+                            <!--{if $arrProductsClass[cnt][$key].main_image|strlen >= 1}-->
+                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProductsClass[cnt][$key].main_image|sfNoImageMainList|escape}-->"
                                 class="expansion"
                                 target="_blank"
                             <!--{/if}-->
                         >
-                            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProductsClass[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrProductsClass[cnt].name|escape}-->" /></a>
+                            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProductsClass[cnt][$key].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrProductsClass[cnt].name|escape}-->" /></a>
                         </td>
-                        <td><!--{* 商品名 *}--><strong><!--{$arrProductsClass[cnt].name|escape}--></strong><br />
-                            <!--{if $arrProductsClass[cnt].classcategory_name1 != ""}-->
-                                <!--{$arrProductsClass[cnt].class_name1}-->：<!--{$arrProductsClass[cnt].classcategory_name1}--><br />
+                        <td><!--{* 商品名 *}--><strong><!--{$arrProductsClass[cnt][$key].name|escape}--></strong><br />
+                            <!--{if $arrProductsClass[cnt][$key].classcategory_name1 != ""}-->
+                                <!--{$arrProductsClass[cnt][$key].class_name1}-->：<!--{$arrProductsClass[cnt][$key].classcategory_name1}--><br />
                             <!--{/if}-->
-                            <!--{if $arrProductsClass[cnt].classcategory_name2 != ""}-->
-                                <!--{$arrProductsClass[cnt].class_name2}-->：<!--{$arrProductsClass[cnt].classcategory_name2}-->
+                            <!--{if $arrProductsClass[cnt][$key].classcategory_name2 != ""}-->
+                                <!--{$arrProductsClass[cnt][$key].class_name2}-->：<!--{$arrProductsClass[cnt][$key].classcategory_name2}-->
                             <!--{/if}-->
                         </td>
                         <td class="pricetd">
                         <!--{if $arrProductsClass[cnt].price02 != ""}-->
-                            <!--{$arrProductsClass[cnt].price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
+                            <!--{$arrProductsClass[cnt][$key].price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
                         <!--{else}-->
-                            <!--{$arrProductsClass[cnt].price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
+                            <!--{$arrProductsClass[cnt][$key].price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
                         <!--{/if}-->
                         </td>
-                        <td id="quantity"><!--{$arrProductsClass[cnt].quantity}-->
+                        <td id="quantity"><!--{$arrProductsClass[cnt][$key].quantity}-->
                             <ul id="quantity_level">
-                                <li><a href="?" onclick="fnModeSubmit('up','cart_no','<!--{$arrProductsClass[cnt].cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/plus.gif" width="16" height="16" alt="＋" /></a></li>
-                                <li><a href="?" onclick="fnModeSubmit('down','cart_no','<!--{$arrProductsClass[cnt].cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/minus.gif" width="16" height="16" alt="-" /></a></li>
+                                <li><a href="?" onclick="fnModeSubmit('up','cart_no','<!--{$arrProductsClass[cnt][$key].cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/plus.gif" width="16" height="16" alt="＋" /></a></li>
+                                <li><a href="?" onclick="fnModeSubmit('down','cart_no','<!--{$arrProductsClass[cnt][$key].cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/minus.gif" width="16" height="16" alt="-" /></a></li>
                             </ul>
                         </td>
-                        <td class="pricetd"><!--{$arrProductsClass[cnt].total_pretax|number_format}-->円</td>
+                        <td class="pricetd"><!--{$arrProductsClass[cnt].total_pretax[$key]|number_format}-->円</td>
                      </tr>
                  <!--{/section}-->
                  <tr>
                      <th colspan="5" class="resulttd">小計</th>
-                     <td class="pricetd"><!--{$tpl_total_pretax|number_format}-->円</td>
+                     <td class="pricetd"><!--{$tpl_total_pretax[$key]|number_format}-->円</td>
                  </tr>
                  <tr>
@@ -156,4 +156,5 @@
                     <!--{/if}-->
                     <!--{if strlen($tpl_error) == 0}-->
+                        <input type="hidden" name="cartKey" value="<!--{$key}-->" />
                         <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/cart/b_buystep_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/cart/b_buystep.gif',this)" src="<!--{$TPL_DIR}-->img/cart/b_buystep.gif" class="box150" alt="購入手続きへ" name="confirm" />
                     <!--{/if}-->
@@ -161,4 +162,5 @@
             </div>
         </form>
+    <!--{/foreach}-->
     <!--{else}-->
         <p class="empty"><em>※ 現在カート内に商品はございません。</em></p>
Index: branches/version-2_5-dev/data/Smarty/templates/default/detail.tpl
===================================================================
--- branches/version-2_5-dev/data/Smarty/templates/default/detail.tpl	(revision 18829)
+++ branches/version-2_5-dev/data/Smarty/templates/default/detail.tpl	(revision 18830)
@@ -141,4 +141,15 @@
         eleDynamic.value = ''
     }
+    // 商品種別
+    eleDynamic = document.getElementById('product_type');
+    if (
+           classcat2
+        && typeof classcat2.product_type != 'undefined'
+        && String(classcat2.product_type).length >= 1
+    ) {
+        eleDynamic.value = classcat2.product_type;
+    } else {
+        eleDynamic.value = ''
+    }
 }
 $(document).ready(function() {
@@ -292,4 +303,5 @@
                 <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" />
                 <input type="hidden" name="product_class_id" value="<!--{$tpl_product_class_id}-->" id="product_class_id" />
+                <input type="hidden" name="product_type" value="<!--{$tpl_product_type}-->" id="product_type" />
                 <input type="hidden" name="favorite_product_id" value="" />
 
