Skip to content

Instantly share code, notes, and snippets.

@h-sakano
Last active December 20, 2017 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h-sakano/348ea04d45548323f5ac98a9588c6223 to your computer and use it in GitHub Desktop.
Save h-sakano/348ea04d45548323f5ac98a9588c6223 to your computer and use it in GitHub Desktop.
EC-CUBEでフロント画面テンプレートを追加 ref: https://qiita.com/h-sakano/items/d593f3ba85de92452fec
$ cp -r app/template/default/ app/template/[テンプレートコード]/
$ cp -r src/Eccube/Resource/template/default/* app/template/[テンプレートコード]/
$ mysql -u [DB_USER] -p
Enter password: [PASSWORD]
mysql > use [DB_NAME];
mysql > INSERT INTO `dtb_template` (`device_type_id`, `template_code`, `template_name`, `create_date`, `update_date`) VALUES ('10', '[テンプレートコード]', '[テンプレート名]', NOW(), NOW());
$ mysql -u [DB_USER] -p
Enter password: [PASSWORD]
mysql > use [DB_NAME];
mysql > INSERT INTO `dtb_template` (`device_type_id`, `template_code`, `template_name`, `create_date`, `update_date`) VALUES ('10', '[テンプレートコード]', '[テンプレート名]', NOW(), NOW());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment