app/template/aneros2023/Category/sex-toys-for-men.twig line 56

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="sex-toys-for-men-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.                 <!--Tempo -->
  36.                 <div id="fp-tempo" class="fp-item grey-gradient-bg">
  37.                     <div class="white-swooth-bottom-bg">
  38.                         <div class="container flexbox">
  39.                             <div class="fp-desc">
  40.                                 <h3>テンポ<sup>™</sup></h3>
  41.                                 <h2>ステンレススチール</h2>
  42.                                 <p>男女兼用ステンレススチールアネロス!カップルでもたっぷり楽しめるモデル。セックス中でも使用できます。あなたの身体の中でテンポが踊りだします。</p>
  43.                                 <a class="more-link" href="{{ url('product_detail', {'id': 45}) }}">詳細をみる &gt;</a>
  44.                             </div>
  45.                             <div class="fp-image">
  46.                                 <img src="{{ asset('aneros/img/category/sex-toys-for-men/tempo.png') }}" alt="テンポ">
  47.                                 {% set Product = repository('Eccube\\Entity\\Product').find(45) %}
  48.                                 
  49.                             <!-- REVIEW AREA -->
  50.                             {% import('@CustomerReview42/Block/customer_review4_recommend_macro.twig') as recommend_macro %}
  51.                             {% set review_list = repository('Plugin\\CustomerReview42\\Entity\\CustomerReviewTotal').getRecommend(Product.id) %}
  52.                             {% set reviewer_total = 0 %}
  53.                             {% set review_total_point = 0 %}
  54.                             {% set count = 5 %}
  55.                             {% for i in review_list %}
  56.                                 {% set reviewer_total = reviewer_total + i %}
  57.                                 {% set review_total_point = review_total_point + i * count %}
  58.                                 {% set count = count - 1 %}
  59.                             {% endfor %}
  60.                             {% set review_point = reviewer_total == 0 ? 0  : (review_total_point / reviewer_total) %}
  61.                             
  62.                             {% if 0 < reviewer_total %}
  63.                                 <div id="plg_customer_review_special{{Product.id}}" class="review-layoutRole">
  64.                                     <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/') }}">
  65.                                         <span class="review_all_score_title"></span>
  66.                                         <span class="review_all_score_image" style="display: inline-block"></span>
  67.                                         <span class="review_all_score"><a href="{{ url('product_detail', {'id': Product.id}) }}#review_area"></a></span>
  68.                                     </h3>
  69.                                 </div>
  70.                             {% endif %}
  71.                             
  72.                             <script>
  73.                               $(function () {
  74.                                 if ( $('#plg_customer_review_special_anchor{{Product.id}}').length) {
  75.                                     $('#plg_customer_review_special{{Product.id}}').insertAfter($('#plg_customer_review_special_anchor{{Product.id}}'));
  76.                                 } else if ( $('#button{{ Product.id }}').length) {
  77.                                     $('#plg_customer_review_special{{Product.id}}').insertBefore($('#button{{ Product.id }}'));
  78.                                 } else {
  79.                                     $('#plg_customer_review_special{{Product.id}}').hide();
  80.                                 }
  81.                               });
  82.                             </script>
  83.                             <!-- REVIEW AREA END -->
  84.                                 
  85.                                 {% if Product.stock_find %}
  86.                                     <button type="button" title="カゴに入れる" class="button btn-cart one-click-add-cart" 
  87.                                     data-action="{{ url('product_add_cart', {id:Product.id}) }}" 
  88.                                     data-product_id="{{ Product.id }}" data-product_name="{{ Product.name }}"  data-product_img="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}"
  89.                                     data-product_class="{{ Product.ProductClasses[0].id }}" 
  90.                                     data-token="{{ csrf_token('Eccube\\Form\\Type\\AddCartType') }}" id="button{{ Product.id }}">
  91.                                             <span>カゴに入れる - {{ Product.getPrice02IncTaxMin|price }}<span class="inctax"> (税込)</span></span>
  92.                                     </button>
  93.                                 {% else %}
  94.                                     {% set arrivemail = true %}
  95.                                     {% for ProductTag in Product.ProductTag %}
  96.                                         {% if ProductTag.Tag.id == 99 %}
  97.                                             {% set arrivemail = false %}
  98.                                         {% endif %}
  99.                                     {% endfor %}
  100.                                     
  101.                                     {% if arrivemail %}
  102.                                         <button type="button" data-productid="{{ Product.id }}" data-productname="{{ Product.name }}" title="入荷お知らせ" class="button btn-cart add-to-mail">
  103.                                             <span>入荷お知らせ</span>
  104.                                         </button>
  105.                                     {% else %}
  106.                                         <button type="button" title="在庫切れ" class="button btn-cart add-to-cart-out">
  107.                                             <span>在庫切れ</span>
  108.                                         </button>
  109.                                     {% endif %}
  110.                                 {% endif %}
  111.                             </div>
  112.                         </div>
  113.                         <div class="swooth-wrapper white-swooth">
  114.                         </div>
  115.                     </div>
  116.                 </div>
  117.                 <!--Periside -->
  118.                 <div id="fp-peridise-complete-set" class="fp-item">
  119.                     <div class="container flexbox">
  120.                         <div class="fp-desc">
  121.                             <h3>ペリダイス<sup>®</sup></h3>
  122.                             <h2>男性も女性も楽しめる、世界初の男女兼用モデル</h2>
  123.                             <p>ペリダイスにはアバットメントがなく、直腸前壁のみで強烈なオーガズムを誘発させる男女兼用の製品です。このデザインにより、男性だけでなく女性の方でもプレイを楽しむことができるモデルになりました。大きいサイズは初心者向きとされ、小さくなるにつれて上級者向きになります。最初は22mmから挑戦し、使用を重ねるごとに小さいサイズへとステップアップしていくことをおすすめします。男性・女性を問わず素晴らしいオーガズムを体験していただけます。そしてカップルとのセックスをより一層盛り上げてくれることでしょう。ひとりでも、またパートナーと一緒に、未知なる世界へ足を踏み入れてみませんか?</p>
  124.                             <a class="more-link" href="{{ url('product_detail', {'id': 50}) }}">詳細をみる &gt;</a>
  125.                         </div>
  126.                         <div class="fp-image">
  127.                             <img src="{{ asset('aneros/img/category/sex-toys-for-men/peridise.jpg') }}" alt="ペリダイス">
  128.                             {% set Product = repository('Eccube\\Entity\\Product').find(50) %}
  129.                             
  130.                             <!-- REVIEW AREA -->
  131.                             {% import('@CustomerReview42/Block/customer_review4_recommend_macro.twig') as recommend_macro %}
  132.                             {% set review_list = repository('Plugin\\CustomerReview42\\Entity\\CustomerReviewTotal').getRecommend(Product.id) %}
  133.                             {% set reviewer_total = 0 %}
  134.                             {% set review_total_point = 0 %}
  135.                             {% set count = 5 %}
  136.                             {% for i in review_list %}
  137.                                 {% set reviewer_total = reviewer_total + i %}
  138.                                 {% set review_total_point = review_total_point + i * count %}
  139.                                 {% set count = count - 1 %}
  140.                             {% endfor %}
  141.                             {% set review_point = reviewer_total == 0 ? 0  : (review_total_point / reviewer_total) %}
  142.                             
  143.                             {% if 0 < reviewer_total %}
  144.                                 <div id="plg_customer_review_special{{Product.id}}" class="review-layoutRole">
  145.                                     <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/') }}">
  146.                                         <span class="review_all_score_title"></span>
  147.                                         <span class="review_all_score_image" style="display: inline-block"></span>
  148.                                         <span class="review_all_score"><a href="{{ url('product_detail', {'id': Product.id}) }}#review_area"></a></span>
  149.                                     </h3>
  150.                                 </div>
  151.                             {% endif %}
  152.                             
  153.                             <script>
  154.                               $(function () {
  155.                                 if ( $('#plg_customer_review_special_anchor{{Product.id}}').length) {
  156.                                     $('#plg_customer_review_special{{Product.id}}').insertAfter($('#plg_customer_review_special_anchor{{Product.id}}'));
  157.                                 } else if ( $('#button{{ Product.id }}').length) {
  158.                                     $('#plg_customer_review_special{{Product.id}}').insertBefore($('#button{{ Product.id }}'));
  159.                                 } else {
  160.                                     $('#plg_customer_review_special{{Product.id}}').hide();
  161.                                 }
  162.                               });
  163.                             </script>
  164.                             <!-- REVIEW AREA END -->
  165.                             
  166.                             {% if Product.stock_find %}
  167.                                 <button type="button" title="カゴに入れる" class="button btn-cart one-click-add-cart" 
  168.                                 data-action="{{ url('product_add_cart', {id:Product.id}) }}" 
  169.                                 data-product_id="{{ Product.id }}" data-product_name="{{ Product.name }}"  data-product_img="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}"
  170.                                 data-product_class="{{ Product.ProductClasses[0].id }}" 
  171.                                 data-token="{{ csrf_token('Eccube\\Form\\Type\\AddCartType') }}" id="button{{ Product.id }}">
  172.                                         <span>カゴに入れる - {{ Product.getPrice02IncTaxMin|price }}<span class="inctax"> (税込)</span></span>
  173.                                 </button>
  174.                             {% else %}
  175.                                 {% set arrivemail = true %}
  176.                                 {% for ProductTag in Product.ProductTag %}
  177.                                     {% if ProductTag.Tag.id == 99 %}
  178.                                         {% set arrivemail = false %}
  179.                                     {% endif %}
  180.                                 {% endfor %}
  181.                                 
  182.                                 {% if arrivemail %}
  183.                                     <button type="button" data-productid="{{ Product.id }}" data-productname="{{ Product.name }}" title="入荷お知らせ" class="button btn-cart add-to-mail">
  184.                                         <span>入荷お知らせ</span>
  185.                                     </button>
  186.                                 {% else %}
  187.                                     <button type="button" title="在庫切れ" class="button btn-cart add-to-cart-out">
  188.                                         <span>在庫切れ</span>
  189.                                     </button>
  190.                                 {% endif %}
  191.                             {% endif %}
  192.                         </div>
  193.                     </div>
  194.                 </div>
  195.             </div>
  196.             <div class="category-info">
  197.                 <div class="container">
  198.                     <div class="category-description">
  199.                         その他男性用商品:
  200.                     </div>
  201.                 </div>
  202.             </div>
  203.             {% set Category = repository("Eccube\\Entity\\Category").find(13) %}
  204.             {% set Order = repository("Eccube\\Entity\\Master\\ProductListOrderBy").find(0) %}
  205.             {% 
  206.                 set Products = repository('Eccube\\Entity\\Product')
  207.                 .getQueryBuilderBySearchData({'category_id':Category, 'orderby':Order})
  208.                 .getQuery()
  209.                 .getResult()
  210.             %}
  211.             <div class="ec-shelfRole container">
  212.                 <ul class="ec-shelfGrid flexbox">
  213.                     {% for Product in Products %}
  214.                         {% set campaignProduct, newProduct, limitedProduct = false, false, false %}
  215.                         {% for ProductTag in Product.ProductTag %}
  216.                             {% if ProductTag.Tag.id == 100 %}
  217.                                 {% set campaignProduct = true %}
  218.                             {% elseif ProductTag.Tag.id == 1 %}
  219.                                 {% set newProduct = true %}
  220.                             {% elseif ProductTag.Tag.id == 3 %}
  221.                                 {% set limitedProduct = true %}
  222.                             {% endif %}
  223.                         {% endfor %}
  224.                         <li class="ec-shelfGrid__item flexbox">
  225.                             <a href="{{ url('product_detail', {'id': Product.id}) }}">
  226.                             {% if campaignProduct == true %}
  227.                                 <p class="ec-shelfGrid__item-image campaignProduct">
  228.                             {% elseif newProduct == true %}
  229.                                 <p class="ec-shelfGrid__item-image newProduct">
  230.                             {% elseif limitedProduct == true %}
  231.                                 <p class="ec-shelfGrid__item-image limitedProduct">
  232.                             {% else %}
  233.                                 <p class="ec-shelfGrid__item-image">
  234.                             {% endif %}
  235.                                     <img src="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}" alt="{{ Product.name }}">
  236.                                 </p>
  237.                                 <p>{{ Product.name }}</p>
  238.                             </a>
  239.                             
  240.                             <!-- REVIEW AREA -->
  241.                             {% import('@CustomerReview42/Block/customer_review4_recommend_macro.twig') as recommend_macro %}
  242.                             {% set review_list = repository('Plugin\\CustomerReview42\\Entity\\CustomerReviewTotal').getRecommend(Product.id) %}
  243.                             {% set reviewer_total = 0 %}
  244.                             {% set review_total_point = 0 %}
  245.                             {% set count = 5 %}
  246.                             {% for i in review_list %}
  247.                                 {% set reviewer_total = reviewer_total + i %}
  248.                                 {% set review_total_point = review_total_point + i * count %}
  249.                                 {% set count = count - 1 %}
  250.                             {% endfor %}
  251.                             {% set review_point = reviewer_total == 0 ? 0  : (review_total_point / reviewer_total) %}
  252.                             
  253.                             {% if 0 < reviewer_total %}
  254.                                 <div id="plg_customer_review{{Product.id}}" class="review-layoutRole product_list">
  255.                                     <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/') }}">
  256.                                         <span class="review_all_score_title"></span>
  257.                                         <span class="review_all_score_image" style="display: inline-block"></span>
  258.                                         <span class="review_all_score"><a href="{{ url('product_detail', {'id': Product.id}) }}#review_area"></a></span>
  259.                                     </h3>
  260.                                 </div>
  261.                             {% endif %}
  262.                             
  263.                             <script>
  264.                               $(function () {
  265.                                 if ( $('#plg_customer_review_anchor{{Product.id}}').length) {
  266.                                     $('#plg_customer_review{{Product.id}}').insertAfter($('#plg_customer_review_anchor{{Product.id}}'));
  267.                                 } else if ( $('#productForm{{Product.id}}').length) {
  268.                                     $('#plg_customer_review{{Product.id}}').insertBefore($('#productForm{{Product.id}}'));
  269.                                 } else {
  270.                                     $('#plg_customer_review{{Product.id}}').hide();
  271.                                 }
  272.                               });
  273.                             </script>
  274.                             <!-- REVIEW AREA END -->
  275.                             
  276.                             <div class="bottom-box flexbox" id="productForm{{ Product.id }}">
  277.                                 <div class="price-box">
  278.                                     <span class="price">
  279.                                         <div class="normal_price" id="product-normal-price-{{ Product.id }}">
  280.                                             {% if  Product.getPrice01Min is not null and Product.getPrice01IncTaxMin != 0 %}
  281.                                                 {% if Product.hasProductClass %}
  282.                                                     {% if Product.getPrice01Min == Product.getPrice01Max %}
  283.                                                         <span class="price">{{ Product.getPrice01IncTaxMin|price }}<span class="inctax"> (税込)</span></span>
  284.                                                     {% else %}
  285.                                                         <span class="price">{{ Product.getPrice01IncTaxMin|price }}<!-- ~ {{ Product.getPrice01IncTaxMax|price }}--><span class="inctax"> (税込)</span></span>
  286.                                                     {% endif %}
  287.                                                 {% else %}
  288.                                                     <span class="price">{{ Product.getPrice01IncTaxMin|price }}<span class="inctax"> (税込)</span></span>
  289.                                                 {% endif %}
  290.                                             {% endif %}
  291.                                                 </div>
  292.                                                 <div class="sale_price" id="product-price-{{ Product.id }}">
  293.                                             {% if Product.hasProductClass %}
  294.                                                 {% if Product.getPrice02Min == Product.getPrice02Max %}
  295.                                                     <span class="price">{{ Product.getPrice02IncTaxMin|price }}<span class="inctax"> (税込)</span></span>
  296.                                                 {% else %}
  297.                                                     <span class="price">{{ Product.getPrice02IncTaxMin|price }}<!-- ~ {{ Product.getPrice02IncTaxMax|price }}--><span class="inctax"> (税込)</span></span>
  298.                                                 {% endif %}
  299.                                             {% else %}
  300.                                                 <span class="price">{{ Product.getPrice02IncTaxMin|price }}<span class="inctax"> (税込)</span></span>
  301.                                             {% endif %}
  302.                                         </div>
  303.                                     </span>
  304.                                 </div>
  305.                                 <div class="actions">
  306.                                 {% if Product.stock_find %}
  307.                                     {% if Product.hasProductClass %}
  308.                                         <a class="button btn-cart learn-more" title="商品詳細" href="{{ url('product_detail', {'id': Product.id}) }}">
  309.                                             <span>
  310.                                                 <span>商品詳細</span>
  311.                                             </span>
  312.                                         </a>
  313.                                     {% else %}
  314.                                         <button type="button" title="カゴに入れる" class="button btn-cart one-click-add-cart" 
  315.                                         data-action="{{ url('product_add_cart', {id:Product.id}) }}" 
  316.                                         data-product_id="{{ Product.id }}" data-product_name="{{ Product.name }}"  data-product_img="{{ asset(Product.main_list_image|no_image_product, 'save_image') }}"
  317.                                         data-product_class="{{ Product.ProductClasses[0].id }}" 
  318.                                         data-token="{{ csrf_token('Eccube\\Form\\Type\\AddCartType') }}">
  319.                                             <span>カゴに入れる</span>
  320.                                         </button>
  321.                                     {% endif %}
  322.                                 {% else %}
  323.                                     {% set arrivemail = true %}
  324.                                     {% for ProductTag in Product.ProductTag %}
  325.                                         {% if ProductTag.Tag.id == 99 %}
  326.                                             {% set arrivemail = false %}
  327.                                         {% endif %}
  328.                                     {% endfor %}
  329.                                     
  330.                                     {% if arrivemail %}
  331.                                         <button type="button" data-productid="{{ Product.id }}" data-productname="{{ Product.name }}" title="入荷お知らせ" class="button btn-cart add-to-mail">
  332.                                             <span>入荷お知らせ</span>
  333.                                         </button>
  334.                                     {% else %}
  335.                                         <button type="button" title="在庫切れ" class="button btn-cart add-to-cart-out">
  336.                                             <span>在庫切れ</span>
  337.                                         </button>
  338.                                     {% endif %}
  339.                                 {% endif %}
  340.                                 </div>
  341.                             </div>
  342.                         </li>
  343.                     {% endfor %}
  344.                 </ul>
  345.             </div>
  346.             <div class="product-other-products container flexbox">
  347.                 <div class="item">
  348.                     <a href="{{ url('product_detail', {'id': 72}) }}">
  349.                         <img src="{{ asset('aneros/img/products/category_vice-2.jpg') }}" alt="ヴァイス 2 - メンズバイブレーション" class="animate"
  350.                             data-animate="zoomIn" data-duration="1.0s" data-delay="0.4s">
  351.                     </a>
  352.                 </div>
  353.                 <div class="item">
  354.                     <a href="{{ url('product_detail', {'id': 81}) }}">
  355.                         <img src="{{ asset('aneros/img/products/category_progasm_black_ice.jpg') }}" alt="プロガスムブラックアイス - サイズを求める男性に"
  356.                             class="animate center" data-animate="zoomIn" data-duration="1.0s" data-delay="0.4s">
  357.                     </a>
  358.                 </div>
  359.                 <div class="item">
  360.                     <a href="{{ url('product_detail', {'id': 70}) }}">
  361.                         <img src="{{ asset('aneros/img/products/category_HST.jpg') }}" alt="ヒリックスシントライデント - シン定番のフラグシップモデル"
  362.                             class="animate" data-animate="zoomIn" data-duration="1.0s" data-delay="0.4s">
  363.                     </a>
  364.                 </div>
  365.             </div>
  366.             <div class="product-compare-prostate-massagers container flexbox">
  367.                 <div class="product-compare-prostate-massagers-image">
  368.                     <img src="{{ asset('aneros/img/products/compare_prostate_massagers_image.jpg') }}" class="animate"
  369.                         data-animate="zoomIn" data-duration="1.0s" data-delay="0.4s" alt="私にあっているアネロスはどれでしょうか??">
  370.                 </div>
  371.                 <div class="desc-contr">
  372.                     <h3>私にあっているアネロスはどれでしょうか??</h3>
  373.                     <a href="{{ url('homepage') }}prostate-massagers" class="more-link">
  374.                         前立腺マッサージ器はこちら
  375.                         <span>&gt;</span>
  376.                     </a>
  377.                 </div>
  378.             </div>
  379.         </div>
  380.         {{ include('Block/add_to_cart.twig') }}
  381.     <div class="swooth-wrapper grey-swooth">
  382.     </div>
  383. </div>
  384. {% endblock %}