app/template/aneros2023/Category/lubricants.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. {% block javascript %}
  10.     <script>
  11.     </script>
  12. {% endblock %}
  13. {% block main %}
  14. {% include('@CustomerReview42/Block/customer_review4_recommend_css.twig') %}
  15. <div class="main-container category-page" id="lubricants-page">
  16.         <div class="breadcrumbs">
  17.             <div class="container">
  18.                 <ul itemscope="" itemtype="http://schema.org/BreadcrumbList">
  19.                     <li class="home" itemprop="itemListElement" itemscope="" itemtype="http://schema.org/ListItem">
  20.                         <a itemprop="item" href="{{ url('homepage') }}" title="トップページ"><span itemprop="name" style="padding:0">トップページ</span></a>
  21.                         <meta itemprop="position" content="1">
  22.                         <span>&gt;</span>
  23.                     </li>
  24.                     <li>
  25.                         <strong>ローション</strong>
  26.                     </li>
  27.                 </ul>
  28.             </div>
  29.         </div>
  30.         <div class="col-main">
  31.             <div class="container">
  32.                 <h1 class="category-title">ローション</h1>
  33.             </div>
  34.             <div id="category-featured-products">
  35.                 <!--Sessions -->
  36.                 <div id="fp-sessions" class="fp-item">
  37.                     <div class="white-swooth-bottom-bg">
  38.                         <div class="container flexbox">
  39.                             <div class="fp-desc">
  40.                                 <h3>セッションズ<sup>™</sup></h3>
  41.                                 <h2>
  42.                                     アネロス社製オリジナルローション遂に登場!
  43.                                 </h2>
  44.                                 <p>アネロスの効果を最大限に引き出すために開発されたアネロス専用水溶性ローションです。特別なレシピで純天然素材の使用により、肌に負担のかかる成分は一切排除、直腸粘膜のpHに適用、体内で最も吸収力が強い直腸に配慮された高い安全性を誇ります。</p>
  45.                                 <p>最適の粘度で長時間の潤滑性を持続し、アネロス製品の刺激を効果的に皮膚に伝え、蠕動運動を誘発させ、ドライオーガズムの到達を早めます。保湿性の高いしっとりとした使い心地、滑らかでべたつきもなく使用後の処理も簡単です。無臭無香でグリセリン等の使用がないため、腸がデリケートな方にも安心、安全なローションです。<br>130mlと260mlふたつのサイズがあります!</p>
  46.                                 <a class="more-link" href="{{ url('sessions') }}">詳細をみる &gt;</a>
  47.                             </div>
  48.                             <div class="fp-image">
  49.                                 <img src="{{ asset('aneros/img/category/lubricants/sessions.png') }}" alt="セッションズ メイン">
  50.                                 <a class="button btn-cart learn-more-button" href="{{ url('sessions') }}">サイズを選択</a>
  51.                             </div>
  52.                         </div>
  53.                     </div>
  54.                 </div>
  55.                 <!-- Marksman -->
  56.                 <div id="fp-marksman" class="fp-item fp-item-odd grey-gradient-bg">
  57.                     <div class="white-swooth-bottom-bg">
  58.                         <div class="container flexbox">
  59.                             <div class="fp-desc">
  60.                                 <h3>
  61.                                     マークスマン
  62.                                 </h3>
  63.                                 <h2>
  64.                                     5ML X 10個入
  65.                                 </h2>
  66.                                 <p>研究に研究を重ね、ドライの質を上げる100%純天然素材使用!「安心・安全」を最優先に考えた注入器付きローション</p>
  67.                                 <p>「マークスマン」は、アネロスが長年培ってきた経験と知識を活かしながら、実際にローションを使用してきたユーザーとの触れ合いの中で誕生したアネロスの性能を100%引き出す専用の注入器付き水溶性ローションです。</p>
  68.                             </div>
  69.                             <div class="fp-image">
  70.                                 <img class="animate" data-animate="fadeIn" data-duration="1.0s" data-delay="0.5s" src="{{ asset('aneros/img/category/lubricants/new-marksman-category.png') }}" alt="アネロスプレリュード">
  71.                                 {% set Product = repository('Eccube\\Entity\\Product').find(87) %}
  72.                                 
  73.                             <!-- REVIEW AREA -->
  74.                             {% import('@CustomerReview42/Block/customer_review4_recommend_macro.twig') as recommend_macro %}
  75.                             {% set review_list = repository('Plugin\\CustomerReview42\\Entity\\CustomerReviewTotal').getRecommend(Product.id) %}
  76.                             {% set reviewer_total = 0 %}
  77.                             {% set review_total_point = 0 %}
  78.                             {% set count = 5 %}
  79.                             {% for i in review_list %}
  80.                                 {% set reviewer_total = reviewer_total + i %}
  81.                                 {% set review_total_point = review_total_point + i * count %}
  82.                                 {% set count = count - 1 %}
  83.                             {% endfor %}
  84.                             {% set review_point = reviewer_total == 0 ? 0  : (review_total_point / reviewer_total) %}
  85.                             
  86.                             {% if 0 < reviewer_total %}
  87.                                 <div id="plg_customer_review_special{{Product.id}}" class="review-layoutRole">
  88.                                     <h3 class="review_score" data-id="{{ Product.id }}" data-avg="{{ review_point }}" data-num="{{ reviewer_total }}" data-starsize="22" data-mstarsize="14" data-imgbase="{{ asset('aneros/img/products/') }}">
  89.                                         <span class="review_all_score_title"></span>
  90.                                         <span class="review_all_score_image" style="display: inline-block"></span>
  91.                                         <span class="review_all_score"><a href="{{ url('product_detail', {'id': Product.id}) }}#review_area"></a></span>
  92.                                     </h3>
  93.                                 </div>
  94.                             {% endif %}
  95.                             
  96.                             <script>
  97.                               $(function () {
  98.                                 if ( $('#plg_customer_review_special_anchor{{Product.id}}').length) {
  99.                                     $('#plg_customer_review_special{{Product.id}}').insertAfter($('#plg_customer_review_special_anchor{{Product.id}}'));
  100.                                 } else if ( $('#button{{ Product.id }}').length) {
  101.                                     $('#plg_customer_review_special{{Product.id}}').insertBefore($('#button{{ Product.id }}'));
  102.                                 } else {
  103.                                     $('#plg_customer_review_special{{Product.id}}').hide();
  104.                                 }
  105.                               });
  106.                             </script>
  107.                             <!-- REVIEW AREA END -->    
  108.                             
  109.                                 {% if Product.stock_find %}
  110.                                     <button type="button" title="カゴに入れる" class="button btn-cart one-click-add-cart" 
  111.                                     data-action="{{ url('product_add_cart', {id:Product.id}) }}" 
  112.                                     data-product_id="{{ Product.id }}" data-product_name="{{ Product.name }}"  data-product_img="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}"
  113.                                     data-product_class="{{ Product.ProductClasses[0].id }}" 
  114.                                     data-token="{{ csrf_token('Eccube\\Form\\Type\\AddCartType') }}" id="button{{ Product.id }}">
  115.                                         <span>カゴに入れる - 
  116.                                             {% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin != 0 %}
  117.                                                 <sup>{{ Product.getPrice01IncTaxMin|price }}</sup>
  118.                                             {% endif %}
  119.                                             {{ Product.getPrice02IncTaxMin|price }}<span class="inctax"> (税込)</span>
  120.                                         </span>
  121.                                     </button>
  122.                                 {% else %}
  123.                                     {% set arrivemail = true %}
  124.                                     {% for ProductTag in Product.ProductTag %}
  125.                                         {% if ProductTag.Tag.id == 99 %}
  126.                                             {% set arrivemail = false %}
  127.                                         {% endif %}
  128.                                     {% endfor %}
  129.                                     
  130.                                     {% if arrivemail %}
  131.                                         <button type="button" data-productid="{{ Product.id }}" data-productname="{{ Product.name }}" title="入荷お知らせ" class="button btn-cart add-to-mail">
  132.                                             <span>入荷お知らせ</span>
  133.                                         </button>
  134.                                     {% else %}
  135.                                         <button type="button" title="在庫切れ" class="button btn-cart add-to-cart-out">
  136.                                             <span>在庫切れ</span>
  137.                                         </button>
  138.                                     {% endif %}
  139.                                 {% endif %}
  140.                             </div>
  141.                         </div>
  142.                         <div class="swooth-wrapper white-swooth">
  143.                         </div>
  144.                     </div>
  145.                 </div>
  146.             </div>
  147.             <div class="category-info">
  148.                 <div class="container">
  149.                     <div class="category-description">
  150.                         その他のローション:
  151.                     </div>
  152.                 </div>
  153.             </div>
  154.             {% set Category = repository("Eccube\\Entity\\Category").find(10) %}
  155.             {% set Order = repository("Eccube\\Entity\\Master\\ProductListOrderBy").find(0) %}
  156.             {% 
  157.                 set Products = repository('Eccube\\Entity\\Product')
  158.                 .getQueryBuilderBySearchData({'category_id':Category, 'orderby':Order})
  159.                 .getQuery()
  160.                 .getResult()
  161.             %}
  162.             <div class="ec-shelfRole container">
  163.                 <ul class="ec-shelfGrid flexbox">
  164.                     {% for Product in Products %}
  165.                         {% set campaignProduct, newProduct, limitedProduct = false, false, false %}
  166.                         {% for ProductTag in Product.ProductTag %}
  167.                             {% if ProductTag.Tag.id == 100 %}
  168.                                 {% set campaignProduct = true %}
  169.                             {% elseif ProductTag.Tag.id == 1 %}
  170.                                 {% set newProduct = true %}
  171.                             {% elseif ProductTag.Tag.id == 3 %}
  172.                                 {% set limitedProduct = true %}
  173.                             {% endif %}
  174.                         {% endfor %}
  175.                         <li class="ec-shelfGrid__item flexbox">
  176.                             <a href="{{ url('product_detail', {'id': Product.id}) }}">
  177.                             {% if campaignProduct == true %}
  178.                                 <p class="ec-shelfGrid__item-image campaignProduct">
  179.                             {% elseif newProduct == true %}
  180.                                 <p class="ec-shelfGrid__item-image newProduct">
  181.                             {% elseif limitedProduct == true %}
  182.                                 <p class="ec-shelfGrid__item-image limitedProduct">
  183.                             {% else %}
  184.                                 <p class="ec-shelfGrid__item-image">
  185.                             {% endif %}
  186.                                     <img src="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}" alt="{{ Product.name }}">
  187.                                 </p>
  188.                                 <p>{{ Product.name }}</p>
  189.                             </a>
  190.                             
  191.                             <!-- REVIEW AREA -->
  192.                             {% import('@CustomerReview42/Block/customer_review4_recommend_macro.twig') as recommend_macro %}
  193.                             {% set review_list = repository('Plugin\\CustomerReview42\\Entity\\CustomerReviewTotal').getRecommend(Product.id) %}
  194.                             {% set reviewer_total = 0 %}
  195.                             {% set review_total_point = 0 %}
  196.                             {% set count = 5 %}
  197.                             {% for i in review_list %}
  198.                                 {% set reviewer_total = reviewer_total + i %}
  199.                                 {% set review_total_point = review_total_point + i * count %}
  200.                                 {% set count = count - 1 %}
  201.                             {% endfor %}
  202.                             {% set review_point = reviewer_total == 0 ? 0  : (review_total_point / reviewer_total) %}
  203.                             
  204.                             {% if 0 < reviewer_total %}
  205.                                 <div id="plg_customer_review{{Product.id}}" class="review-layoutRole product_list">
  206.                                     <h3 class="review_score" data-id="{{ Product.id }}" data-avg="{{ review_point }}" data-num="{{ reviewer_total }}" data-starsize="22" data-mstarsize="14" data-imgbase="{{ asset('aneros/img/products/') }}">
  207.                                         <span class="review_all_score_title"></span>
  208.                                         <span class="review_all_score_image" style="display: inline-block"></span>
  209.                                         <span class="review_all_score"><a href="{{ url('product_detail', {'id': Product.id}) }}#review_area"></a></span>
  210.                                     </h3>
  211.                                 </div>
  212.                             {% endif %}
  213.                             
  214.                             <script>
  215.                               $(function () {
  216.                                 if ( $('#plg_customer_review_anchor{{Product.id}}').length) {
  217.                                     $('#plg_customer_review{{Product.id}}').insertAfter($('#plg_customer_review_anchor{{Product.id}}'));
  218.                                 } else if ( $('#productForm{{Product.id}}').length) {
  219.                                     $('#plg_customer_review{{Product.id}}').insertBefore($('#productForm{{Product.id}}'));
  220.                                 } else {
  221.                                     $('#plg_customer_review{{Product.id}}').hide();
  222.                                 }
  223.                               });
  224.                             </script>
  225.                             <!-- REVIEW AREA END -->    
  226.                             
  227.                             <div class="bottom-box flexbox" id="productForm{{ Product.id }}">
  228.                                 <div class="price-box">
  229.                                     <span class="price">
  230.                                         <div class="normal_price" id="product-normal-price-{{ Product.id }}">
  231.                                             {% if  Product.getPrice01Min is not null and Product.getPrice01IncTaxMin != 0 %}
  232.                                                 {% if Product.hasProductClass %}
  233.                                                     {% if Product.getPrice01Min == Product.getPrice01Max %}
  234.                                                         <span class="price">{{ Product.getPrice01IncTaxMin|price }}<span class="inctax"> (税込)</span></span>
  235.                                                     {% else %}
  236.                                                         <span class="price">{{ Product.getPrice01IncTaxMin|price }}<!-- ~ {{ Product.getPrice01IncTaxMax|price }}--><span class="inctax"> (税込)</span></span>
  237.                                                     {% endif %}
  238.                                                 {% else %}
  239.                                                     <span class="price">{{ Product.getPrice01IncTaxMin|price }}<span class="inctax"> (税込)</span></span>
  240.                                                 {% endif %}
  241.                                             {% endif %}
  242.                                                 </div>
  243.                                                 <div class="sale_price" id="product-price-{{ Product.id }}">
  244.                                             {% if Product.hasProductClass %}
  245.                                                 {% if Product.getPrice02Min == Product.getPrice02Max %}
  246.                                                     <span class="price">{{ Product.getPrice02IncTaxMin|price }}<span class="inctax"> (税込)</span></span>
  247.                                                 {% else %}
  248.                                                     <span class="price">{{ Product.getPrice02IncTaxMin|price }}<!-- ~ {{ Product.getPrice02IncTaxMax|price }}--><span class="inctax"> (税込)</span></span>
  249.                                                 {% endif %}
  250.                                             {% else %}
  251.                                                 <span class="price">{{ Product.getPrice02IncTaxMin|price }}<span class="inctax"> (税込)</span></span>
  252.                                             {% endif %}
  253.                                         </div>
  254.                                     </span>
  255.                                 </div>
  256.                                 <div class="actions">
  257.                                 {% if Product.stock_find %}
  258.                                     {% if Product.hasProductClass %}
  259.                                         <a class="button btn-cart learn-more" title="商品詳細" href="{{ url('product_detail', {'id': Product.id}) }}">
  260.                                             <span>
  261.                                                 <span>商品詳細</span>
  262.                                             </span>
  263.                                         </a>
  264.                                     {% else %}
  265.                                         <button type="button" title="カゴに入れる" class="button btn-cart one-click-add-cart" 
  266.                                         data-action="{{ url('product_add_cart', {id:Product.id}) }}" 
  267.                                         data-product_id="{{ Product.id }}" data-product_name="{{ Product.name }}"  data-product_img="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}"
  268.                                         data-product_class="{{ Product.ProductClasses[0].id }}" 
  269.                                         data-token="{{ csrf_token('Eccube\\Form\\Type\\AddCartType') }}">
  270.                                             <span>カゴに入れる</span>
  271.                                         </button>
  272.                                     {% endif %}
  273.                                 {% else %}
  274.                                     {% set arrivemail = true %}
  275.                                     {% for ProductTag in Product.ProductTag %}
  276.                                         {% if ProductTag.Tag.id == 99 %}
  277.                                             {% set arrivemail = false %}
  278.                                         {% endif %}
  279.                                     {% endfor %}
  280.                                     
  281.                                     {% if arrivemail %}
  282.                                         <button type="button" data-productid="{{ Product.id }}" data-productname="{{ Product.name }}" title="入荷お知らせ" class="button btn-cart add-to-mail">
  283.                                             <span>入荷お知らせ</span>
  284.                                         </button>
  285.                                     {% else %}
  286.                                         <button type="button" title="在庫切れ" class="button btn-cart add-to-cart-out">
  287.                                             <span>在庫切れ</span>
  288.                                         </button>
  289.                                     {% endif %}
  290.                                 {% endif %}
  291.                                 </div>
  292.                             </div>
  293.                         </li>
  294.                     {% endfor %}
  295.                 </ul>
  296.             </div>
  297.             <div class="product-other-products container flexbox">
  298.                 <div class="item">
  299.                     <a href="{{ url('product_detail', {'id': 72}) }}">
  300.                         <img src="{{ asset('aneros/img/products/category_vice-2.jpg') }}" alt="ヴァイス 2 - メンズバイブレーション" class="animate"
  301.                             data-animate="zoomIn" data-duration="1.0s" data-delay="0.4s">
  302.                     </a>
  303.                 </div>
  304.                 <div class="item">
  305.                     <a href="{{ url('product_detail', {'id': 81}) }}">
  306.                         <img src="{{ asset('aneros/img/products/category_progasm_black_ice.jpg') }}" alt="プロガスムブラックアイス - サイズを求める男性に"
  307.                             class="animate center" data-animate="zoomIn" data-duration="1.0s" data-delay="0.4s">
  308.                     </a>
  309.                 </div>
  310.                 <div class="item">
  311.                     <a href="{{ url('product_detail', {'id': 70}) }}">
  312.                         <img src="{{ asset('aneros/img/products/category_HST.jpg') }}" alt="ヒリックスシントライデント - シン定番のフラグシップモデル"
  313.                             class="animate" data-animate="zoomIn" data-duration="1.0s" data-delay="0.4s">
  314.                     </a>
  315.                 </div>
  316.             </div>
  317.             <div class="product-compare-prostate-massagers container flexbox">
  318.                 <div class="product-compare-prostate-massagers-image">
  319.                     <img src="{{ asset('aneros/img/products/compare_prostate_massagers_image.jpg') }}" class="animate"
  320.                         data-animate="zoomIn" data-duration="1.0s" data-delay="0.4s" alt="私にあっているアネロスはどれでしょうか??">
  321.                 </div>
  322.                 <div class="desc-contr">
  323.                     <h3>私にあっているアネロスはどれでしょうか??</h3>
  324.                     <a href="{{ url('homepage') }}prostate-massagers" class="more-link">
  325.                         前立腺マッサージ器はこちら
  326.                         <span>&gt;</span>
  327.                     </a>
  328.                 </div>
  329.             </div>
  330.         </div>
  331.         {{ include('Block/add_to_cart.twig') }}
  332.     <div class="swooth-wrapper grey-swooth">
  333.     </div>
  334. </div>
  335. {% endblock %}