EC-CUBE2.13カスタマイズの説明:おすすめ商品登録で「商品コメント」を必須にしない。管理画面の「コンテンツ管理>おすすめ商品管理」レイアウトを修正

(1)‘EXIST_CHECK’を削除
■data/class/pages/admin/contents/LC_Page_Admin_Contents_Recommend.php 削除→’EXIST_CHECK’,

$objFormParam->addParam('コメント', 'comment', LTEXT_LEN, 'KVa', array('EXIST_CHECK', 'MAX_LENGTH_CHECK'));

↓(変更)

$objFormParam->addParam('コメント', 'comment', LTEXT_LEN, 'KVa', array('MAX_LENGTH_CHECK'));

(2)コメントアウト
■data/Smarty/templates/admin/contents/recommend.tpl

/*
if ( fm["comment"] && !fm["comment"].value ){
if ( err ) err += '';
err += 'コメントを入力して下さい。';
}
*/

(3)記述の誤りを修正→tableが正常に表示

<col width="13%" />
<col width="73%" />
<col width="7%" />
<col width="7%" />

↓【変更】

<col width="13%" />
<col width="66%" />
<col width="6%" />
<col width="6%" />
<col width="9%" />

(4)上へ

は不要なので削除

(5)センターリングを追加→ class=”center”

(6)画像を正方形にしない

height=”100″を削除する

<img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrItems[$smarty.section.cnt.iteration].main_list_image|sfNoImageMainList|h}-->" alt="<!--{$arrItems[$smarty.section.cnt.iteration].name|h}-->" width="100" />

============================
2.13カスタマイズ(デフォルト)デモサイト
2.13カスタマイズ(デザインテンプレート適用)デモサイト
2.13レスポンシブWebデザイン(スタンダード)デモサイト
2.13レスポンシブWebデザイン(特集ページ作成版)デモサイト
▼詳細はこちらから
ダウンロードEC-CUBEカスタマイズ
============================