- Timestamp:
- 2013/01/31 18:39:05 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-multilang/data/class/SC_CartSession.php
r22453 r22489 392 392 */ 393 393 function getAllProductID($productTypeId) { 394 trigger_error(t(' SC_CartSession_001'), E_USER_ERROR);394 trigger_error(t('c_A method that is not operating properly has been called._01'), E_USER_ERROR); 395 395 } 396 396 … … 526 526 if (SC_Utils_Ex::isBlank($product) || $product['status'] != 1) { 527 527 $this->delProduct($arrItem['cart_no'], $productTypeId); 528 $tpl_message .= t(' SC_CartSession_002');528 $tpl_message .= t('c_* A product in your cart is no longer being sold at this time. The item was deleted from your cart._01'); 529 529 } else { 530 530 … … 534 534 $arrDeliv = SC_Helper_Purchase_Ex::getDeliv($productTypeId); 535 535 if (SC_Utils_Ex::isBlank($arrDeliv)) { 536 $tpl_message .= t(' SC_CartSession_003', array('T_ARG1' => $product['name']));536 $tpl_message .= t('c_* Delivery preparations are not ready for T_PRODUCT. Please access the " "inquiry page for more details._01', array('T_PRODUCT' => $product['name'])); 537 537 $this->delProduct($arrItem['cart_no'], $productTypeId); 538 538 } … … 547 547 $total_inctax = SC_Helper_DB_Ex::sfCalcIncTax($arrItem['price']) * $limit; 548 548 $this->setProductValue($arrItem['id'], 'total_inctax', $total_inctax, $productTypeId); 549 $tpl_message .= t(' SC_CartSession_004', array('T_ARG1' => $product['name'], 'T_ARG2' => $limit));549 $tpl_message .= t('c_* There is a sale restriction (or inventory shortage) for T_PRODUCT. It is not possible to purchase a quantity that exceeds T_LIMIT in a single " "purchase._01', array('T_PRODUCT' => $product['name'], 'T_LIMIT' => $limit)); 550 550 } else { 551 551 $this->delProduct($arrItem['cart_no'], $productTypeId); 552 $tpl_message .= t(' SC_CartSession_005', array('T_ARG1' => $product['name']));552 $tpl_message .= t('c_* T_PRODUCT is sold out._01', array('T_PRODUCT' => $product['name'])); 553 553 continue; 554 554 }
Note: See TracChangeset
for help on using the changeset viewer.