Ignore:
Timestamp:
2012/06/20 17:19:19 (12 years ago)
Author:
pineray
Message:

#1711 カート内容チェック処理の不具合

メッセージが初期化されてしまわないように.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_12-dev/data/class/pages/cart/LC_Page_Cart.php

    r21867 r21930  
    4242    var $mode; 
    4343 
     44    /** メッセージ */ 
     45    public $tpl_message = ""; 
     46 
    4447    // }}} 
    4548    // {{{ functions 
     
    8790            // 商品購入中にカート内容が変更された。 
    8891            if ($objCartSess->getCancelPurchase($key)) { 
    89                 $this->tpl_message = '商品購入中にカート内容が変更されましたので、お手数ですが購入手続きをやり直して下さい。'; 
     92                $this->tpl_message .= "商品購入中にカート内容が変更されましたので、お手数ですが購入手続きをやり直して下さい。\n"; 
    9093            } 
    9194        } 
     
    144147        foreach ($this->cartKeys as $key) { 
    145148            // カート集計処理 
    146             $this->tpl_message = $objCartSess->checkProducts($key); 
     149            $this->tpl_message .= $objCartSess->checkProducts($key); 
    147150            $this->tpl_total_inctax[$key] = $objCartSess->getAllProductsTotal($key); 
    148151            $totalIncTax += $this->tpl_total_inctax[$key]; 
Note: See TracChangeset for help on using the changeset viewer.