<?php
/*
* This file is part of EC-CUBE
*
* Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
*
* http://www.ec-cube.co.jp/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Eccube\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
use Symfony\Component\Routing\Annotation\Route;
class HelpController extends AbstractController
{
/**
* HelpController constructor.
*/
public function __construct()
{
}
/**
* ご利用ガイド.
*
* @Route("/guide", name="help_guide", methods={"GET"})
* @Template("Help/guide.twig")
*/
public function guide()
{
return [];
}
/**
* 当サイトについて.
*
* @Route("/help/about", name="help_about", methods={"GET"})
* @Template("Help/about.twig")
*/
public function about()
{
return [];
}
/**
* プライバシーポリシー.
*
* @Route("/help/privacy", name="help_privacy", methods={"GET"})
* @Template("Help/privacy.twig")
*/
public function privacy()
{
return [];
}
/**
* 利用規約.
*
* @Route("/help/agreement", name="help_agreement", methods={"GET"})
* @Template("Help/agreement.twig")
*/
public function agreement()
{
return [];
}
/**
* よくある質問 (FAQ).
*
* @Route("/faq", name="help_faq", methods={"GET"})
* @Template("FAQ/index.twig")
*/
public function faq()
{
// FAQデータ(後でEntityに移行可能)
$faqs = [
[
'question' => '注文方法について教えてください',
'answer' => '商品ページから希望の商品を選択し、カートに追加後、購入手続きに進んでください。会員登録またはゲスト購入が可能です。'
],
[
'question' => '配送料はかかりますか?',
'answer' => '購入金額によって配送料が異なります。詳細は配送・返品についてのページをご確認ください。'
],
[
'question' => '支払い方法は何がありますか?',
'answer' => 'クレジットカード、銀行振込、代金引換など、複数の支払い方法をご用意しております。'
],
[
'question' => '返品・交換は可能ですか?',
'answer' => '商品到着後7日以内であれば、未使用・未開封の商品に限り返品・交換が可能です。詳細は返品・交換についてのページをご確認ください。'
],
[
'question' => '営業時間を教えてください',
'answer' => '営業時間は平日10:00~18:00となっております。土日祝日はお休みをいただいております。'
],
];
return [
'faqs' => $faqs,
];
}
}