app/template/default/Product/detail.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of EC-CUBE
  3. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  4. http://www.ec-cube.co.jp/
  5. For the full copyright and license information, please view the LICENSE
  6. file that was distributed with this source code.
  7. #}
  8. {% extends 'default_frame.twig' %}
  9. {% set body_class = 'product_page' %}
  10. {% if Category is not empty %}
  11.     {% set page_name = Category.name %}
  12. {% endif %}
  13. {% block stylesheet %}
  14.     <style>
  15.         .slick-slider {
  16.             margin-bottom: 30px;
  17.         }
  18.         .slick-dots {
  19.             position: absolute;
  20.             bottom: -45px;
  21.             display: block;
  22.             width: 100%;
  23.             padding: 0;
  24.             list-style: none;
  25.             text-align: center;
  26.         }
  27.         .slick-dots li {
  28.             position: relative;
  29.             display: inline-block;
  30.             width: 20px;
  31.             height: 20px;
  32.             margin: 0 5px;
  33.             padding: 0;
  34.             cursor: pointer;
  35.         }
  36.         .slick-dots li button {
  37.             font-size: 0;
  38.             line-height: 0;
  39.             display: block;
  40.             width: 20px;
  41.             height: 20px;
  42.             padding: 5px;
  43.             cursor: pointer;
  44.             color: transparent;
  45.             border: 0;
  46.             outline: none;
  47.             background: transparent;
  48.         }
  49.         .slick-dots li button:hover,
  50.         .slick-dots li button:focus {
  51.             outline: none;
  52.         }
  53.         .slick-dots li button:hover:before,
  54.         .slick-dots li button:focus:before {
  55.             opacity: 1;
  56.         }
  57.         .slick-dots li button:before {
  58.             content: " ";
  59.             line-height: 20px;
  60.             position: absolute;
  61.             top: 0;
  62.             left: 0;
  63.             width: 12px;
  64.             height: 12px;
  65.             text-align: center;
  66.             opacity: .25;
  67.             background-color: black;
  68.             border-radius: 50%;
  69.         }
  70.         .slick-dots li.slick-active button:before {
  71.             opacity: .75;
  72.             background-color: black;
  73.         }
  74.         .slick-dots li button.thumbnail img {
  75.             width: 0;
  76.             height: 0;
  77.         }
  78.         .ec-productRole .lib-eccube__cart {
  79.             border: unset;
  80.             outline: unset;
  81.         }
  82.         .ec-productRole .ec-productRole__extra-item {
  83.             max-width: 400px;
  84.             width: 100%;
  85.             border-top: 1px dashed #333;
  86.             padding: 20px 0;
  87.         }
  88.         .ec-productRole .ec-productRole__extra-item .title {
  89.             margin-bottom: 15px;
  90.             font-family: "Noto Sans JP";
  91.             font-weight: 500;
  92.             font-size: 17px;
  93.             line-height: 25px;
  94.             color: #d53737;
  95.         }
  96.         .ec-productRole .ec-productRole__description {
  97.             margin-top: 50px;
  98.         }
  99.         .ec-productRole .ec-productRole__description > p {
  100.             max-width: 1000px;
  101.             width: 100%;
  102.             height: 50px;
  103.             margin: auto;
  104.             margin-bottom: 30px;
  105.             border-radius: 28px;
  106.             font-family: "Noto Sans JP";
  107.             font-weight: 500;
  108.             font-size: 24px;
  109.             letter-spacing: 0.1em;
  110.             line-height: 48px;
  111.             text-align: center;
  112.             color: #fff;
  113.             background: #1e507b;
  114.         }
  115.         .ec-productRole .ec-productRole__description .ec-productRole__description-text {
  116.             max-width: 1000px;
  117.             width: 100%;
  118.             margin: auto;
  119.             padding-left: 20px;
  120.             padding-right: 20px;
  121.             font-family: "Noto Sans JP";
  122.             font-size: 14px;
  123.             line-height: 30px;
  124.             color: #333;
  125.         }
  126.         .ec-productRole .ec-productRole__actions .ec-numberInput span,
  127.         .ec-productRole .ec-productRole__actions .ec-select label {
  128.             min-width: 50px;
  129.             margin-right: 10px;
  130.             font-weight: bold;
  131.         }
  132.         .ec-productRole .ec-productRole__btn .add-cart svg {
  133.             margin-right: 10px;
  134.         }
  135.     </style>
  136. {% endblock %}
  137. {% block javascript %}
  138.     <script>
  139.         eccube.classCategories = {{ class_categories_as_json(Product)|raw }};
  140.         // 規格2に選択肢を割り当てる。
  141.         function fnSetClassCategories(form, classcat_id2_selected) {
  142.             var $form = $(form);
  143.             var product_id = $form.find('input[name=product_id]').val();
  144.             var $sele1 = $form.find('select[name=classcategory_id1]');
  145.             var $sele2 = $form.find('select[name=classcategory_id2]');
  146.             eccube.setClassCategories($form, product_id, $sele1, $sele2, classcat_id2_selected);
  147.         }
  148.         {% if form.classcategory_id2 is defined %}
  149.         fnSetClassCategories(
  150.             $('#form1'), {{ form.classcategory_id2.vars.value|json_encode|raw }}
  151.         );
  152.         {% elseif form.classcategory_id1 is defined %}
  153.         eccube.checkStock($('#form1'), {{ Product.id }}, {{ form.classcategory_id1.vars.value|json_encode|raw }}, null);
  154.         {% endif %}
  155.     </script>
  156.     <script>
  157.         $(function() {
  158.             // bfcache無効化
  159.             $(window).bind('pageshow', function(event) {
  160.                 if (event.originalEvent.persisted) {
  161.                     location.reload(true);
  162.                 }
  163.             });
  164.             // Core Web Vital の Cumulative Layout Shift(CLS)対策のため
  165.             // img タグに width, height が付与されている.
  166.             // 630px 未満の画面サイズでは縦横比が壊れるための対策
  167.             // see https://github.com/EC-CUBE/ec-cube/pull/5023
  168.             $('.ec-grid2__cell').hide();
  169.             var removeSize = function () {
  170.                 $('.slide-item').height('');
  171.                 $('.slide-item img')
  172.                     .removeAttr('width')
  173.                     .removeAttr('height')
  174.                     .removeAttr('style');
  175.             };
  176.             var slickInitial = function(slick) {
  177.                 $('.ec-grid2__cell').fadeIn(1500);
  178.                 var baseHeight = $(slick.target).height();
  179.                 var baseWidth = $(slick.target).width();
  180.                 var rate = baseWidth / baseHeight;
  181.                 $('.slide-item').height(baseHeight * rate); // 余白を削除する
  182.                 // transform を使用することでCLSの影響を受けないようにする
  183.                 $('.slide-item img')
  184.                     .css(
  185.                         {
  186.                             'transform-origin': 'top left',
  187.                             'transform': 'scaleY(' + rate + ')',
  188.                             'transition': 'transform .1s'
  189.                         }
  190.                     );
  191.                 // 正しいサイズに近くなったら属性を解除する
  192.                 setTimeout(removeSize, 500);
  193.             };
  194.             $('.item_visual').on('init', slickInitial);
  195.             // リサイズ時は CLS の影響を受けないため属性を解除する
  196.             $(window).resize(removeSize);
  197.             $('.item_visual').slick({
  198.                 dots: false,
  199.                 arrows: false,
  200.                 responsive: [{
  201.                     breakpoint: 768,
  202.                     settings: {
  203.                         dots: true
  204.                     }
  205.                 }]
  206.             });
  207.             $('.slideThumb').on('click', function() {
  208.                 var index = $(this).attr('data-index');
  209.                 $('.item_visual').slick('slickGoTo', index, false);
  210.             })
  211.         });
  212.     </script>
  213.     <script>
  214.         $(function() {
  215.             $('.add-cart').on('click', function(event) {
  216.                 {% if form.classcategory_id1 is defined %}
  217.                 // 規格1フォームの必須チェック
  218.                 if ($('#classcategory_id1').val() == '__unselected' || $('#classcategory_id1').val() == '') {
  219.                     $('#classcategory_id1')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  220.                     return true;
  221.                 } else {
  222.                     $('#classcategory_id1')[0].setCustomValidity('');
  223.                 }
  224.                 {% endif %}
  225.                 {% if form.classcategory_id2 is defined %}
  226.                 // 規格2フォームの必須チェック
  227.                 if ($('#classcategory_id2').val() == '__unselected' || $('#classcategory_id2').val() == '') {
  228.                     $('#classcategory_id2')[0].setCustomValidity('{{ '項目が選択されていません'|trans }}');
  229.                     return true;
  230.                 } else {
  231.                     $('#classcategory_id2')[0].setCustomValidity('');
  232.                 }
  233.                 {% endif %}
  234.                 // 個数フォームのチェック
  235.                 if ($('#quantity').val() < 1) {
  236.                     $('#quantity')[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
  237.                     return true;
  238.                 } else {
  239.                     $('#quantity')[0].setCustomValidity('');
  240.                 }
  241.                 event.preventDefault();
  242.                 $form = $('#form1');
  243.                 $.ajax({
  244.                     url: $form.attr('action'),
  245.                     type: $form.attr('method'),
  246.                     data: $form.serialize(),
  247.                     dataType: 'json',
  248.                     beforeSend: function(xhr, settings) {
  249.                         // Buttonを無効にする
  250.                         $('.add-cart').prop('disabled', true);
  251.                     }
  252.                 }).done(function(data) {
  253.                     // レスポンス内のメッセージをalertで表示
  254.                     $.each(data.messages, function() {
  255.                         $('#ec-modal-header').text(this);
  256.                     });
  257.                     $('.ec-modal').show()
  258.                     // カートブロックを更新する
  259.                     $.ajax({
  260.                         url: "{{ url('block_cart') }}",
  261.                         type: 'GET',
  262.                         dataType: 'html'
  263.                     }).done(function(html) {
  264.                         $('.ec-headerRole__cart').html(html);
  265.                     });
  266.                 }).fail(function(data) {
  267.                     alert('{{ 'カートへの追加に失敗しました。'|trans }}');
  268.                 }).always(function(data) {
  269.                     // Buttonを有効にする
  270.                     $('.add-cart').prop('disabled', false);
  271.                 });
  272.             });
  273.         });
  274.         $('.ec-modal-wrap').on('click', function(e) {
  275.             // モーダル内の処理は外側にバブリングさせない
  276.             e.stopPropagation();
  277.         });
  278.         $('.ec-modal-overlay, .ec-modal, .ec-modal-close, .ec-inlineBtn--cancel').on('click', function() {
  279.             $('.ec-modal').hide()
  280.         });
  281.     </script>
  282.     <script type="application/ld+json">
  283.     {
  284.         "@context": "https://schema.org/",
  285.         "@type": "Product",
  286.         "name": "{{ Product.name }}",
  287.         "image": [
  288.             {% for img in Product.ProductImage %}
  289.                 "{{ app.request.schemeAndHttpHost }}{{ asset(img, 'save_image') }}"{% if not loop.last %},{% endif %}
  290.             {% else %}
  291.                 "{{ app.request.schemeAndHttpHost }}{{ asset(''|no_image_product, 'save_image') }}"
  292.             {% endfor %}
  293.         ],
  294.         "description": "{{ Product.description_list | default(Product.description_detail) | replace({'\n': '', '\r': ''}) | slice(0,300) }}",
  295.         {% if Product.code_min %}
  296.         "sku": "{{ Product.code_min }}",
  297.         {% endif %}
  298.         "offers": {
  299.             "@type": "Offer",
  300.             "url": "{{ url('product_detail', {'id': Product.id}) }}",
  301.             "priceCurrency": "{{ eccube_config.currency }}",
  302.             "price": {{ Product.getPrice02IncTaxMin ? Product.getPrice02IncTaxMin : 0}},
  303.             "availability": "{{ Product.stock_find ? "InStock" : "OutOfStock" }}"
  304.         }
  305.     }
  306.     </script>
  307. {% endblock %}
  308. {% block main %}
  309.     <div class="ec-productRole">
  310.         <div class="ec-grid2">
  311.             <div class="ec-grid2__cell">
  312.                 <div class="ec-sliderItemRole">
  313.                     <div class="item_visual">
  314.                         {% for ProductImage in Product.ProductImage %}
  315.                             <div class="slide-item"><img src="{{ asset(ProductImage, 'save_image') }}" alt="{{ loop.first ? Product.name : '' }}" width="550" height="550"{% if loop.index > 1 %} loading="lazy"{% endif %}></div>
  316.                         {% else %}
  317.                             <div class="slide-item"><img src="{{ asset(''|no_image_product, 'save_image') }}" alt="{{ loop.first ? Product.name : '' }}" width="550" height="550"></div>
  318.                         {% endfor %}
  319.                     </div>
  320.                     <div class="item_nav">
  321.                         {% for ProductImage in Product.ProductImage %}
  322.                             <div class="slideThumb" data-index="{{ loop.index0 }}"><img src="{{ asset(ProductImage, 'save_image') }}" alt="" width="133" height="133" loading="lazy"></div>
  323.                         {% endfor %}
  324.                     </div>
  325.                 </div>
  326.             </div>
  327.             <div class="ec-grid2__cell">
  328.                 <div class="ec-productRole__profile">
  329.                     {# 商品名 #}
  330.                     <div class="ec-productRole__title">
  331.                         <h2 class="ec-headingTitle">{{ Product.name }}</h2>
  332.                     </div>
  333.                     {# タグ #}
  334.                     <ul class="ec-productRole__tags">
  335.                         {% for Tag in Product.Tags %}
  336.                             <li class="ec-productRole__tag tag_{{ Tag.id }}">{{ Tag }}</li>
  337.                         {% endfor %}
  338.                     </ul>
  339.                     {# 関連カテゴリ #}
  340.                     {% if Product.ProductCategories is not empty %}
  341.                         <div class="ec-productRole__category">
  342.                             {% for ProductCategory in Product.ProductCategories %}
  343.                                 <ul>
  344.                                     <li>
  345.                                         {% for Category in ProductCategory.Category.path %}
  346.                                             <a href="{{ url('product_list') }}?category_id={{ Category.id }}">{{ Category.name }}</a> {%- if loop.last == false %}
  347.                                             <span>></span>{% endif -%}
  348.                                         {% endfor %}
  349.                                     </li>
  350.                                 </ul>
  351.                             {% endfor %}
  352.                         </div>
  353.                     {% endif %}
  354.                     {# 商品コード #}
  355.                     {% if Product.code_min is not empty %}
  356.                         <div class="ec-productRole__code">
  357.                             {{ '品番'|trans }}: <span class="product-code-default">{{ Product.code_min }}{% if Product.code_min != Product.code_max %} ~ {{ Product.code_max }}{% endif %}</span>
  358.                         </div>
  359.                     {% endif %}
  360.                     {# 通常価格 #}
  361.                     {% if Product.hasProductClass -%}
  362.                         <div class="ec-productRole__priceRegular">
  363.                             {% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
  364.                                 <span class="ec-productRole__priceRegularPrice">{{ '通常価格'|trans }}:<span class="price01-default">{{ Product.getPrice01IncTaxMin|price }}</span></span>
  365.                                 <span class="ec-productRole__priceRegularTax">{{ '税込'|trans }}</span>
  366.                             {% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
  367.                                 <span class="ec-productRole__priceRegularPrice">{{ '通常価格'|trans }}:<span class="price01-default">{{ Product.getPrice01IncTaxMin|price }}~ {{ Product.getPrice01IncTaxMax|price }}</span></span>
  368.                                 <span class="ec-productRole__priceRegularTax">{{ '税込'|trans }}</span>
  369.                             {% endif %}
  370.                         </div>
  371.                     {% else %}
  372.                         {% if Product.getPrice01Max is not null %}
  373.                             <span class="ec-productRole__priceRegularPrice">{{ '通常価格'|trans }}:{{ Product.getPrice01IncTaxMin|price }}</span>
  374.                             <span class="ec-productRole__priceRegularTax">{{ '税込'|trans }}</span>
  375.                         {% endif %}
  376.                     {% endif %}
  377.                     {# 販売価格 #}
  378.                     <div class="ec-productRole__price" style="color: #00173a">
  379.                         {% if Product.hasProductClass -%}
  380.                             {% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
  381.                                 <div class="ec-price">
  382.                                     <span class="ec-price__price price02-default">{{ Product.getPrice02IncTaxMin|price }}</span>
  383.                                     <span class="ec-price__tax">{{ '税込'|trans }}</span>
  384.                                 </div>
  385.                             {% else %}
  386.                                 <div class="ec-price">
  387.                                     <span class="ec-price__price price02-default">{{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}</span>
  388.                                     <span class="ec-price__tax">{{ '税込'|trans }}</span>
  389.                                 </div>
  390.                             {% endif %}
  391.                         {% else %}
  392.                             <div class="ec-price">
  393.                                 <span class="ec-price__price">{{ Product.getPrice02IncTaxMin|price }}</span>
  394.                                 <span class="ec-price__tax">{{ '税込'|trans }}</span>
  395.                             </div>
  396.                         {% endif %}
  397.                     </div>
  398.                     <form action="{{ url('product_add_cart', {id:Product.id}) }}" method="post" id="form1" name="form1">
  399.                         {% if Product.stock_find %}
  400.                             <div class="ec-productRole__actions">
  401.                                 <div class="ec-numberInput"><span>{{ '数量'|trans }}</span>
  402.                                     {{ form_widget(form.quantity) }}
  403.                                     {{ form_errors(form.quantity) }}</span>
  404.                                 </div>
  405.                                 {% if form.classcategory_id1 is defined %}
  406.                                     <div class="ec-select">
  407.                                         {{ form_row(form.classcategory_id1) }}
  408.                                         {{ form_errors(form.classcategory_id1) }}
  409.                                     </div>
  410.                                     {% if form.classcategory_id2 is defined %}
  411.                                         <div class="ec-select">
  412.                                             {{ form_row(form.classcategory_id2) }}
  413.                                             {{ form_errors(form.classcategory_id2) }}
  414.                                         </div>
  415.                                     {% endif %}
  416.                                 {% endif %}
  417.                             </div>
  418.                             <div class="ec-productRole__btn">
  419.                                 <button type="submit" class="ec-blockBtn add-cart">
  420.                                     <span></span>
  421.                                     <div>
  422.                                         <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
  423.                                             <path id="Icon_awesome-cart-arrow-down" data-name="Icon awesome-cart-arrow-down" d="M17.525,12.5H7.346l.227,1.25h9.32a.916.916,0,0,1,.813,1.145l-.192.948a2.224,2.224,0,0,1,1.1,1.969A2.072,2.072,0,0,1,16.638,20a2.082,2.082,0,0,1-1.915-2.127,2.328,2.328,0,0,1,.583-1.623H8.027a2.322,2.322,0,0,1,.584,1.563A2.063,2.063,0,0,1,6.574,20a2.082,2.082,0,0,1-1.849-2.067A2.26,2.26,0,0,1,5.7,15.915L3.26,2.5H.833A.89.89,0,0,1,0,1.562V.937A.89.89,0,0,1,.833,0h3.56A.864.864,0,0,1,5.21.75L5.528,2.5H19.166a.916.916,0,0,1,.813,1.145L18.338,11.77A.861.861,0,0,1,17.525,12.5Zm-3.531-5H12.5V5.156a.445.445,0,0,0-.417-.469H11.25a.445.445,0,0,0-.417.469V7.5H9.339a.478.478,0,0,0-.295.8l2.327,2.618a.385.385,0,0,0,.589,0L14.289,8.3A.478.478,0,0,0,13.994,7.5Z"/>
  424.                                         </svg>
  425.                                         カートに入れる
  426.                                     </div>
  427.                                 </button>
  428.                             </div>
  429.                         {% else %}
  430.                             <div class="ec-productRole__btn">
  431.                                 <button type="button" class="ec-blockBtn" disabled="disabled">
  432.                                     {{ 'ただいま品切れ中です。'|trans }}
  433.                                 </button>
  434.                             </div>
  435.                         {% endif %}
  436.                         {{ form_rest(form) }}
  437.                     </form>
  438.                     <div class="ec-modal">
  439.                         <div class="ec-modal-overlay">
  440.                             <div class="ec-modal-wrap">
  441.                                 <span class="ec-modal-close"><span class="ec-icon"><img src="{{ asset('assets/icon/cross-dark.svg') }}" alt=""/></span></span>
  442.                                 <div id="ec-modal-header" class="text-center">{{ 'カートに追加しました。'|trans }}</div>
  443.                                 <div class="ec-modal-box">
  444.                                     <div class="ec-role">
  445.                                         <span class="ec-inlineBtn--cancel">{{ 'お買い物を続ける'|trans }}</span>
  446.                                         <a href="{{ url('cart') }}" class="ec-inlineBtn--action">{{ 'カートへ進む'|trans }}</a>
  447.                                     </div>
  448.                                 </div>
  449.                             </div>
  450.                         </div>
  451.                     </div>
  452.                     {% if BaseInfo.option_favorite_product %}
  453.                         <form action="{{ url('product_add_favorite', {id:Product.id}) }}" method="post">
  454.                             <div class="ec-productRole__btn">
  455.                                 {% if is_favorite == false %}
  456.                                     <button type="submit" id="favorite" class="ec-blockBtn--cancel">
  457.                                         {{ 'お気に入りに追加'|trans }}
  458.                                     </button>
  459.                                 {% else %}
  460.                                     <button type="submit" id="favorite" class="ec-blockBtn--cancel"
  461.                                             disabled="disabled">{{ 'お気に入りに追加済です。'|trans }}
  462.                                     </button>
  463.                                 {% endif %}
  464.                             </div>
  465.                         </form>
  466.                     {% endif %}
  467.                 </div>
  468.                 <div class="ec-productRole__extra">
  469.                     <div  class="ec-productRole__extra-item">
  470.                         <p class="title">在庫なしの商品について</p>
  471.                         <p>
  472.                             「在庫なし」と表示される商品についてもご注文いただけます。ご注文後にお取り寄せにて商品をご準備しますので、発送時期についてはご連絡致します  
  473.                         </p>
  474.                     </div>
  475.                     <div  class="ec-productRole__extra-item">
  476.                         <p class="title">お支払い方法について</p>
  477.                         <p>
  478.                             当店でのお支払い方法はクレジットカード決済のみとなります。<br/>
  479.                             <br/>
  480.                             <a href="{{ eccube_config.base_domain }}/user-guide#payment" style="color: #3d9ae9; text-decoration: underline;">詳しくはこちらをご覧ください。</a>
  481.                         </p>
  482.                     </div>
  483.                     <div  class="ec-productRole__extra-item">
  484.                         <p class="title">送料・配送について</p>
  485.                         <p>
  486.                             北海道からの発送となります。<br/>
  487.                             送料は配送地域によって変動します。<br/>
  488.                             30,000円(税込)以上のご購入で送料無料になります。<br/>
  489.                             <br/>
  490.                             <a href="{{ eccube_config.base_domain }}/user-guide#delivery" style="color: #3d9ae9; text-decoration: underline;">詳しくはこちらをご覧ください。</a>
  491.                         </p>
  492.                     </div>
  493.                     <div  class="ec-productRole__extra-item">
  494.                         <p class="title">【重要】返品・不良品対応について</p>
  495.                         <p>
  496.                             商品に不備、または違う商品が届いた場合 <br>商品到着後2日以内にご連絡いただければ返品・交換いたします。 <br>ただし、お客様のご都合での返品・交換はお受けできませんので、予めご了承ください。
  497. <br/>
  498.                             <br/>
  499.                             <a href="{{ eccube_config.base_domain }}/user-guide#order-status" style="color: #3d9ae9; text-decoration: underline;">詳しくはこちらをご覧ください。</a>
  500.                         </p>
  501.                     </div>
  502.                 </div>
  503.             </div>
  504.         </div>
  505.         <div class="ec-productRole__description">
  506.             <p>商品説明</p>
  507.             <div class="ec-productRole__description-text">
  508.                 {{ Product.description_detail|raw|nl2br }}
  509.             </div>
  510.         </div>
  511.         {% if Product.freearea %}
  512.              <div class="ec-productRole__description">
  513.                  {{ include(template_from_string(Product.freearea)) }}
  514.             </div>
  515.         {% endif %}
  516.     </div>
  517. {% endblock %}