恩 很明顯這是個SEO的問題
做網路商店改一下是一定要的啦
參考網頁:http://svn.ec-cube.net/open_trac/changeset/17510
data/class/db/dbfactory/SC_DB_DBFactory_MYSQL.php
把搜尋條件加上dtb_products的”main_list_comment”
"vw_products_allclass_detail" => ' (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_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, main_list_comment, //只加了這一行! |
data/class/pages/products/LC_Page_Products_Detail.php
再檢索時把資料計入參數中
好給下一張用
1 2 3 4 | // meta keywordsに商品検索ワードを入れる $this->tpl_keywords = $this->arrProduct["comment3"]; // meta descriptionに商品一覧-メインコメントを入れる $this->tpl_description = $this->arrProduct["main_list_comment"]; |
data/Smarty/templates/default/site_frame.tpl
再輸出時放入資料