custom/plugins/XioniXconfig/src/Resources/views/storefront/page/product-detail/index.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/index.html.twig' %}
  2. {% block base_head %}
  3. {{ parent() }}
  4. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
  5. <link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>    
  6. <link type="text/css" media="screen, projection" rel="stylesheet" href="https://xconfig003.com/mvc_structure2/assets/css/shop-frontend.css"/> 
  7. <link type="text/css" media="screen, projection" rel="stylesheet" href="https://xconfig003.com/mvc_structure2/assets/css/pse-template.css"/> 
  8. <link type="text/css" media="screen, projection" rel="stylesheet" href="https://xconfig003.com/mvc_structure2/assets/css/pse-template-new.css"/> 
  9. <style>
  10. .visible {
  11.   border-radius: 3px;
  12.   animation: highlight 1000ms ease-out;
  13. }
  14. @keyframes highlight {
  15.   0% {
  16.     background-color: #3aa41c;
  17.   }
  18.   100% {
  19.     background-color: white;
  20.   }
  21. }
  22. .ProvenExpert_widget_container {
  23.     display:none;
  24. }
  25. #xconfig_start_description {
  26.     border-right: 1px solid #9b9999;
  27. }
  28. #x_info_click {
  29.   text-decoration: none !important;
  30. }
  31. .icon-info {
  32.     color: #878787;
  33. }
  34. .icon-info:hover {
  35.     color: #3aa41c;
  36. }
  37. .config--has-summary {
  38.     border-top: 1px solid #9b9999;
  39. }
  40. .icon-shoppingcart {
  41.     width:35px!important;
  42.     height:35px!important;
  43. }
  44. .icon-shoppingcart-small {
  45.     width:18px!important;
  46.     height:18px!important;
  47. }
  48. #tab-info, #tab-manufacturer {
  49.   display:none;
  50. }
  51. .breadcrumb-main {
  52.    display:none;
  53. }
  54. //.product-media-append {
  55. //   display:none;
  56. //}
  57. .x-product-detail-tabs {
  58.     width:100%;
  59.     text-align: center;
  60. }
  61. .x-product-detail-tab {
  62.     display: inline-block;
  63.     float:left;
  64.     padding-right: 2%;
  65.     width:33.3%;
  66.     margin-bottom: 20px;
  67. }
  68. .x-product-detail-tab:last-child {
  69.     padding-right: 0%;
  70. }
  71. .tab-button {
  72.     font-size: 1.4em;
  73.     color:#9b9999;
  74.     box-shadow: none;
  75.     border: 0;
  76.     border-radius: 0px;
  77.     border-bottom: 3px solid #9b9999;
  78.     background-color:#ffffff;
  79.     width:100%;
  80.     outline:none;
  81. }
  82. .tab-button:hover, .tab-active{
  83.     color:#3aa41c;
  84.     border-bottom: 3px solid #3aa41c;
  85. }
  86. .tab-button:focus {
  87.    outline:none;
  88. }
  89. #xconfig{
  90.     border-top: 1px solid #9b9999;
  91. }
  92. .xactive, .xaccordion:hover {
  93.   background-color: #ccc;
  94. }
  95. .xaccordion {
  96.   background-color: #eee;
  97.   color: #444;
  98.   cursor: pointer;
  99.   padding: 18px;
  100.   width: 100%;
  101.   text-align: left;
  102.   border: none;
  103.   outline: none!important;
  104.   transition: 0.4s;
  105. }
  106. .xpanel {
  107.   padding: 0 18px;
  108.   background-color: white;
  109.   max-height: 0;
  110.   overflow: hidden;
  111.   transition: max-height 0.2s ease-out;
  112.   outline:none!important;
  113.   border: none;  
  114. }
  115. .xaccordion:after {
  116.   content: '\02795'; /* Unicode character for "plus" sign (+) */
  117.   font-size: 13px;
  118.   color: #777;
  119.   float: right;
  120.   margin-left: 5px;
  121. }
  122. .xactive:after {
  123.   content: "\2796"; /* Unicode character for "minus" sign (-) */
  124. }
  125. .acc_info_txt {
  126.     display: none;
  127.     border:1px solid #000;
  128.     height:30px;
  129.     width:290px;
  130.     margin-left:10px;
  131. }
  132. .acc_info_img_heart {
  133.     width:30px;
  134. }
  135. .acc_info_img:hover + .acc_info_txt {
  136.     display: block;
  137. }
  138. .x-modal-dialog {
  139.     position: fixed;
  140.     font-family: Arial, Helvetica, sans-serif;
  141.     top: 0;
  142.     right: 0;
  143.     bottom: 0;
  144.     left: 0;
  145.     background: rgba(0,0,0,0.3);
  146.     z-index: 99999;
  147.     opacity:0;
  148.     color: black;
  149.     -webkit-transition: opacity 100ms ease-in;
  150.     -moz-transition: opacity 100ms ease-in;
  151.     transition: opacity 100ms ease-in;
  152.     pointer-events: none;
  153. }
  154. .x-modal-dialog.show{
  155.     opacity:1;
  156.     pointer-events: auto;
  157. }
  158. .x-modal-dialog:target {
  159.     opacity:1;
  160.     pointer-events: auto;
  161. }
  162. .x-modal-dialog div {
  163.     width: 400px;
  164.     position: relative;
  165.     margin: 10% auto;
  166.     padding: 16px 20px 21px 20px;
  167.     border-radius: 4px;
  168.     background: #fff;
  169.     border: 2px white solid;
  170. }
  171. .x-modal-dialog p {
  172.     color: black;
  173.     text-shadow: none;
  174.     text-transform: none;
  175.     font-size: 14px;
  176. }
  177. .x-dialog-close {
  178.     background: white;
  179.     color: #878787;
  180.     line-height: 24px;
  181.     position: absolute;
  182.     right: -12px;
  183.     text-align: center;
  184.     top: -10px;
  185.     width: 26px;
  186.     text-decoration: none;
  187.     font-weight: bold;
  188.     border: 1px solid #666;
  189.     border-radius: 12px;
  190.     text-decoration: none !important;
  191. }
  192. .close:hover { background: #aaa; }
  193. </style>
  194. {% endblock %}
  195. {% block page_product_detail_main %}
  196.     {% block page_product_detail_name_container %}
  197.         <div class="col product-detail-name-container">
  198.             {% block page_product_detail_name %}
  199.                 <h1 class="product-detail-name"
  200.                     itemprop="name">
  201.                     {{ page.product.translated.name }}
  202.                 </h1>
  203.             {% endblock %}
  204.         </div>
  205.     {% endblock %}
  206.     <div class="row product-detail-main">
  207.         {% block page_product_detail_media %}
  208.             <div class="col-lg-7 product-detail-media">
  209.                 {% if page.product.media %}
  210.                     {% sw_include '@Storefront/storefront/element/cms-element-image-gallery.html.twig' with {
  211.                         'mediaItems': mediaItems,
  212.                         'zoom': true,
  213.                         'zoomModal': true,
  214.                         'displayMode': 'contain',
  215.                         'gutter': 5,
  216.                         'minHeight': '430px',
  217.                         'navigationArrows': 'inside',
  218.                         'navigationDots': 'inside',
  219.                         'galleryPosition': 'left',
  220.                         'isProduct': true,
  221.                         'fallbackImageTitle': page.product.translated.name,
  222.                         'startIndexThumbnails': page.product.cover.position + 1,
  223.                         'startIndexSlider': page.product.cover.position + 1,
  224.                         'keepAspectRatioOnZoom': false
  225.                     } %}
  226.                 {% endif %}
  227.             </div>
  228.         {% endblock %}
  229.         {% block page_product_detail_buy %}
  230.             <div class="col-lg-5 product-detail-buy">
  231.                 {% sw_include '@Storefront/storefront/page/product-detail/buy-widget.html.twig' %}
  232.             </div>
  233.         {% endblock %}
  234.     </div>
  235. {% endblock %}