<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* __string_template__b33764644a4387dbacec37bc42e8b2aa */
class __TwigTemplate_a66e5fb3b98b909c28e6199aa83d6d89 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheet' => [$this, 'block_stylesheet'],
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
}
protected function doGetParent(array $context)
{
// line 11
return "default_frame.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "__string_template__b33764644a4387dbacec37bc42e8b2aa"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "__string_template__b33764644a4387dbacec37bc42e8b2aa"));
// line 13
$context["body_class"] = "product_page";
// line 11
$this->parent = $this->loadTemplate("default_frame.twig", "__string_template__b33764644a4387dbacec37bc42e8b2aa", 11);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 15
public function block_stylesheet($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
// line 16
echo "<link rel=\"stylesheet\" href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/products-list.css"), "html", null, true);
echo "\" type=\"text/css\" media=\"all\" />
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 19
public function block_javascript($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
// line 20
echo "\t<script>
\t\teccube.productsClassCategories = {
\t\t\t";
// line 22
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 22, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 23
echo "\t\t\t\"";
echo twig_escape_filter($this->env, twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 23), "js"), "html", null, true);
echo "\": ";
echo $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getClassCategoriesAsJson($context["Product"]);
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "last", [], "any", false, false, false, 23) == false)) {
echo ", ";
}
// line 24
echo "\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 25
echo "\t\t};
\t\t\$(function() {
\t\t\t// 表示件数を変更
\t\t\t\$('.disp-number').change(function() {
\t\t\t\tvar dispNumber = \$(this).val();
\t\t\t\t\$('#disp_number').val(dispNumber);
\t\t\t\t\$('#pageno').val(1);
\t\t\t\t\$(\"#form1\").submit();
\t\t\t});
\t\t\t// 並び順を変更
\t\t\t\$('.order-by').change(function() {
\t\t\t\tvar orderBy = \$(this).val();
\t\t\t\t\$('#orderby').val(orderBy);
\t\t\t\t\$('#pageno').val(1);
\t\t\t\t\$(\"#form1\").submit();
\t\t\t});
\t\t\t\$('.add-cart').on('click', function(e) {
\t\t\t\tvar \$form = \$(this).parents('li').find('form');
\t\t\t\t// 個数フォームのチェック
\t\t\t\tvar \$quantity = \$form.parent().find('.quantity');
\t\t\t\tif (\$quantity.val() < 1) {
\t\t\t\t\t\$quantity[0].setCustomValidity('";
// line 51
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html", null, true);
echo "');
\t\t\t\t\tsetTimeout(function() {
\t\t\t\t\t\tloadingOverlay('hide');
\t\t\t\t\t}, 100);
\t\t\t\t\treturn true;
\t\t\t\t} else {
\t\t\t\t\t\$quantity[0].setCustomValidity('');
\t\t\t\t}
\t\t\t\te.preventDefault();
\t\t\t\t\$.ajax({
\t\t\t\t\turl: \$form.attr('action'),
\t\t\t\t\ttype: \$form.attr('method'),
\t\t\t\t\tdata: \$form.serialize(),
\t\t\t\t\tdataType: 'json',
\t\t\t\t\tbeforeSend: function(xhr, settings) {
\t\t\t\t\t\t// Buttonを無効にする
\t\t\t\t\t\t\$('.add-cart').prop('disabled', true);
\t\t\t\t\t}
\t\t\t\t}).done(function(data) {
\t\t\t\t\t// レスポンス内のメッセージをalertで表示
\t\t\t\t\t\$.each(data.messages, function() {
\t\t\t\t\t\t\$('#ec-modal-header').text(this);
\t\t\t\t\t});
\t\t\t\t\t\$('.ec-modal').show()
\t\t\t\t\t// カートブロックを更新する
\t\t\t\t\t\$.ajax({
\t\t\t\t\t\turl: '";
// line 79
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
echo "',
\t\t\t\t\t\ttype: 'GET',
\t\t\t\t\t\tdataType: 'html'
\t\t\t\t\t}).done(function(html) {
\t\t\t\t\t\t\$('.ec-headerRole__cart').html(html);
\t\t\t\t\t});
\t\t\t\t}).fail(function(data) {
\t\t\t\t\talert('";
// line 86
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへの追加に失敗しました。"), "html", null, true);
echo "');
\t\t\t\t}).always(function(data) {
\t\t\t\t\t// Buttonを有効にする
\t\t\t\t\t\$('.add-cart').prop('disabled', false);
\t\t\t\t});
\t\t\t});
\t\t});
\t\t\$('.ec-modal-wrap').on('click', function(e) {
\t\t\t// モーダル内の処理は外側にバブリングさせない
\t\t\te.stopPropagation();
\t\t});
\t\t\$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
\t\t\t\$('.ec-modal').hide()
\t\t});
\t</script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 104
public function block_main($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 105
echo "\t<section id=\"main-visual\">
\t\t<div class=\"mainvisual\" style=\"background-image: url('";
// line 106
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/mv_img_01.jpg"), "html", null, true);
echo "'); ?>)\"></div>
\t</section>
\t<section id=\"main-title\">
\t\t<h2 class=\"page-title\">PRODUCTS</h2>
\t\t<div class=\"scroll\">
\t\t\t<a href=\"#topic-path\">
\t\t\t\t<p>scroll</p>
\t\t\t\t<img src=\"https://mx-build.jp/wp-content/themes/%E3%82%BF%E3%82%A4%E3%82%A8%E3%82%A4%E5%8C%97%E6%B5%B7%E9%81%93%E3%82%A8%E3%83%B3%E3%82%B7%E3%82%99%E3%83%8B%E3%82%A2%E3%82%A2%E3%83%AA%E3%83%B3%E3%82%AF%E3%82%99/img/scroll.png\" alt=\"scroll-arrow\">
\t\t\t</a>
\t\t</div>
\t</section>
\t<section id=\"topic-path\">
\t\t<div class=\"wrapper\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"page\">
\t\t\t\t\t<a href=\"/\">
\t\t\t\t\t\t<span class=\"home\">HOME</span>
\t\t\t\t\t</a>
\t\t\t\t\t<span>></span>
\t\t\t\t\t<span class=\"current\">商品一覧</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!-- 見出し -->
\t<section id=\"heading\">
\t\t<div class=\"wrapper\">
\t\t\t<div class=\"container\">
\t\t\t\t";
// line 134
if (((isset($context["subtitle"]) || array_key_exists("subtitle", $context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.', 134, $this->source); })()) == "MX")) {
// line 135
echo "\t\t\t\t\t<h3 class=\"title\">着心地を重視した商品(MX)</h3>
\t\t\t\t\t<p class=\"content\">どちらも伸縮性があり、湿気を逃がし、高機能なテクニカル素材です。メッシュは暑い天候のモトでも通気性を高めます。</p>
\t\t\t\t";
} elseif (( // line 137
(isset($context["subtitle"]) || array_key_exists("subtitle", $context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.', 137, $this->source); })()) == "MTB")) {
// line 138
echo "\t\t\t\t\t<h3 class=\"title\">プレミアム仕様の商品(MTB)</h3>
\t\t\t\t\t<p class=\"content\">RENEN がプレミアムでテクニカルな生地を使用し、米国で手作りしています。</p>
\t\t\t\t";
} elseif (( // line 140
(isset($context["subtitle"]) || array_key_exists("subtitle", $context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.', 140, $this->source); })()) == "LIFE STYLE")) {
// line 141
echo "\t\t\t\t\t<h3 class=\"title\">私生活に適した商品(LIFE STYLE)</h3>
\t\t\t\t\t<p class=\"content\">私服におすすめのRENENがデザインしたオシャレな商品。</p>
\t\t\t\t";
} elseif (( // line 143
(isset($context["subtitle"]) || array_key_exists("subtitle", $context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.', 143, $this->source); })()) == "SALE")) {
// line 144
echo "\t\t\t\t\t<h3 class=\"title\">お得な商品(SALE)</h3>
\t\t\t\t\t<p class=\"content\">期間限定でお得にな金額で販売しております。</p>
\t\t\t\t";
}
// line 147
echo "\t\t\t</div>
\t\t</div>
\t</section>
\t<!-- メニューバー -->
\t";
// line 151
$context["Categories"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "getList", [], "method", false, false, false, 151);
// line 152
echo "\t<section id=\"menu-bar\">
\t\t<div class=\"wrapper\">
\t\t\t<div class=\"container\">
\t\t\t\t<nav>
\t\t\t\t\t<ul class=\"menu-list\">
\t\t\t\t\t\t";
// line 157
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories", $context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.', 157, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cate"]) {
// line 158
echo "\t\t\t\t\t\t\t<li class=\"menu\">
\t\t\t\t\t\t\t\t<a href=\"/shop/products/list?category_id=";
// line 159
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cate"], "id", [], "any", false, false, false, 159), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cate"], "name", [], "any", false, false, false, 159), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cate'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 162
echo "\t\t\t\t\t</ul>
\t\t\t\t</nav>
\t\t\t</div>
\t\t</div>
\t</section>
\t";
// line 167
if ((isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 167, $this->source); })())) {
// line 168
echo "\t\t<!-- 製品メニュー -->
\t\t<section id=\"products-menu\">
\t\t\t<div class=\"wrapper\">
\t\t\t\t<div class=\"container\">
\t\t\t\t\t";
// line 172
if ((isset($context["subtitle"]) || array_key_exists("subtitle", $context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.', 172, $this->source); })())) {
// line 173
echo "\t\t\t\t\t\t<div class=\"contents-title\">
\t\t\t\t\t\t\t<h2>";
// line 174
echo twig_escape_filter($this->env, (isset($context["subtitle"]) || array_key_exists("subtitle", $context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.', 174, $this->source); })()), "html", null, true);
echo "</h2>
\t\t\t\t\t\t</div>
\t\t\t\t\t";
}
// line 177
echo "\t\t\t\t\t<div class=\"contents\">
\t\t\t\t\t\t<div class=\"contents-left\">
\t\t\t\t\t\t\t<ul class=\"menu-list\">
\t\t\t\t\t\t\t\t";
// line 180
$context["cate_childs"] = twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 180, $this->source); })()), "getDescendants", [], "any", false, false, false, 180);
// line 181
echo "\t\t\t\t\t\t\t\t";
$context["index"] = 0;
// line 182
echo "\t\t\t\t\t\t\t\t";
if ((isset($context["cate_childs"]) || array_key_exists("cate_childs", $context) ? $context["cate_childs"] : (function () { throw new RuntimeError('Variable "cate_childs" does not exist.', 182, $this->source); })())) {
// line 183
echo "\t\t\t\t\t\t\t\t\t";
$context["h"] = (twig_get_attribute($this->env, $this->source, (isset($context["Category"]) || array_key_exists("Category", $context) ? $context["Category"] : (function () { throw new RuntimeError('Variable "Category" does not exist.', 183, $this->source); })()), "hierarchy", [], "any", false, false, false, 183) + 1);
// line 184
echo "\t\t\t\t\t\t\t\t\t\t";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["cate_childs"]) || array_key_exists("cate_childs", $context) ? $context["cate_childs"] : (function () { throw new RuntimeError('Variable "cate_childs" does not exist.', 184, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cate"]) {
// line 185
echo "\t\t\t\t\t\t\t\t\t\t\t";
if (((isset($context["h"]) || array_key_exists("h", $context) ? $context["h"] : (function () { throw new RuntimeError('Variable "h" does not exist.', 185, $this->source); })()) == twig_get_attribute($this->env, $this->source, $context["cate"], "hierarchy", [], "any", false, false, false, 185))) {
// line 186
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
$context["ChiledCategory"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "find", [0 => twig_get_attribute($this->env, $this->source, $context["cate"], "id", [], "any", false, false, false, 186)], "method", false, false, false, 186);
// line 187
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
$context["child_categories"] = twig_get_attribute($this->env, $this->source, (isset($context["ChiledCategory"]) || array_key_exists("ChiledCategory", $context) ? $context["ChiledCategory"] : (function () { throw new RuntimeError('Variable "ChiledCategory" does not exist.', 187, $this->source); })()), "getDescendants", [], "any", false, false, false, 187);
// line 188
echo "\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"accordion-menu\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"main-menu\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p><a href=\"/shop/products/list?category_id=";
// line 190
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cate"], "id", [], "any", false, false, false, 190), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cate"], "name", [], "any", false, false, false, 190), "html", null, true);
echo "</a></p>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 191
if ((isset($context["child_categories"]) || array_key_exists("child_categories", $context) ? $context["child_categories"] : (function () { throw new RuntimeError('Variable "child_categories" does not exist.', 191, $this->source); })())) {
// line 192
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"arrow\"></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 194
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 195
if ((isset($context["child_categories"]) || array_key_exists("child_categories", $context) ? $context["child_categories"] : (function () { throw new RuntimeError('Variable "child_categories" does not exist.', 195, $this->source); })())) {
// line 196
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"sub-menu\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 197
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["child_categories"]) || array_key_exists("child_categories", $context) ? $context["child_categories"] : (function () { throw new RuntimeError('Variable "child_categories" does not exist.', 197, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["cate"]) {
// line 198
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"menu\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/shop/products/list?category_id=";
// line 199
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cate"], "id", [], "any", false, false, false, 199), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["cate"], "name", [], "any", false, false, false, 199), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cate'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 202
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 204
echo "\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 205
$context["index"] = ((isset($context["index"]) || array_key_exists("index", $context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.', 205, $this->source); })()) + 1);
// line 206
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
if (((isset($context["index"]) || array_key_exists("index", $context) ? $context["index"] : (function () { throw new RuntimeError('Variable "index" does not exist.', 206, $this->source); })()) == twig_get_attribute($this->env, $this->source, (isset($context["column"]) || array_key_exists("column", $context) ? $context["column"] : (function () { throw new RuntimeError('Variable "column" does not exist.', 206, $this->source); })()), 0, [], "array", false, false, false, 206))) {
// line 207
echo "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"contents-right\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"menu-list\">
\t\t\t\t\t\t\t\t\t\t\t\t";
}
// line 212
echo "\t\t\t\t\t\t\t\t\t\t\t";
}
// line 213
echo "\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['cate'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 214
echo "\t\t\t\t\t\t\t\t";
}
// line 215
echo "\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t";
}
// line 222
echo "
\t";
// line 223
if ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 223, $this->source); })()), "vars", [], "any", false, false, false, 223), "value", [], "any", false, false, false, 223) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 223, $this->source); })()), "vars", [], "any", false, false, false, 223), "value", [], "any", false, false, false, 223), "name", [], "any", false, false, false, 223))) {
// line 224
echo "\t\t";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("「%name%」の検索結果", ["%name%" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 224, $this->source); })()), "vars", [], "any", false, false, false, 224), "value", [], "any", false, false, false, 224), "name", [], "any", false, false, false, 224)]), "html", null, true);
echo "
\t";
}
// line 226
echo "
\t";
// line 227
if ((twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 227, $this->source); })()), "category_id", [], "any", false, false, false, 227), "vars", [], "any", false, false, false, 227), "errors", [], "any", false, false, false, 227)) > 0)) {
// line 228
echo "\t\t<div class=\"ec-searchnavRole\">
\t\t\t<p class=\"errormsg text-danger\">";
// line 229
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ご指定のカテゴリは存在しません"), "html", null, true);
echo "</p>
\t\t</div>
\t";
} else {
// line 232
echo "\t\t<div class=\"ec-searchnavRole\">
\t\t\t<form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
\t\t\t\t";
// line 234
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 234, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 235
echo "\t\t\t\t\t<input type=\"hidden\" id=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, false, 235), "id", [], "any", false, false, false, 235), "html", null, true);
echo "\"
\t\t\t\t\t\t name=\"";
// line 236
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, false, 236), "full_name", [], "any", false, false, false, 236), "html", null, true);
echo "\"
\t\t\t\t\t\t ";
// line 237
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, false, 237), "value", [], "any", false, false, false, 237))) {
echo "value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["item"], "vars", [], "any", false, false, false, 237), "value", [], "any", false, false, false, 237), "html", null, true);
echo "\" ";
}
echo "/>
\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 239
echo "\t\t\t</form>
\t\t\t<div class=\"ec-searchnavRole__infos\">
\t\t\t\t<div class=\"ec-searchnavRole__counter\">
\t\t\t\t\t";
// line 242
if ((twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 242, $this->source); })()), "totalItemCount", [], "any", false, false, false, 242) > 0)) {
// line 243
echo "\t\t\t\t\t\t";
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("<span class=\"ec-font-bold\">%count%件</span><span>の商品が見つかりました</span>", ["%count%" => twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 243, $this->source); })()), "totalItemCount", [], "any", false, false, false, 243)]);
echo "
\t\t\t\t\t";
} else {
// line 245
echo "\t\t\t\t\t\t<span>";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お探しの商品は見つかりませんでした"), "html", null, true);
echo "</span>
\t\t\t\t\t";
}
// line 247
echo "\t\t\t\t</div>
\t\t\t\t";
// line 248
if ((twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 248, $this->source); })()), "totalItemCount", [], "any", false, false, false, 248) > 0)) {
// line 249
echo "\t\t\t\t\t<div class=\"ec-searchnavRole__actions\">
\t\t\t\t\t\t<div class=\"ec-select\">
\t\t\t\t\t\t\t";
// line 251
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 251, $this->source); })()), "disp_number", [], "any", false, false, false, 251), 'widget', ["id" => "", "attr" => ["class" => "disp-number"]]);
echo "
\t\t\t\t\t\t\t";
// line 252
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["search_form"]) || array_key_exists("search_form", $context) ? $context["search_form"] : (function () { throw new RuntimeError('Variable "search_form" does not exist.', 252, $this->source); })()), "orderby", [], "any", false, false, false, 252), 'widget', ["id" => "", "attr" => ["class" => "order-by"]]);
echo "
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t";
}
// line 256
echo "\t\t\t</div>
\t\t</div>
\t\t";
// line 258
if ((twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 258, $this->source); })()), "totalItemCount", [], "any", false, false, false, 258) > 0)) {
// line 259
echo "\t\t\t<div class=\"ec-shelfRole\">
\t\t\t\t<ul class=\"ec-shelfGrid\">
\t\t\t\t\t";
// line 261
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 261, $this->source); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
// line 262
echo "\t\t\t\t\t\t<li class=\"ec-shelfGrid__item\">
\t\t\t\t\t\t\t<a href=\"";
// line 263
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 263)]), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t<div class=\"ec-shelfGrid__item-image\"><div style=\"background-image: url(";
// line 264
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "main_list_image", [], "any", false, false, false, 264)), "save_image"), "html", null, true);
echo ");\"></div></div>
\t\t\t\t\t\t\t\t<!--
\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image\">
\t\t\t\t\t\t\t\t\t<img src=\"";
// line 267
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "main_list_image", [], "any", false, false, false, 267)), "save_image"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 267), "html", null, true);
echo "\" ";
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 267) > 5)) {
echo " loading=\"lazy\"";
}
echo ">
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t-->
\t\t\t\t\t\t\t\t<div class=\"myTemplate-item-header\">
\t\t\t\t\t\t\t\t\t<p>";
// line 271
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 271), "html", null, true);
echo "</p>
\t\t\t\t\t\t\t\t\t";
// line 272
if (twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, false, 272)) {
// line 273
echo "\t\t\t\t\t\t\t\t\t\t<p>";
echo twig_nl2br(twig_get_attribute($this->env, $this->source, $context["Product"], "description_list", [], "any", false, false, false, 273));
echo "</p>
\t\t\t\t\t\t\t\t\t";
}
// line 275
echo "\t\t\t\t\t\t\t\t\t<p class=\"price02-default\">
\t\t\t\t\t\t\t\t\t\t";
// line 276
if (twig_get_attribute($this->env, $this->source, $context["Product"], "hasProductClass", [], "any", false, false, false, 276)) {
// line 277
echo "\t\t\t\t\t\t\t\t\t\t\t";
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Min", [], "any", false, false, false, 277) == twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02Max", [], "any", false, false, false, 277))) {
// line 278
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, false, 278)), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t";
} else {
// line 280
echo "\t\t\t\t\t\t\t\t\t\t\t\t";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, false, 280)), "html", null, true);
echo " ~ ";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMax", [], "any", false, false, false, 280)), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 282
echo "\t\t\t\t\t\t\t\t\t\t";
} else {
// line 283
echo "\t\t\t\t\t\t\t\t\t\t\t";
echo twig_escape_filter($this->env, $this->extensions['Eccube\Twig\Extension\EccubeExtension']->getPriceFilter(twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMin", [], "any", false, false, false, 283)), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t\t";
}
// line 285
echo "\t\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t";
// line 289
if (twig_get_attribute($this->env, $this->source, $context["Product"], "stock_find", [], "any", false, false, false, 289)) {
// line 290
echo "\t\t\t\t\t\t\t\t";
$context["form"] = twig_get_attribute($this->env, $this->source, (isset($context["forms"]) || array_key_exists("forms", $context) ? $context["forms"] : (function () { throw new RuntimeError('Variable "forms" does not exist.', 290, $this->source); })()), twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 290), [], "array", false, false, false, 290);
// line 291
echo "\t\t\t\t\t\t\t\t<form name=\"form";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 291), "html", null, true);
echo "\" id=\"productForm";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 291), "html", null, true);
echo "\" action=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_cart", ["id" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 291)]), "html", null, true);
echo "\" method=\"post\">
\t\t\t\t\t\t\t\t\t<div class=\"ec-productRole__actions\">
\t\t\t\t\t\t\t\t\t\t";
// line 293
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id1", [], "any", true, true, false, 293)) {
// line 294
echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"ec-select\">
<span>";
// line 295
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 295, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 295), "vars", [], "any", false, false, false, 295), "label", [], "array", false, false, false, 295), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 296
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 296, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 296), 'widget');
echo "
\t\t\t\t\t\t\t\t\t\t\t\t";
// line 297
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 297, $this->source); })()), "classcategory_id1", [], "any", false, false, false, 297), 'errors');
echo "
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t";
// line 299
if (twig_get_attribute($this->env, $this->source, ($context["form"] ?? null), "classcategory_id2", [], "any", true, true, false, 299)) {
// line 300
echo "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"ec-select\">
\t<span>";
// line 301
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 301, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 301), "vars", [], "any", false, false, false, 301), "label", [], "array", false, false, false, 301), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 302
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 302, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 302), 'widget');
echo "
\t\t\t\t\t\t\t\t\t\t\t\t\t";
// line 303
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 303, $this->source); })()), "classcategory_id2", [], "any", false, false, false, 303), 'errors');
echo "
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t";
}
// line 306
echo "\t\t\t\t\t\t\t\t\t\t";
}
// line 307
echo "\t\t\t\t\t\t\t\t\t\t<div class=\"myTemplate-ec-numberInput\">
\t\t\t\t\t\t\t\t\t\t\t<span>";
// line 308
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("数量"), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t\t\t\t";
// line 309
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 309, $this->source); })()), "quantity", [], "any", false, false, false, 309), 'widget', ["attr" => ["class" => "quantity"]]);
echo "
\t\t\t\t\t\t\t\t\t\t\t";
// line 310
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 310, $this->source); })()), "quantity", [], "any", false, false, false, 310), 'errors');
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"myTemplate-options\">
\t\t\t\t\t\t\t\t\t\t\t";
// line 313
echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 313, $this->source); })()), 'rest');
echo "
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t<div class=\"ec-productRole__btn\">
\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"";
// line 318
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 318), "html", null, true);
echo "\" form=\"productForm";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 318), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t";
// line 319
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに入れる"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
} else {
// line 323
echo "\t\t\t\t\t\t\t\t<div class=\"ec-productRole__btn\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
\t\t\t\t\t\t\t\t\t\t";
// line 325
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま品切れ中です。"), "html", null, true);
echo "
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
}
// line 329
echo "\t\t\t\t\t\t</li>
\t\t\t\t\t";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 331
echo "\t\t\t\t</ul>
\t\t\t</div>
\t\t\t";
// line 333
echo twig_include($this->env, $context, "Product/option_description.twig");
echo "<div class=\"ec-modal\">
\t\t\t\t<div class=\"ec-modal-overlay\">
\t\t\t\t\t<div class=\"ec-modal-wrap\">
\t\t\t\t\t\t<span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"";
// line 336
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/cross-dark.svg"), "html", null, true);
echo "\" alt=\"\"/></span></span>
\t\t\t\t\t\t<div id=\"ec-modal-header\" class=\"text-center\">";
// line 337
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートに追加しました。"), "html", null, true);
echo "</div>
\t\t\t\t\t\t<div class=\"ec-modal-box\">
\t\t\t\t\t\t\t<div class=\"ec-role\">
\t\t\t\t\t\t\t\t<span class=\"ec-inlineBtn--cancel\">";
// line 340
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("お買い物を続ける"), "html", null, true);
echo "</span>
\t\t\t\t\t\t\t\t<a href=\"";
// line 341
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\" class=\"ec-inlineBtn--action\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("カートへ進む"), "html", null, true);
echo "</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"ec-pagerRole\">
\t\t\t\t";
// line 348
$this->loadTemplate("pager.twig", "__string_template__b33764644a4387dbacec37bc42e8b2aa", 348)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env, $this->source, (isset($context["pagination"]) || array_key_exists("pagination", $context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.', 348, $this->source); })()), "paginationData", [], "any", false, false, false, 348)]));
// line 349
echo "\t\t\t</div>
\t\t";
}
// line 351
echo "\t";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "__string_template__b33764644a4387dbacec37bc42e8b2aa";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 831 => 351, 827 => 349, 825 => 348, 813 => 341, 809 => 340, 803 => 337, 799 => 336, 793 => 333, 789 => 331, 774 => 329, 767 => 325, 763 => 323, 756 => 319, 750 => 318, 742 => 313, 736 => 310, 732 => 309, 728 => 308, 725 => 307, 722 => 306, 716 => 303, 712 => 302, 708 => 301, 705 => 300, 703 => 299, 698 => 297, 694 => 296, 690 => 295, 687 => 294, 685 => 293, 675 => 291, 672 => 290, 670 => 289, 664 => 285, 658 => 283, 655 => 282, 647 => 280, 641 => 278, 638 => 277, 636 => 276, 633 => 275, 627 => 273, 625 => 272, 621 => 271, 608 => 267, 602 => 264, 598 => 263, 595 => 262, 578 => 261, 574 => 259, 572 => 258, 568 => 256, 561 => 252, 557 => 251, 553 => 249, 551 => 248, 548 => 247, 542 => 245, 536 => 243, 534 => 242, 529 => 239, 517 => 237, 513 => 236, 508 => 235, 504 => 234, 500 => 232, 494 => 229, 491 => 228, 489 => 227, 486 => 226, 480 => 224, 478 => 223, 475 => 222, 466 => 215, 463 => 214, 457 => 213, 454 => 212, 447 => 207, 444 => 206, 442 => 205, 439 => 204, 435 => 202, 424 => 199, 421 => 198, 417 => 197, 414 => 196, 412 => 195, 409 => 194, 405 => 192, 403 => 191, 397 => 190, 393 => 188, 390 => 187, 387 => 186, 384 => 185, 379 => 184, 376 => 183, 373 => 182, 370 => 181, 368 => 180, 363 => 177, 357 => 174, 354 => 173, 352 => 172, 346 => 168, 344 => 167, 337 => 162, 326 => 159, 323 => 158, 319 => 157, 312 => 152, 310 => 151, 304 => 147, 299 => 144, 297 => 143, 293 => 141, 291 => 140, 287 => 138, 285 => 137, 281 => 135, 279 => 134, 248 => 106, 245 => 105, 235 => 104, 208 => 86, 198 => 79, 167 => 51, 139 => 25, 125 => 24, 117 => 23, 100 => 22, 96 => 20, 86 => 19, 73 => 16, 63 => 15, 52 => 11, 50 => 13, 37 => 11,);
}
public function getSourceContext()
{
return new Source("{#
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.
#}
{% extends 'default_frame.twig' %}
{% set body_class = 'product_page' %}
{% block stylesheet %}
<link rel=\"stylesheet\" href=\"{{ asset('assets/css/products-list.css') }}\" type=\"text/css\" media=\"all\" />
{% endblock %}
{% block javascript %}
\t<script>
\t\teccube.productsClassCategories = {
\t\t\t{% for Product in pagination %}
\t\t\t\"{{ Product.id|escape('js') }}\": {{ class_categories_as_json(Product)|raw }}{% if loop.last == false %}, {% endif %}
\t\t\t{% endfor %}
\t\t};
\t\t\$(function() {
\t\t\t// 表示件数を変更
\t\t\t\$('.disp-number').change(function() {
\t\t\t\tvar dispNumber = \$(this).val();
\t\t\t\t\$('#disp_number').val(dispNumber);
\t\t\t\t\$('#pageno').val(1);
\t\t\t\t\$(\"#form1\").submit();
\t\t\t});
\t\t\t// 並び順を変更
\t\t\t\$('.order-by').change(function() {
\t\t\t\tvar orderBy = \$(this).val();
\t\t\t\t\$('#orderby').val(orderBy);
\t\t\t\t\$('#pageno').val(1);
\t\t\t\t\$(\"#form1\").submit();
\t\t\t});
\t\t\t\$('.add-cart').on('click', function(e) {
\t\t\t\tvar \$form = \$(this).parents('li').find('form');
\t\t\t\t// 個数フォームのチェック
\t\t\t\tvar \$quantity = \$form.parent().find('.quantity');
\t\t\t\tif (\$quantity.val() < 1) {
\t\t\t\t\t\$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
\t\t\t\t\tsetTimeout(function() {
\t\t\t\t\t\tloadingOverlay('hide');
\t\t\t\t\t}, 100);
\t\t\t\t\treturn true;
\t\t\t\t} else {
\t\t\t\t\t\$quantity[0].setCustomValidity('');
\t\t\t\t}
\t\t\t\te.preventDefault();
\t\t\t\t\$.ajax({
\t\t\t\t\turl: \$form.attr('action'),
\t\t\t\t\ttype: \$form.attr('method'),
\t\t\t\t\tdata: \$form.serialize(),
\t\t\t\t\tdataType: 'json',
\t\t\t\t\tbeforeSend: function(xhr, settings) {
\t\t\t\t\t\t// Buttonを無効にする
\t\t\t\t\t\t\$('.add-cart').prop('disabled', true);
\t\t\t\t\t}
\t\t\t\t}).done(function(data) {
\t\t\t\t\t// レスポンス内のメッセージをalertで表示
\t\t\t\t\t\$.each(data.messages, function() {
\t\t\t\t\t\t\$('#ec-modal-header').text(this);
\t\t\t\t\t});
\t\t\t\t\t\$('.ec-modal').show()
\t\t\t\t\t// カートブロックを更新する
\t\t\t\t\t\$.ajax({
\t\t\t\t\t\turl: '{{ url('block_cart') }}',
\t\t\t\t\t\ttype: 'GET',
\t\t\t\t\t\tdataType: 'html'
\t\t\t\t\t}).done(function(html) {
\t\t\t\t\t\t\$('.ec-headerRole__cart').html(html);
\t\t\t\t\t});
\t\t\t\t}).fail(function(data) {
\t\t\t\t\talert('{{ 'カートへの追加に失敗しました。'|trans }}');
\t\t\t\t}).always(function(data) {
\t\t\t\t\t// Buttonを有効にする
\t\t\t\t\t\$('.add-cart').prop('disabled', false);
\t\t\t\t});
\t\t\t});
\t\t});
\t\t\$('.ec-modal-wrap').on('click', function(e) {
\t\t\t// モーダル内の処理は外側にバブリングさせない
\t\t\te.stopPropagation();
\t\t});
\t\t\$('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
\t\t\t\$('.ec-modal').hide()
\t\t});
\t</script>
{% endblock %}
{% block main %}
\t<section id=\"main-visual\">
\t\t<div class=\"mainvisual\" style=\"background-image: url('{{ asset('assets/img/common/mv_img_01.jpg') }}'); ?>)\"></div>
\t</section>
\t<section id=\"main-title\">
\t\t<h2 class=\"page-title\">PRODUCTS</h2>
\t\t<div class=\"scroll\">
\t\t\t<a href=\"#topic-path\">
\t\t\t\t<p>scroll</p>
\t\t\t\t<img src=\"https://mx-build.jp/wp-content/themes/%E3%82%BF%E3%82%A4%E3%82%A8%E3%82%A4%E5%8C%97%E6%B5%B7%E9%81%93%E3%82%A8%E3%83%B3%E3%82%B7%E3%82%99%E3%83%8B%E3%82%A2%E3%82%A2%E3%83%AA%E3%83%B3%E3%82%AF%E3%82%99/img/scroll.png\" alt=\"scroll-arrow\">
\t\t\t</a>
\t\t</div>
\t</section>
\t<section id=\"topic-path\">
\t\t<div class=\"wrapper\">
\t\t\t<div class=\"container\">
\t\t\t\t<div class=\"page\">
\t\t\t\t\t<a href=\"/\">
\t\t\t\t\t\t<span class=\"home\">HOME</span>
\t\t\t\t\t</a>
\t\t\t\t\t<span>></span>
\t\t\t\t\t<span class=\"current\">商品一覧</span>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</section>
\t<!-- 見出し -->
\t<section id=\"heading\">
\t\t<div class=\"wrapper\">
\t\t\t<div class=\"container\">
\t\t\t\t{% if subtitle == 'MX' %}
\t\t\t\t\t<h3 class=\"title\">着心地を重視した商品(MX)</h3>
\t\t\t\t\t<p class=\"content\">どちらも伸縮性があり、湿気を逃がし、高機能なテクニカル素材です。メッシュは暑い天候のモトでも通気性を高めます。</p>
\t\t\t\t{% elseif subtitle == 'MTB' %}
\t\t\t\t\t<h3 class=\"title\">プレミアム仕様の商品(MTB)</h3>
\t\t\t\t\t<p class=\"content\">RENEN がプレミアムでテクニカルな生地を使用し、米国で手作りしています。</p>
\t\t\t\t{% elseif subtitle == 'LIFE STYLE' %}
\t\t\t\t\t<h3 class=\"title\">私生活に適した商品(LIFE STYLE)</h3>
\t\t\t\t\t<p class=\"content\">私服におすすめのRENENがデザインしたオシャレな商品。</p>
\t\t\t\t{% elseif subtitle == 'SALE' %}
\t\t\t\t\t<h3 class=\"title\">お得な商品(SALE)</h3>
\t\t\t\t\t<p class=\"content\">期間限定でお得にな金額で販売しております。</p>
\t\t\t\t{% endif %}
\t\t\t</div>
\t\t</div>
\t</section>
\t<!-- メニューバー -->
\t{% set Categories = repository('Eccube\\\\Entity\\\\Category').getList() %}
\t<section id=\"menu-bar\">
\t\t<div class=\"wrapper\">
\t\t\t<div class=\"container\">
\t\t\t\t<nav>
\t\t\t\t\t<ul class=\"menu-list\">
\t\t\t\t\t\t{% for cate in Categories %}
\t\t\t\t\t\t\t<li class=\"menu\">
\t\t\t\t\t\t\t\t<a href=\"/shop/products/list?category_id={{ cate.id }}\">{{ cate.name }}</a>
\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t</ul>
\t\t\t\t</nav>
\t\t\t</div>
\t\t</div>
\t</section>
\t{% if Category %}
\t\t<!-- 製品メニュー -->
\t\t<section id=\"products-menu\">
\t\t\t<div class=\"wrapper\">
\t\t\t\t<div class=\"container\">
\t\t\t\t\t{% if subtitle %}
\t\t\t\t\t\t<div class=\"contents-title\">
\t\t\t\t\t\t\t<h2>{{ subtitle }}</h2>
\t\t\t\t\t\t</div>
\t\t\t\t\t{% endif %}
\t\t\t\t\t<div class=\"contents\">
\t\t\t\t\t\t<div class=\"contents-left\">
\t\t\t\t\t\t\t<ul class=\"menu-list\">
\t\t\t\t\t\t\t\t{% set cate_childs = Category.getDescendants %}
\t\t\t\t\t\t\t\t{% set index = 0 %}
\t\t\t\t\t\t\t\t{% if cate_childs %}
\t\t\t\t\t\t\t\t\t{% set h = Category.hierarchy + 1 %}
\t\t\t\t\t\t\t\t\t\t{% for cate in cate_childs %}
\t\t\t\t\t\t\t\t\t\t\t{% if h == cate.hierarchy %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set ChiledCategory = repository('Eccube\\\\Entity\\\\Category').find(cate.id) %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set child_categories = ChiledCategory.getDescendants %}
\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"accordion-menu\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"main-menu\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p><a href=\"/shop/products/list?category_id={{ cate.id }}\">{{ cate.name }}</a></p>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if child_categories %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"arrow\"></div>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% if child_categories %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"sub-menu\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for cate in child_categories %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<li class=\"menu\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"/shop/products/list?category_id={{ cate.id }}\">{{ cate.name }}</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t\t</li>
\t\t\t\t\t\t\t\t\t\t\t\t{% set index = index + 1 %}
\t\t\t\t\t\t\t\t\t\t\t\t{% if index == column[0] %}
\t\t\t\t\t\t\t\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"contents-right\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<ul class=\"menu-list\">
\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t</ul>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</section>
\t{% endif %}
\t{% if search_form.vars.value and search_form.vars.value.name %}
\t\t{{ '「%name%」の検索結果'|trans({ '%name%': search_form.vars.value.name }) }}
\t{% endif %}
\t{% if search_form.category_id.vars.errors|length > 0 %}
\t\t<div class=\"ec-searchnavRole\">
\t\t\t<p class=\"errormsg text-danger\">{{ 'ご指定のカテゴリは存在しません'|trans }}</p>
\t\t</div>
\t{% else %}
\t\t<div class=\"ec-searchnavRole\">
\t\t\t<form name=\"form1\" id=\"form1\" method=\"get\" action=\"?\">
\t\t\t\t{% for item in search_form %}
\t\t\t\t\t<input type=\"hidden\" id=\"{{ item.vars.id }}\"
\t\t\t\t\t\t name=\"{{ item.vars.full_name }}\"
\t\t\t\t\t\t {% if item.vars.value is not empty %}value=\"{{ item.vars.value }}\" {% endif %}/>
\t\t\t\t{% endfor %}
\t\t\t</form>
\t\t\t<div class=\"ec-searchnavRole__infos\">
\t\t\t\t<div class=\"ec-searchnavRole__counter\">
\t\t\t\t\t{% if pagination.totalItemCount > 0 %}
\t\t\t\t\t\t{{ '<span class=\"ec-font-bold\">%count%件</span><span>の商品が見つかりました</span>'|trans({ '%count%': pagination.totalItemCount })|raw }}
\t\t\t\t\t{% else %}
\t\t\t\t\t\t<span>{{ 'お探しの商品は見つかりませんでした'|trans }}</span>
\t\t\t\t\t{% endif %}
\t\t\t\t</div>
\t\t\t\t{% if pagination.totalItemCount > 0 %}
\t\t\t\t\t<div class=\"ec-searchnavRole__actions\">
\t\t\t\t\t\t<div class=\"ec-select\">
\t\t\t\t\t\t\t{{ form_widget(search_form.disp_number, {'id': '', 'attr': {'class': 'disp-number'}}) }}
\t\t\t\t\t\t\t{{ form_widget(search_form.orderby, {'id': '', 'attr': {'class': 'order-by'}}) }}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t{% endif %}
\t\t\t</div>
\t\t</div>
\t\t{% if pagination.totalItemCount > 0 %}
\t\t\t<div class=\"ec-shelfRole\">
\t\t\t\t<ul class=\"ec-shelfGrid\">
\t\t\t\t\t{% for Product in pagination %}
\t\t\t\t\t\t<li class=\"ec-shelfGrid__item\">
\t\t\t\t\t\t\t<a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
\t\t\t\t\t\t\t\t<div class=\"ec-shelfGrid__item-image\"><div style=\"background-image: url({{ asset(Product.main_list_image|no_image_product, 'save_image') }});\"></div></div>
\t\t\t\t\t\t\t\t<!--
\t\t\t\t\t\t\t\t<p class=\"ec-shelfGrid__item-image\">
\t\t\t\t\t\t\t\t\t<img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t-->
\t\t\t\t\t\t\t\t<div class=\"myTemplate-item-header\">
\t\t\t\t\t\t\t\t\t<p>{{ Product.name }}</p>
\t\t\t\t\t\t\t\t\t{% if Product.description_list %}
\t\t\t\t\t\t\t\t\t\t<p>{{ Product.description_list|raw|nl2br }}</p>
\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t<p class=\"price02-default\">
\t\t\t\t\t\t\t\t\t\t{% if Product.hasProductClass %}
\t\t\t\t\t\t\t\t\t\t\t{% if Product.getPrice02Min == Product.getPrice02Max %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ Product.getPrice02IncTaxMin|price }}
\t\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t\t{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t{{ Product.getPrice02IncTaxMin|price }}
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t</p>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t</a>
\t\t\t\t\t\t\t{% if Product.stock_find %}
\t\t\t\t\t\t\t\t{% set form = forms[Product.id] %}
\t\t\t\t\t\t\t\t<form name=\"form{{ Product.id }}\" id=\"productForm{{ Product.id }}\" action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\">
\t\t\t\t\t\t\t\t\t<div class=\"ec-productRole__actions\">
\t\t\t\t\t\t\t\t\t\t{% if form.classcategory_id1 is defined %}
\t\t\t\t\t\t\t\t\t\t\t<div class=\"ec-select\">
<span>{{ form.classcategory_id1.vars['label'] }}</span>
\t\t\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.classcategory_id1) }}
\t\t\t\t\t\t\t\t\t\t\t\t{{ form_errors(form.classcategory_id1) }}
\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t{% if form.classcategory_id2 is defined %}
\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"ec-select\">
\t<span>{{ form.classcategory_id2.vars['label'] }}</span>
\t\t\t\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.classcategory_id2) }}
\t\t\t\t\t\t\t\t\t\t\t\t\t{{ form_errors(form.classcategory_id2) }}
\t\t\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t<div class=\"myTemplate-ec-numberInput\">
\t\t\t\t\t\t\t\t\t\t\t<span>{{ '数量'|trans }}</span>
\t\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.quantity, {'attr': {'class': 'quantity'}}) }}
\t\t\t\t\t\t\t\t\t\t\t{{ form_errors(form.quantity) }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t\t<div class=\"myTemplate-options\">
\t\t\t\t\t\t\t\t\t\t\t{{ form_rest(form) }}
\t\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t<div class=\"ec-productRole__btn\">
\t\t\t\t\t\t\t\t\t<button type=\"submit\" class=\"ec-blockBtn--action add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
\t\t\t\t\t\t\t\t\t\t{{ 'カートに入れる'|trans }}
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t<div class=\"ec-productRole__btn\">
\t\t\t\t\t\t\t\t\t<button type=\"button\" class=\"ec-blockBtn--action\" disabled=\"disabled\">
\t\t\t\t\t\t\t\t\t\t{{ 'ただいま品切れ中です。'|trans }}
\t\t\t\t\t\t\t\t\t</button>
\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t</li>
\t\t\t\t\t{% endfor %}
\t\t\t\t</ul>
\t\t\t</div>
\t\t\t{{ include('Product/option_description.twig') }}<div class=\"ec-modal\">
\t\t\t\t<div class=\"ec-modal-overlay\">
\t\t\t\t\t<div class=\"ec-modal-wrap\">
\t\t\t\t\t\t<span class=\"ec-modal-close\"><span class=\"ec-icon\"><img src=\"{{ asset('assets/icon/cross-dark.svg') }}\" alt=\"\"/></span></span>
\t\t\t\t\t\t<div id=\"ec-modal-header\" class=\"text-center\">{{ 'カートに追加しました。'|trans }}</div>
\t\t\t\t\t\t<div class=\"ec-modal-box\">
\t\t\t\t\t\t\t<div class=\"ec-role\">
\t\t\t\t\t\t\t\t<span class=\"ec-inlineBtn--cancel\">{{ 'お買い物を続ける'|trans }}</span>
\t\t\t\t\t\t\t\t<a href=\"{{ url('cart') }}\" class=\"ec-inlineBtn--action\">{{ 'カートへ進む'|trans }}</a>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"ec-pagerRole\">
\t\t\t\t{% include \"pager.twig\" with {'pages': pagination.paginationData} %}
\t\t\t</div>
\t\t{% endif %}
\t{% endif %}
{% endblock %}", "__string_template__b33764644a4387dbacec37bc42e8b2aa", "");
}
}