View InstallerCommand.php
<?php | |
namespace Customize\Command; | |
use Eccube\Command\PluginCommandTrait; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\InputInterface; | |
use Symfony\Component\Console\Output\OutputInterface; |
View services.yaml
services: | |
Customize\ArgumentResolver\ProductValueResolver: | |
arguments: | |
- '@Eccube\Repository\ProductRepository' | |
tags: | |
- { name: controller.argument_value_resolver, priority: 50 } |
View ProductValueResolver.php
<?php | |
namespace Customize\ArgumentResolver; | |
use Eccube\Entity\Product; | |
use Eccube\Repository\ProductRepository; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface; |
View services.yaml
sensio_framework_extra: | |
request: | |
converters: true | |
auto_convert: false |
View plg_nonmember_form.twig
{% if app.request.get('_route') == 'user_data' %} | |
{% if product is defined and product is not null %} | |
{% form_theme form 'Form/form_div_layout.twig' %} | |
<div class="ec-customerRole"> | |
<div class="ec-pageHeader"> | |
<h1>{{ 'front.shopping.nonmember'|trans }}</h1> | |
</div> | |
<div class="ec-cartRole"> | |
<div class="ec-cartRole__progress"> |
View RoutingExtension.php
<?php | |
/** | |
* This file is part of Customize | |
* | |
* Copyright(c) Akira Kurozumi <info@a-zumi.net> | |
* | |
* https://a-zumi.net | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. |
View ProductConverter.php
<?php | |
/** | |
* This file is part of Customize | |
* | |
* Copyright(c) Akira Kurozumi <info@a-zumi.net> | |
* | |
* https://a-zumi.net | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. |
View ProductController.php
<?php | |
/** | |
* This file is part of Customize | |
* | |
* Copyright(c) Akira Kurozumi <info@a-zumi.net> | |
* | |
* https://a-zumi.net | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. |
View ProductTrait.php
<?php | |
/** | |
* This file is part of Customize | |
* | |
* Copyright(c) Akira Kurozumi <info@a-zumi.net> | |
* | |
* https://a-zumi.net | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. |
View CustomerTypeController.php
<?php | |
/** | |
* This file is part of CustomerType | |
* | |
* Copyright(c) Akira Kurozumi <info@a-zumi.net> | |
* | |
* https://a-zumi.net | |
* | |
* For the full copyright and license information, please view the LICENSE | |
* file that was distributed with this source code. |
NewerOlder