templates/mens/collection/collection_page.twig line 1

  1. {% extends 'mens/base/base_mens.twig' %}
  2. {% block head %}
  3. <head>
  4.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.     <meta name="viewport" content="width=device-width,initial-scale=1">
  7.     <meta name="description" content="multikart">
  8.     <meta name="keywords" content="multikart">
  9.     <meta name="author" content="multikart">
  10.     <link rel="icon" href="{{ asset('assets/images/favicon/1.png') }}" type="image/x-icon">
  11.     <link rel="shortcut icon" href="{{ asset('assets/images/favicon/1.png') }}" type="image/x-icon">
  12.     <title>SELECTWEARS</title>
  13.     <!--Google font-->
  14.     <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900" rel="stylesheet">
  15.     <link rel="preconnect" href="https://fonts.gstatic.com">
  16.     <link href="https://fonts.googleapis.com/css2?family=Yellowtail&display=swap" rel="stylesheet">
  17.     <!-- Icons -->
  18.     <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/vendors/font-awesome.css') }}">
  19.     <!--Slick slider css-->
  20.     <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/vendors/slick.css') }}">
  21.     <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/vendors/slick-theme.css') }}">
  22.     <!-- Animate icon -->
  23.     <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/vendors/animate.css') }}">
  24.     <!-- Price range icon -->
  25.     <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/vendors/price-range.css') }}">
  26.     <!-- Themify icon -->
  27.     <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/vendors/themify-icons.css') }}">
  28.     <!-- Bootstrap css -->
  29.     <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/vendors/bootstrap.css') }}">
  30.     <!-- Theme css -->
  31.     <link rel="stylesheet" type="text/css" href="{{ asset('assets/css/style.css') }}">
  32.     <!--Plugin CSS file with desired skin-->
  33.     <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ion-rangeslider/2.3.1/css/ion.rangeSlider.min.css"/>
  34.     
  35.     <!--jQuery-->
  36.     <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  37.     
  38.     <!--Plugin JavaScript file-->
  39.     <script src="https://cdnjs.cloudflare.com/ajax/libs/ion-rangeslider/2.3.1/js/ion.rangeSlider.min.js"></script>
  40.     <style>
  41.         .top-align{
  42.             top: 0 !important
  43.         }
  44.         .product-box .image-swatch li img {
  45.             width: 50px;
  46.             height: 50px;
  47.         }
  48.     </style>
  49. </head>
  50. {% endblock %}
  51. {% block main %}
  52.     <input id="collection_id" name="collection_id" type="text" value={{ collectionId }} class="d-none"/>
  53.     <!-- section start -->
  54.     <section class="section-b-space ratio_asos">
  55.         <div class="collection-wrapper">
  56.             <div class="container">
  57.                 <div class="row">
  58.                     <div class="col-sm-2 collection-filter">
  59.                         <!-- side-bar colleps block stat -->
  60.                         <div class="collection-filter-block">
  61.                             <!-- brand filter start -->
  62.                             <div class="collection-mobile-back"><span class="filter-back"><i class="fa fa-angle-left"
  63.                                         aria-hidden="true"></i> {{ 'back' | trans({},'templates') }}</span></div>
  64.                             {# <div class="collection-collapse-block open">
  65.                                 <h3 class="collapse-block-title">brand</h3>
  66.                                 <div class="collection-collapse-block-content">
  67.                                     <div class="collection-brand-filter">
  68.                                         <div class="form-check collection-filter-checkbox">
  69.                                             <input type="checkbox" class="form-check-input" id="zara">
  70.                                             <label class="form-check-label" for="zara">zara</label>
  71.                                         </div>
  72.                                         <div class="form-check collection-filter-checkbox">
  73.                                             <input type="checkbox" class="form-check-input" id="vera-moda">
  74.                                             <label class="form-check-label" for="vera-moda">vera-moda</label>
  75.                                         </div>
  76.                                         <div class="form-check collection-filter-checkbox">
  77.                                             <input type="checkbox" class="form-check-input" id="forever-21">
  78.                                             <label class="form-check-label" for="forever-21">forever-21</label>
  79.                                         </div>
  80.                                         <div class="form-check collection-filter-checkbox">
  81.                                             <input type="checkbox" class="form-check-input" id="roadster">
  82.                                             <label class="form-check-label" for="roadster">roadster</label>
  83.                                         </div>
  84.                                         <div class="form-check collection-filter-checkbox">
  85.                                             <input type="checkbox" class="form-check-input" id="only">
  86.                                             <label class="form-check-label" for="only">only</label>
  87.                                         </div>
  88.                                     </div>
  89.                                 </div>
  90.                             </div> #}
  91.                             <!-- color filter start here -->
  92.                             <div class="collection-collapse-block open">
  93.                                 <h3 class="collapse-block-title">{{ 'colors' | trans({},'templates') }}</h3>
  94.                                 <div class="collection-collapse-block-content">
  95.                                     <div class="color-selector">
  96.                                         <select id="color-filter" class="form-control">
  97.                                             <option value=''> ---------- </option>
  98.                                             {% for color in colors %}
  99.                                                 <option value="{{ color.value }}"> {{ color.value }} </option>
  100.                                             {% endfor %}
  101.    
  102.                                         </select>
  103.                                     </div>
  104.                                 </div>
  105.                             </div>
  106.                             <!-- size filter start here -->
  107.                             <div class="collection-collapse-block border-0 open">
  108.                                 <h3 class="collapse-block-title">{{ 'size' | trans({},'templates') }}</h3>
  109.                                 <div class="collection-collapse-block-content">
  110.                                     <div class="collection-brand-filter">
  111.                                         {% for size in sizes %}
  112.                                             <div class="form-check collection-filter-checkbox">
  113.                                                 <input type="radio" class="form-check-input" id="hundred" value="{{ size.value}}" name="size">
  114.                                                 <label class="form-check-label" for="hundred">{{ size.value}}</label>
  115.                                             </div>
  116.                                         {% endfor %}
  117.                                     </div>
  118.                                 </div>
  119.                             </div>
  120.                             <!-- price filter start here -->
  121.                             <div class="collection-collapse-block border-0 open">
  122.                                 <h3 class="collapse-block-title">{{ 'price' | trans({},'templates') }}</h3>
  123.                                 <div id="slider-range-min">
  124.                                 
  125.                                 
  126.                                 </div>
  127.                                 <div class="collection-collapse-block-content">
  128.                                     <div class="wrapper mt-3">
  129.                                         <div class="range-slider">
  130.                                             <input type="text" id="price-filter" class="js-range-slider" value="" 
  131.                                                 data-type="double"
  132.                                                 data-min="0"
  133.                                                 data-max="{{ priceRange.max_price }}"
  134.                                                 data-from="{{ priceRange.min_price }}"
  135.                                                 data-to="{{ priceRange.max_price }}"
  136.                                                 data-grid="true"
  137.                                                 data-step="0.5"
  138.                                             />
  139.                                         </div>
  140.                                     </div>
  141.                                 </div>
  142.                             </div>
  143.                         </div>
  144.                         <!-- silde-bar colleps block end here -->
  145.                     </div>
  146.                     <div  class="collection-content col">
  147.                         <div class="page-main-content">
  148.                             <div class="row">
  149.                                 <div class="col-sm-12">
  150.                                     <div class="collection-product-wrapper">
  151.                                         <div class="product-top-filter">
  152.                                             <div class="row">
  153.                                                 <div class="col-xl-12">
  154.                                                     <div class="filter-main-btn"><span
  155.                                                             class="filter-btn btn btn-theme"><i class="fa fa-filter"
  156.                                                                 aria-hidden="true"></i> {{ 'Filter' | trans({},'templates') }}</span></div>
  157.                                                 </div>
  158.                                             </div>
  159.                                             <div class="row">
  160.                                                 <div class="col-12">
  161.                                                     <div class="product-filter-content">
  162.                                                         <div class="search-count">
  163.                                                             <h5>{{ 'Showing Products' | trans({},'templates') }} | 1-24 {{ 'of' | trans({},'templates') }} {{ products | length }} {{ 'Result' | trans({},'templates') }}</h5>
  164.                                                         </div>
  165.                                                         <div class="collection-view">
  166.                                                             <ul>
  167.                                                                 <li><i class="fa fa-th grid-layout-view"></i></li>
  168.                                                                 <li><i class="fa fa-list-ul list-layout-view"></i></li>
  169.                                                             </ul>
  170.                                                         </div>
  171.                                                         <div class="collection-grid-view">
  172.                                                             <ul>
  173.                                                                 <li><img src="{{ asset('assets/images/icon/2.png') }}" alt="" class="product-2-layout-view"></li>
  174.                                                                 <li><img src="{{ asset('assets/images/icon/3.png') }}" alt="" class="product-3-layout-view"></li>
  175.                                                                 <li><img src="{{ asset('assets/images/icon/4.png') }}" alt="" class="product-4-layout-view"></li>
  176.                                                                 <li><img src="{{ asset('assets/images/icon/6.png') }}" alt="" class="product-6-layout-view"></li>
  177.                                                             </ul>
  178.                                                         </div>
  179.                                                         <div class="product-page-per-view">
  180.                                                             <select>
  181.                                                                 <option value="High to low">24 {{ 'Products Per Page' | trans({},'templates') }}
  182.                                                                 </option>
  183.                                                                 <option value="Low to High">50 {{ 'Products Per Page' | trans({},'templates') }}
  184.                                                                 </option>
  185.                                                                 <option value="Low to High">100 {{ 'Products Per Page' | trans({},'templates') }}
  186.                                                                 </option>
  187.                                                             </select>
  188.                                                         </div>
  189.                                                         <div class="product-page-filter">
  190.                                                             <select>
  191.                                                                 <option value="High to low">{{ 'Sorting items' | trans({},'templates') }}</option>
  192.                                                                 <option value="Low to High">50 {{ 'Products' | trans({},'templates') }}</option>
  193.                                                                 <option value="Low to High">100 {{ 'Products' | trans({},'templates') }}</option>
  194.                                                             </select>
  195.                                                         </div>
  196.                                                     </div>
  197.                                                 </div>
  198.                                             </div>
  199.                                         </div>
  200.                                         <div id="collection_content" >
  201.                                             <div id="collection_main" class="product-wrapper-grid">
  202.                                                 <div class="row margin-res">
  203.                                                     {% if products %}
  204.                                                         {% for product in products %}
  205.                                                         <div class="col-xl-3 col-6 col-grid-box">
  206.                                                             <div class="product-box">
  207.                                                                 <div class="img-wrapper">
  208.                                                                     <div class="front">
  209.                                                                         <a href="{{ path('app_product_page',{'pid': product.id, 'vid': product.firstVariantId(),'gender': "mens" })}}">
  210.                                                                             <img 
  211.                                                                                 src="{{ product.mainImage }}" 
  212.                                                                                 class="img-fluid blur-up lazyload bg-img"
  213.                                                                                 alt=""
  214.                                                                             >
  215.                                                                         </a>
  216.                                                                     </div>
  217.                                                                     <div class="back">
  218.                                                                         <a href="{{ path('app_product_page',{'pid': product.id, vid: product.firstVariantId() ,'gender': "mens"})}}">
  219.                                                                             <img 
  220.                                                                                 src="{{ product.mainImage }}" 
  221.                                                                                 class="img-fluid blur-up lazyload bg-img"
  222.                                                                                 alt="">
  223.                                                                         </a>
  224.                                                                     </div>
  225.                                                                     <div class="cart-info cart-wrap top-align">
  226.                                                                         <a 
  227.                                                                             onclick="addToFavoris(this)" 
  228.                                                                             href="javascript:void(0)" 
  229.                                                                             title="{{ 'Add to Wishlist' | trans({},'templates') }}"
  230.                                                                             data-p-id={{ product.id }}
  231.                                                                             data-p-name={{ product.name }}
  232.                                                                             data-p-price={{ product.firstVariantPrice() }}
  233.                                                                             data-p-image={{ product.mainImage }}
  234.                                                                             data-p-api={{ product.apiId }}
  235.                                                                         >
  236.                                                                             {% if product.id in app.session.get('wishlist') %}
  237.                                                                                 <i class='fa-solid fa-heart' style='color: #ff0000;'></i>
  238.                                                                             {% else %}
  239.                                                                                 <i class='fa-regular fa-heart'></i>
  240.                                                                             {% endif %} 
  241.                                                                             
  242.                                                                         </a> 
  243.                                                                         
  244.                                                                     </div>
  245.                                                                     
  246.                                                                     <div class="cart-info cart-wrap">
  247.                                                                         <ul class="image-swatch">
  248.                                                                     {% for variant in product.variants|slice(0,4) %}
  249.                                                                     <li  class="v-swatch">
  250.                                                                         <a href="{{path('app_product_page',{'pid': variant.product.id ,'vid': variant.id,'gender': "mens"})}}">
  251.                                                                             <img 
  252.                                                                                 onmouseleave="category.oldImg('{{variant.product.id}}',this)" 
  253.                                                                                 onmouseenter="category.swatchImg('{{variant.product.id}}',this)" 
  254.                                                                                 src="{{ variant.mainImage }}" 
  255.                                                                                 alt="" 
  256.                                                                                 class="img-fluid blur-up lazyload"
  257.                                                                             >
  258.                                                                         </a>
  259.                                                                     </li>
  260.                                                                     {% endfor %}
  261.                                                                     {% if product.variants|length > 4 %}
  262.                                                                     {% set more = product.variants|length - 4 %}
  263.                                                                     <li  class="v-swatch v-swatch-more">
  264.                                                                         <a class="text-dark" href="{{ path('app_product_page',{'pid': product.id ,'vid': product.firstVariantId(),'gender': "mens" }) }}">
  265.                                                                             + {{ more }}
  266.                                                                         </a>
  267.                                                                     </li>
  268.                                                                     {% endif %}
  269.                                                                 </ul>
  270.                                                                     </div>
  271.                                                                 </div>
  272.                                                                 <div class="product-detail">
  273.                                                                     <div>
  274.                                                                         {# <div class="rating"><i class="fa fa-star"></i> <i
  275.                                                                                 class="fa fa-star"></i> <i
  276.                                                                                 class="fa fa-star"></i> <i
  277.                                                                                 class="fa fa-star"></i> <i
  278.                                                                                 class="fa fa-star"></i></div> #}
  279.                                                                         <a href="product-page(no-sidebar).html">
  280.                                                                             <h6>{{ product.name }}</h6>
  281.                                                                         </a>
  282.                                                                         <p>{{ product.description }}</p>
  283.                                                                         <h4>{{ product.firstVariantPrice() }} EUR</h4>
  284.                                                                         {# <ul class="color-variant">
  285.                                                                             {% for variant in product.variants %}
  286.                                                                                 <li class="bg-light0">{{ variant.color}}</li>
  287.                                                                             {% endfor %}
  288.                                                                             {# <li class="bg-light1"></li>
  289.                                                                             <li class="bg-light2"></li> #}
  290.                                                                         {# </ul>  #}
  291.                                                                 
  292.                                                                     </div>
  293.                                                                 </div>
  294.                                                             </div>
  295.                                                         </div>
  296.                                                         {% endfor %}
  297.                                                     {% else %}
  298.                                                         <!-- section start -->
  299.                                                             <section class="p-0">
  300.                                                                 <div class="container">
  301.                                                                     <div class="row">
  302.                                                                         <div class="col-sm-12">
  303.                                                                             <div class="error-section">
  304.                                                                                 {# <h1>404</h1> #}
  305.                                                                                 <h2>{{ 'NO PRODUCTS FOUND IN THIS COLLECTION' | trans({},'templates') }}</h2>
  306.                                                                                 <a href="/mens" class="btn btn-solid">{{ 'back to home' | trans({},'templates') }}</a>
  307.                                                                             </div>
  308.                                                                         </div>
  309.                                                                     </div>
  310.                                                                 </div>
  311.                                                             </section>
  312.                                                         <!-- Section ends -->
  313.                                                     {% endif %}
  314.                                                     {% if products %}
  315.                                                         <div class="knp-pagination">
  316.                                                             {{ knp_pagination_render(products,'pagination.twig') }} 
  317.                                                         </div>
  318.                                                     {% endif %}
  319.                                                 </div>
  320.                                             </div>
  321.                                         </div>
  322.                                     </div>
  323.                                 </div>
  324.                             </div>
  325.                         </div>
  326.                     </div>
  327.                 </div>
  328.             </div>
  329.         </div>
  330.     </section>
  331.     <!-- section End -->
  332.     <!-- Quick-view modal popup start-->
  333.     <div class="modal fade bd-example-modal-lg theme-modal" id="quick-view" tabindex="-1" role="dialog"
  334.         aria-hidden="true">
  335.         <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
  336.             <div class="modal-content quick-view-modal">
  337.                 <div class="modal-body">
  338.                     <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"><span
  339.                             aria-hidden="true">&times;</span></button>
  340.                     <div class="row">
  341.                         <div class="col-lg-6 col-xs-12">
  342.                             <div class="quick-view-img"><img src="{{ asset('assets/images/pro3/1.jpg') }}" alt=""
  343.                                     class="img-fluid blur-up lazyload"></div>
  344.                         </div>
  345.                         <div class="col-lg-6 rtl-text">
  346.                             <div class="product-right">
  347.                                 <h2>Women Pink Shirt</h2>
  348.                                 <h3>$32.96</h3>
  349.                                 <ul class="color-variant">
  350.                                     <li class="bg-light0"></li>
  351.                                     <li class="bg-light1"></li>
  352.                                     <li class="bg-light2"></li>
  353.                                 </ul>
  354.                                 <div class="border-product">
  355.                                     <h6 class="product-title">product details</h6>
  356.                                     <p>Sed ut perspiciatis, unde omnis iste natus error sit voluptatem accusantium
  357.                                         doloremque laudantium</p>
  358.                                 </div>
  359.                                 <div class="product-description border-product">
  360.                                     <div class="size-box">
  361.                                         <ul>
  362.                                             <li class="active"><a href="javascript:void(0)">s</a></li>
  363.                                             <li><a href="javascript:void(0)">m</a></li>
  364.                                             <li><a href="javascript:void(0)">l</a></li>
  365.                                             <li><a href="javascript:void(0)">xl</a></li>
  366.                                         </ul>
  367.                                     </div>
  368.                                     <h6 class="product-title">quantity</h6>
  369.                                     <div class="qty-box">
  370.                                         <div class="input-group"><span class="input-group-prepend"><button type="button"
  371.                                                     class="btn quantity-left-minus" data-type="minus" data-field=""><i
  372.                                                         class="ti-angle-left"></i></button> </span>
  373.                                             <input type="text" name="quantity" class="form-control input-number"
  374.                                                 value="1"> <span class="input-group-prepend"><button type="button"
  375.                                                     class="btn quantity-right-plus" data-type="plus" data-field=""><i
  376.                                                         class="ti-angle-right"></i></button></span>
  377.                                         </div>
  378.                                     </div>
  379.                                 </div>
  380.                                 <div class="product-buttons"><a href="#" class="btn btn-solid">add to cart</a> <a
  381.                                         href="#" class="btn btn-solid">view detail</a></div>
  382.                             </div>
  383.                         </div>
  384.                     </div>
  385.                 </div>
  386.             </div>
  387.         </div>
  388.     </div>
  389.     <!-- Quick-view modal popup end-->
  390.     <!-- tap to top start -->
  391.     <div class="tap-top">
  392.         <div><i class="fa fa-angle-double-up"></i></div>
  393.     </div>
  394.     <!-- tap to top end -->
  395. {% endblock %}
  396. {% block js %}
  397.     <!-- latest jquery-->
  398.     <script src="{{ asset('assets/js/jquery-3.3.1.min.js') }}"></script>
  399.     <!-- menu js-->
  400.     <script src="{{ asset('assets/js/menu.js') }}"></script>
  401.     <!-- lazyload js-->
  402.     <script src="{{ asset('assets/js/lazysizes.min.js') }}"></script>
  403.     <!-- price range js -->
  404.     <script src="{{ asset('assets/js/price-range.js') }}"></script>
  405.     <!-- slick js-->
  406.     <script src="{{ asset('assets/js/slick.js')}}"></script>
  407.     <!-- Bootstrap js-->
  408.     <script src="{{ asset('assets/js/bootstrap.bundle.min.js') }}"></script>
  409.     <!-- Bootstrap Notification js-->
  410.     <script src="{{ asset('assets/js/bootstrap-notify.min.js') }}"></script>
  411.     <!-- Theme js-->
  412.     <script src="{{ asset('assets/js/theme-setting.js') }}"></script>
  413.     <script src="{{ asset('assets/js/script.js') }}"></script>
  414.     <script>
  415.         function openSearch() {
  416.             document.getElementById("search-overlay").style.display = "block";
  417.         }
  418.         function closeSearch() {
  419.             document.getElementById("search-overlay").style.display = "none";
  420.         }
  421.     </script>
  422.         <script src="{{ asset('assets/js/modules.js') }}"></script>
  423. {% endblock %}