>kuriさん
今後ともよろしくです。お互いにEC-CUBEを盛り上げていきましょう。
僕も基本的にデザイン畑なのでシステムには自信がありません
カテゴリ名を入れるため、site_frame.tpl を以下のように修正しました。
<meta name="keywords" content="<!--{$arrPageLayout.keyword|escape}--><!--{if $tpl_subtitle}-->,<!--{$tpl_subtitle}--><!--{/if}--><!--{if $arrProduct.comment3}-->,<!--{$arrProduct.comment3|escape}--><!--{/if}-->">
また、一覧メインコメントを用いて description に追加することもできましたが、データベースをちょこっといじりました。
商品詳細のデータを取得する部分のビューを変更する、という作業ですが、具体的なSQLとしては以下になります。
DROP VIEW vw_products_allclass_detail;
CREATE VIEW vw_products_allclass_detail AS
SELECT product_id,price01_min,price01_max,price02_min,price02_max,stock_min,stock_max,stock_unlimited_min,stock_unlimited_max,
del_flg,status,name,comment1,comment2,comment3,deliv_fee,main_list_comment,main_comment,main_image,main_large_image,
sub_title1,sub_comment1,sub_image1,sub_large_image1,
sub_title2,sub_comment2,sub_image2,sub_large_image2,
sub_title3,sub_comment3,sub_image3,sub_large_image3,
sub_title4,sub_comment4,sub_image4,sub_large_image4,
sub_title5,sub_comment5,sub_image5,sub_large_image5,
product_flag,deliv_date_id,sale_limit,point_rate,sale_unlimited,file1,file2,category_id
FROM (dtb_products AS T1 RIGHT JOIN
(SELECT
product_id AS product_id_sub,
MIN(price01) AS price01_min,
MAX(price01) AS price01_max,
MIN(price02) AS price02_min,
MAX(price02) AS price02_max,
MIN(stock) AS stock_min,
MAX(stock) AS stock_max,
MIN(stock_unlimited) AS stock_unlimited_min,
MAX(stock_unlimited) AS stock_unlimited_max
FROM dtb_products_class GROUP BY product_id) AS T2
ON T1.product_id = T2.product_id_sub) AS T3 LEFT JOIN (SELECT rank AS category_rank, category_id AS sub_category_id FROM dtb_category) AS T4
ON T3.category_id = T4.sub_category_id;
上記のSQLを実行したうえで、site_frame.tpl を以下のように修正。
<meta name="description" content="<!--{$arrPageLayout.description|escape}--><!--{if $arrProduct.main_list_comment}--><!--{$arrProduct.main_list_comment|regex_replace:"/[\r\t\n]/":""}--><!--{/if}-->">
ちなみに上記の修正はPostgreSQLの場合です。
MySQLの場合は少々事情が異なるようですが、
僕のところにMySQLでのテスト環境がなく検証できないため、
うかつなことは書かないでおきます
そこはシステムに詳しい方々にお任せ、ということで