Changes between Initial Version and Version 2 of Ticket #581
- Timestamp:
- 2010/01/06 18:12:32 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #581 – Description
initial v2 1 1 price02 は管理機能「商品管理 - 商品登録」で入力必須となっているが、DB 上は NULL 可となっている。DB 制約として、入力必須とする。 2 2 3 これにより、SC_Helper_DB#sfTotalCart の冗長な処理を削除する。 3 これにより、冗長な処理を簡素化できる。 4 5 SC_Helper_DB#sfTotalCart 4 6 {{{ 5 7 // 価格の登録 … … 12 14 } 13 15 }}} 16 17 cart/index.tpl 18 {{{ 19 <!--{if $arrProductsClass[cnt].price02 != ""}--> 20 <!--{$arrProductsClass[cnt].price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 21 <!--{else}--> 22 <!--{$arrProductsClass[cnt].price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 23 <!--{/if}--> 24 }}}
