Ignore:
Timestamp:
2010/11/30 19:38:05 (12 years ago)
Author:
nanasess
bzr:base-revision:
ohkouchi@loop-az.jp-20101130052421-f23n6phk9nuifexo
bzr:committer:
Kentaro Ohkouchi <ohkouchi@loop-az.jp>
bzr:file-ids:

data/Smarty/templates/admin/products/confirm.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fproducts%2Fconfirm.tpl
data/Smarty/templates/admin/products/product.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fproducts%2Fproduct.tpl
data/Smarty/templates/admin/products/product_class.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fproducts%2Fproduct_class.tpl
data/Smarty/templates/admin/products/product_class_confirm.tpl 15732@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2FSmarty%2Ftemplates%2Fdefault%2Fadmin%2Fproducts%2Fproduct_class_confirm.tpl
data/class/SC_Product.php 18277@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Fcomu-ver2%2Fdata%2Fclass%2FSC_Product.php
data/class/pages/admin/products/LC_Page_Admin_Products_Product.php 15342@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fadmin%2Fproducts%2FLC_Page_Admin_Products_Product.php
data/class/pages/admin/products/LC_Page_Admin_Products_ProductClass.php 15559@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fadmin%2Fproducts%2FLC_Page_Admin_Products_ProductClass.php
bzr:mapping-version:
v4
bzr:repository-uuid:
1e3b908f-19a9-db11-a64c-001125224ba8
bzr:revision-id:
ohkouchi@loop-az.jp-20101130103758-gugs3ykh556e1vkz
bzr:revno:
2425
bzr:revprop:branch-nick:
branches/version-2_5-dev
bzr:root:
branches/version-2_5-dev
bzr:timestamp:
2010-11-30 19:37:58.640000105 +0900
bzr:user-agent:
bzr2.2.1+bzr-svn1.0.4
svn:original-date:
2010-11-30T10:37:58.640000Z
Message:

#823 商品種別によってカートを分ける

  • 商品登録時に支払方法を設定するよう修正
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/admin/products/LC_Page_Admin_Products_Product.php

    r19688 r19695  
    145145                $productStatus= $objProduct->getProductStatus(array($_POST['product_id'])); 
    146146                $this->arrForm['product_status'] = $productStatus[$_POST['product_id']]; 
     147                $this->arrForm['payment_ids'] = $objProduct->getEnablePaymentIds(array($this->arrForm['product_class_id'])); 
    147148 
    148149                // DBデータから画像ファイル名の読込 
     
    638639            } 
    639640 
     641            // 支払方法チェック 
     642            if (empty($array['payment_ids'])) { 
     643                $objErr->arrErr['payment_ids'] = "※ 支払方法は、いずれかを選択してください。<br />"; 
     644            } 
     645 
    640646            //ダウンロード商品チェック 
    641647            if($array['product_type_id'] == PRODUCT_TYPE_DOWNLOAD) { 
     
    882888 
    883889        } 
     890 
     891        $objProduct = new SC_Product(); 
     892        $objProduct->setPaymentOptions($sqlval['product_class_id'], $arrList['payment_ids']); 
    884893    } 
    885894 
Note: See TracChangeset for help on using the changeset viewer.