Changeset 18200
- Timestamp:
- 2009/07/18 14:08:56 (14 years ago)
- Location:
- branches/comu-ver2/data
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/data/Smarty/templates/default/cart/index.tpl
r18117 r18200 55 55 56 56 <!--{if strlen($tpl_message) != 0}--> 57 <p class="attention"><!--{$tpl_message|escape }--></p>57 <p class="attention"><!--{$tpl_message|escape|nl2br}--></p> 58 58 <!--{/if}--> 59 59 -
branches/comu-ver2/data/class/helper/SC_Helper_DB.php
r18180 r18200 323 323 } 324 324 325 if ($limit != "" && $limit < $arrCart['quantity']) {325 if ($limit != "" && $limit < $arrCart['quantity']) { 326 326 // カート内商品数を制限に合わせる 327 327 $objCartSess->setProductValue($arrCart['id'], 'quantity', $limit); 328 328 $quantity = $limit; 329 $objPage->tpl_message = "※「" . $arrData['name'] . "」は販売制限(または在庫が不足)しております。一度にこれ以上の購入はできません。\n";329 $objPage->tpl_message .= "※「" . $arrData['name'] . "」は販売制限(または在庫が不足)しております。一度に数量{$limit}以上の購入はできません。\n"; 330 330 } else { 331 331 $quantity = $arrCart['quantity'];
Note: See TracChangeset
for help on using the changeset viewer.