Guest User

Catalog

a guest
Apr 3rd, 2018
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 15.58 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
  9.     <head>
  10.         <css src="mage/gallery/gallery.css"/>
  11.     </head>
  12.     <update handle="catalog_product_opengraph" />
  13.     <update handle="page_calendar"/>
  14.     <body>
  15.         <attribute name="itemtype" value="http://schema.org/Product" />
  16.         <attribute name="itemscope" value="itemscope"/>
  17.         <referenceBlock name="head.components">
  18.             <block class="Magento\Framework\View\Element\Js\Components" name="checkout_page_head_components" template="Magento_Catalog::js/components.phtml"/>
  19.         </referenceBlock>
  20.         <referenceBlock name="page.main.title">
  21.             <arguments>
  22.                 <argument name="css_class" xsi:type="string">product</argument>
  23.                 <argument name="add_base_attribute" xsi:type="string">itemprop="name"</argument>
  24.             </arguments>
  25.         </referenceBlock>
  26.         <referenceBlock name="root">
  27.             <arguments>
  28.                 <argument name="add_attribute" xsi:type="string">itemscope itemtype="http://schema.org/Product"</argument>
  29.             </arguments>
  30.         </referenceBlock>
  31.         <referenceContainer name="content">
  32.             <container name="product.info.main" htmlTag="div" htmlClass="product-info-main" before="-">
  33.                 <container name="product.info.price" label="Product info auxiliary container" htmlTag="div" htmlClass="product-info-price">
  34.                     <container name="product.info.stock.sku" label="Product auxiliary info" htmlTag="div" htmlClass="product-info-stock-sku">
  35.                         <container name="product.info.type" before="-"/>
  36.                         <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.sku" template="Magento_Catalog::product/view/attribute.phtml" after="product.info.type">
  37.                             <arguments>
  38.                                 <argument name="at_call" xsi:type="string">getSku</argument>
  39.                                 <argument name="at_code" xsi:type="string">sku</argument>
  40.                                 <argument name="css_class" xsi:type="string">sku</argument>
  41.                                 <argument name="at_label" xsi:type="string">default</argument>
  42.                                 <argument name="add_attribute" xsi:type="string">itemprop="sku"</argument>
  43.                             </arguments>
  44.                         </block>
  45.                     </container>
  46.                     <block class="Magento\Catalog\Block\Product\View" name="product.info.review" template="Magento_Catalog::product/view/review.phtml" after="product.info.stock.sku" />
  47.                     <block class="Magento\Catalog\Pricing\Render" name="product.price.final">
  48.                         <arguments>
  49.                             <argument name="price_render" xsi:type="string">product.price.render.default</argument>
  50.                             <argument name="price_type_code" xsi:type="string">final_price</argument>
  51.                             <argument name="zone" xsi:type="string">item_view</argument>
  52.                         </arguments>
  53.                     </block>
  54.                 </container>
  55.                 <block class="Magento\Catalog\Pricing\Render" name="product.price.tier" after="product.info.price">
  56.                     <arguments>
  57.                         <argument name="price_render" xsi:type="string">product.price.render.default</argument>
  58.                         <argument name="price_type_code" xsi:type="string">tier_price</argument>
  59.                         <argument name="zone" xsi:type="string">item_view</argument>
  60.                     </arguments>
  61.                 </block>
  62.                 <container name="alert.urls" as="alert_urls" label="Alert Urls" after="product.price.tier"/>
  63.                 <block class="Magento\Catalog\Block\Product\View" name="product.info" template="Magento_Catalog::product/view/form.phtml" after="alert.urls">
  64.                     <container name="product.info.form.content" as="product_info_form_content">
  65.                         <block class="Magento\Catalog\Block\Product\View" name="product.info.addtocart" as="addtocart" template="Magento_Catalog::product/view/addtocart.phtml"/>
  66.                     </container>
  67.                     <block class="Magento\Framework\View\Element\Template" name="product.info.form.options" as="options_container">
  68.                         <block class="Magento\Catalog\Block\Product\View" name="product.info.options.wrapper" as="product_options_wrapper" template="Magento_Catalog::product/view/options/wrapper.phtml">
  69.                             <block class="Magento\Catalog\Block\Product\View\Options" name="product.info.options" as="product_options" template="Magento_Catalog::product/view/options.phtml">
  70.                                 <block class="Magento\Catalog\Block\Product\View\Options\Type\DefaultType" name="product.info.options.default" as="default" template="Magento_Catalog::product/view/options/type/default.phtml"/>
  71.                                 <block class="Magento\Catalog\Block\Product\View\Options\Type\Text" name="product.info.options.text" as="text" template="Magento_Catalog::product/view/options/type/text.phtml"/>
  72.                                 <block class="Magento\Catalog\Block\Product\View\Options\Type\File" name="product.info.options.file" as="file" template="Magento_Catalog::product/view/options/type/file.phtml"/>
  73.                                 <block class="Magento\Catalog\Block\Product\View\Options\Type\Select" name="product.info.options.select" as="select" template="Magento_Catalog::product/view/options/type/select.phtml"/>
  74.                                 <block class="Magento\Catalog\Block\Product\View\Options\Type\Date" name="product.info.options.date" as="date" template="Magento_Catalog::product/view/options/type/date.phtml"/>
  75.                             </block>
  76.                             <block class="Magento\Framework\View\Element\Html\Calendar" name="html_calendar" as="html_calendar" template="Magento_Theme::js/calendar.phtml"/>
  77.                         </block>
  78.                         <block class="Magento\Catalog\Block\Product\View" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="Magento_Catalog::product/view/options/wrapper/bottom.phtml">
  79.                             <block class="Magento\Catalog\Block\Product\View" name="product.info.addtocart.additional" as="product.info.addtocart" template="Magento_Catalog::product/view/addtocart.phtml"/>
  80.                         </block>
  81.                     </block>
  82.                 </block>
  83.                 <container name="product.info.extrahint" as="extrahint" label="Product View Extra Hint">
  84.                     <container name="product.info.social" label="Product social links container" htmlTag="div" htmlClass="product-social-links">
  85.                         <block class="Magento\Catalog\Block\Product\View" name="product.info.addto" as="addto" template="Magento_Catalog::product/view/addto.phtml">
  86.                             <block class="Magento\Catalog\Block\Product\View\AddTo\Compare" name="view.addto.compare" after="view.addto.wishlist"
  87.                                   template="Magento_Catalog::product/view/addto/compare.phtml" />
  88.                         </block>
  89.                         <block class="Magento\Catalog\Block\Product\View" name="product.info.mailto" template="Magento_Catalog::product/view/mailto.phtml"/>
  90.                     </container>
  91.                 </container>
  92.                         <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.demo" template="product/view/demo.phtml" after="-">
  93. <arguments>
  94.     <argument name="at_call" xsi:type="string">getCardOnly</argument>
  95.     <argument name="at_code" xsi:type="string">card_only</argument>
  96.     <argument name="css_class" xsi:type="string">card_only</argument>
  97.     <argument name="at_label" xsi:type="string">Card</argument>
  98.     <argument name="add_attribute" xsi:type="string">itemprop="card_only"</argument>
  99. </arguments>
  100. </block>
  101.                 <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.overview" template="Magento_Catalog::product/view/attribute.phtml" group="detailed_info" after="product.info.extrahint">
  102.                     <arguments>
  103.                         <argument name="at_call" xsi:type="string">getShortDescription</argument>
  104.                         <argument name="at_code" xsi:type="string">short_description</argument>
  105.                         <argument name="css_class" xsi:type="string">overview</argument>
  106.                         <argument name="at_label" xsi:type="string">none</argument>
  107.                         <argument name="title" translate="true" xsi:type="string">Overview</argument>
  108.                         <argument name="add_attribute" xsi:type="string">itemprop="description"</argument>
  109.                     </arguments>
  110.                 </block>
  111.        
  112.  
  113.             </container>
  114.             <container name="product.info.media" htmlTag="div" htmlClass="product media" after="product.info.main">
  115.                 <block class="Magento\Framework\View\Element\Template" name="skip_gallery_after.target" before="skip_gallery_before.wrapper" template="Magento_Theme::html/skiptarget.phtml">
  116.                     <arguments>
  117.                         <argument name="target_id" xsi:type="string">gallery-prev-area</argument>
  118.                     </arguments>
  119.                 </block>
  120.                 <container name="skip_gallery_before.wrapper" htmlTag="div" htmlClass="action-skip-wrapper">
  121.                     <block class="Magento\Framework\View\Element\Template" before="product.info.media.image" name="skip_gallery_before" template="Magento_Theme::html/skip.phtml">
  122.                         <arguments>
  123.                             <argument name="target" xsi:type="string">gallery-next-area</argument>
  124.                             <argument name="label" translate="true" xsi:type="string">Skip to the end of the images gallery</argument>
  125.                         </arguments>
  126.                     </block>
  127.                 </container>
  128.                 <block class="Magento\Catalog\Block\Product\View\Gallery" name="product.info.media.image" template="Magento_Catalog::product/view/gallery.phtml"/>
  129.                 <container name="skip_gallery_after.wrapper" htmlTag="div" htmlClass="action-skip-wrapper">
  130.                     <block class="Magento\Framework\View\Element\Template" after="product.info.media.image" name="skip_gallery_after" template="Magento_Theme::html/skip.phtml">
  131.                         <arguments>
  132.                             <argument name="target" xsi:type="string">gallery-prev-area</argument>
  133.                             <argument name="label" translate="true" xsi:type="string">Skip to the beginning of the images gallery</argument>
  134.                         </arguments>
  135.                     </block>
  136.                 </container>
  137.                 <block class="Magento\Framework\View\Element\Template" name="skip_gallery_before.target" after="skip_gallery_after.wrapper" template="Magento_Theme::html/skiptarget.phtml">
  138.                     <arguments>
  139.                         <argument name="target_id" xsi:type="string">gallery-next-area</argument>
  140.                     </arguments>
  141.                 </block>
  142.             </container>
  143.           <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.details" template="Magento_Catalog::product/view/details.phtml" after="product.info.media">
  144.                 <block class="Magento\Catalog\Block\Product\View\Description" name="product.info.description" template="Magento_Catalog::product/view/attribute.phtml" group="detailed_info">
  145.                     <arguments>
  146.                         <argument name="at_call" xsi:type="string">getDescription</argument>
  147.                         <argument name="at_code" xsi:type="string">description</argument>
  148.                         <argument name="css_class" xsi:type="string">description</argument>
  149.                         <argument name="at_label" xsi:type="string">none</argument>
  150.                         <argument name="title" translate="true" xsi:type="string">Detail</argument>
  151.                     </arguments>
  152.                 </block>
  153.                 <block class="Magento\Catalog\Block\Product\View\Attributes" name="product.attributes" as="additional" template="Magento_Catalog::product/view/attributes.phtml" group="detailed_info">
  154.                     <arguments>
  155.                         <argument translate="true" name="title" xsi:type="string">More Information</argument>
  156.                     </arguments>
  157.                 </block>
  158.             </block>
  159.             <block class="Magento\Cookie\Block\RequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
  160.                 <arguments>
  161.                     <argument name="triggers" xsi:type="array">
  162.                         <item name="compareProductLink" xsi:type="string">.action.tocompare</item>
  163.                     </argument>
  164.                 </arguments>
  165.             </block>
  166.         </referenceContainer>
  167.  
  168.  
  169.         <referenceContainer name="content.aside">
  170.            
  171.        
  172.        
  173.            
  174.             <block class="Magento\Catalog\Block\Product\ProductList\Related" name="catalog.product.related" template="Magento_Catalog::product/list/items.phtml">
  175.                 <arguments>
  176.                     <argument name="type" xsi:type="string">related</argument>
  177.                 </arguments>
  178.                 <block class="Magento\Catalog\Block\Product\ProductList\Item\Container" name="related.product.addto" as="addto">
  179.                     <block class="Magento\Catalog\Block\Product\ProductList\Item\AddTo\Compare"
  180.                           name="related.product.addto.compare" as="compare"
  181.                           template="Magento_Catalog::product/list/addto/compare.phtml"/>
  182.                 </block>
  183.             </block>
  184.             <block class="Magento\Catalog\Block\Product\ProductList\Upsell" name="product.info.upsell" template="Magento_Catalog::product/list/items.phtml">
  185.                 <arguments>
  186.                     <argument name="type" xsi:type="string">upsell</argument>
  187.                 </arguments>
  188.                 <block class="Magento\Catalog\Block\Product\ProductList\Item\Container" name="upsell.product.addto" as="addto">
  189.                     <block class="Magento\Catalog\Block\Product\ProductList\Item\AddTo\Compare"
  190.                           name="upsell.product.addto.compare" as="compare"
  191.                           template="Magento_Catalog::product/list/addto/compare.phtml"/>
  192.                 </block>
  193.             </block>
  194.             <block class="Magento\Catalog\Block\Product\View\Additional" name="product.info.additional" as="product_additional_data"/>
  195.         </referenceContainer>
  196.         <referenceBlock name="product.info.addtocart">
  197.             <block class="Magento\Catalog\Block\ShortcutButtons\InCatalog" name="addtocart.shortcut.buttons"/>
  198.         </referenceBlock>
  199.         <referenceBlock name="product.info.addtocart.additional">
  200.             <block class="Magento\Catalog\Block\ShortcutButtons\InCatalog" name="addtocart.shortcut.buttons.additional"/>
  201.         </referenceBlock>
  202.         <referenceContainer name="content">
  203.             <block
  204.                    class="Magento\Catalog\Block\Ui\ProductViewCounter"
  205.                    name="product_viewed_counter"
  206.                    template="Magento_Catalog::product/view/counter.phtml"/>
  207.         </referenceContainer>
  208.  
  209.     </body>
  210. </page>
Add Comment
Please, Sign In to add comment