Magento2 : Review Tab Not showing in Product view Page (2-column layout)Problem with layout productpageHow to extend layout in Custom moduleUpdate block arguemnts in xml file (Recommended way not working)Injected objects into blocks via layout XMLs MUST implement CollectionDataSourceInterfaceWhy Getting categories and names on product view page Magento 2 fails?Why are my product attributes not showing up on the frontend properly?Magento2 Override Block - Invalid template file problemUse plugin after getImage() in Magento 2Magento 2 DOM validation exception when in developer modeI need to add some blocks on New Product view Page for Quick view
Is it possible to make sharp wind that can cut stuff from afar?
Is this food a bread or a loaf?
How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?
How would photo IDs work for shapeshifters?
Why is my log file so massive? 22gb. I am running log backups
If a centaur druid Wild Shapes into a Giant Elk, do their Charge features stack?
How to move the player while also allowing forces to affect it
How to manage monthly salary
Are cabin dividers used to "hide" the flex of the airplane?
Does it makes sense to buy a new cycle to learn riding?
Travelling to Edinburgh from India
What is the meaning of "of trouble" in the following sentence?
Crop image to path created in TikZ?
Unbreakable Formation vs. Cry of the Carnarium
Lied on resume at previous job
Ideas for colorfully and clearly highlighting graph edges according to weights
Can a planet have a different gravitational pull depending on its location in orbit around its sun?
Domain expired, GoDaddy holds it and is asking more money
extract characters between two commas?
Why doesn't a const reference extend the life of a temporary object passed via a function?
Synthetic Control Method
Shall I use personal or official e-mail account when registering to external websites for work purpose?
Copycat chess is back
Is Social Media Science Fiction?
Magento2 : Review Tab Not showing in Product view Page (2-column layout)
Problem with layout productpageHow to extend layout in Custom moduleUpdate block arguemnts in xml file (Recommended way not working)Injected objects into blocks via layout XMLs MUST implement CollectionDataSourceInterfaceWhy Getting categories and names on product view page Magento 2 fails?Why are my product attributes not showing up on the frontend properly?Magento2 Override Block - Invalid template file problemUse plugin after getImage() in Magento 2Magento 2 DOM validation exception when in developer modeI need to add some blocks on New Product view Page for Quick view
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Review tab
is not shown when I change Catalog_Product_View from layout="1column" to layout="2columns-left".
Need help on how can I fix...
UPDATE:
This is my catalog_product_view.xml file
<?xml version="1.0"?>
<!--
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page layout="2columns-left" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="mage/gallery/gallery.css"/>
</head>
<update handle="catalog_product_opengraph" />
<update handle="page_calendar"/>
<body>
<attribute name="itemtype" value="http://schema.org/Product" />
<attribute name="itemscope" value="itemscope"/>
<referenceBlock name="head.components">
<block class="MagentoFrameworkViewElementJsComponents" name="checkout_page_head_components" template="Magento_Catalog::js/components.phtml"/>
</referenceBlock>
<referenceBlock name="page.main.title">
<arguments>
<argument name="css_class" xsi:type="string">product</argument>
<argument name="add_base_attribute" xsi:type="string">itemprop="name"</argument>
</arguments>
</referenceBlock>
<referenceBlock name="root">
<arguments>
<argument name="add_attribute" xsi:type="string">itemscope itemtype="http://schema.org/Product"</argument>
</arguments>
</referenceBlock>
<referenceContainer name="content">
<container name="product.info.main" htmlTag="div" htmlClass="product-info-main" before="-">
<container name="product.info.price" label="Product info auxiliary container" htmlTag="div" htmlClass="product-info-price" after="product.info.review">
<container name="product.info.stock.sku" label="Product auxiliary info" htmlTag="div" htmlClass="product-info-stock-sku">
<container name="product.info.type" before="-"/>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.sku" template="product/view/attribute.phtml" after="product.info.type">
<arguments>
<argument name="at_call" xsi:type="string">getSku</argument>
<argument name="at_code" xsi:type="string">sku</argument>
<argument name="css_class" xsi:type="string">sku</argument>
<argument name="at_label" xsi:type="string">default</argument>
<argument name="add_attribute" xsi:type="string">itemprop="sku"</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogBlockProductView" name="product.info.review" template="product/view/review.phtml" after="product.info.stock.sku" />
<block class="MagentoCatalogPricingRender" name="product.price.final" after="product.info.sku">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">final_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogPricingRender" name="product.price.tier" after="product.info.price">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">tier_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
<container name="alert.urls" as="alert_urls" label="Alert Urls" after="product.price.tier"/>
<block class="MagentoCatalogBlockProductView" name="product.info" template="product/view/form.phtml" after="alert.urls">
<container name="product.info.form.content" as="product_info_form_content">
<block class="MagentoCatalogBlockProductView" name="product.info.addtocart" as="addtocart" template="product/view/addtocart.phtml"/>
</container>
<block class="MagentoFrameworkViewElementTemplate" name="product.info.form.options" as="options_container">
<block class="MagentoCatalogBlockProductView" name="product.info.options.wrapper" as="product_options_wrapper" template="product/view/options/wrapper.phtml">
<block class="MagentoCatalogBlockProductViewOptions" name="product.info.options" as="product_options" template="product/view/options.phtml">
<block class="MagentoCatalogBlockProductViewOptionsTypeDefaultType" as="default" template="product/view/options/type/default.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeText" as="text" template="product/view/options/type/text.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeFile" as="file" template="product/view/options/type/file.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeSelect" as="select" template="product/view/options/type/select.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeDate" as="date" template="product/view/options/type/date.phtml"/>
</block>
<block class="MagentoFrameworkViewElementHtmlCalendar" name="html_calendar" as="html_calendar" template="Magento_Theme::js/calendar.phtml"/>
</block>
<block class="MagentoCatalogBlockProductView" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="product/view/options/wrapper/bottom.phtml">
<block class="MagentoCatalogBlockProductView" name="product.info.addtocart.additional" as="product.info.addtocart" template="product/view/addtocart.phtml"/>
</block>
</block>
</block>
<container name="product.info.extrahint" as="extrahint" label="Product View Extra Hint">
<container name="product.info.social" label="Product social links container" htmlTag="div" htmlClass="product-social-links" after="product.info.overview">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="product/view/addto.phtml">
<block class="MagentoCatalogBlockProductViewAddToCompare" name="view.addto.compare" after="view.addto.wishlist"
template="Magento_Catalog::product/view/addto/compare.phtml" />
</block>
<block class="MagentoCatalogBlockProductView" name="product.info.mailto" template="product/view/mailto.phtml"/>
</container>
</container>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.overview" template="product/view/attribute.phtml" group="detailed_info" after="product.info.extrahint">
<arguments>
<argument name="at_call" xsi:type="string">getShortDescription</argument>
<argument name="at_code" xsi:type="string">short_description</argument>
<argument name="css_class" xsi:type="string">overview</argument>
<argument name="at_label" translate="true" xsi:type="string">none</argument>
<argument name="title" translate="true" xsi:type="string">Overview</argument>
<argument name="add_attribute" xsi:type="string">itemprop="description"</argument>
</arguments>
</block>
</container>
<container name="product.info.media" htmlTag="div" htmlClass="product media" after="product.info.main">
<block class="MagentoCatalogBlockProductViewGallery" name="product.info.media.image" template="product/view/gallery.phtml"/>
</container>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.details" template="product/view/details.phtml" after="product.info.media">
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.description" template="product/view/attribute.phtml" group="detailed_info">
<arguments>
<argument name="at_call" xsi:type="string">getDescription</argument>
<argument name="at_code" xsi:type="string">description</argument>
<argument name="css_class" xsi:type="string">description</argument>
<argument name="at_label" xsi:type="string">none</argument>
<argument name="title" translate="true" xsi:type="string">Details</argument>
</arguments>
</block>
<block class="MagentoCatalogBlockProductViewAttributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">More Information</argument>
</arguments>
</block>
</block>
<block class="MagentoCookieBlockRequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
<arguments>
<argument name="triggers" xsi:type="array">
<item name="compareProductLink" xsi:type="string">.action.tocompare</item>
</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="content.aside">
<block class="MagentoCatalogBlockProductProductListRelated" name="catalog.product.related" template="Magento_Catalog::product/list/items.phtml">
<arguments>
<argument name="type" xsi:type="string">related</argument>
</arguments>
<block class="MagentoCatalogBlockProductProductListItemContainer" name="related.product.addto" as="addto">
<block class="MagentoCatalogBlockProductProductListItemAddToCompare"
name="related.product.addto.compare" as="compare"
template="Magento_Catalog::product/list/addto/compare.phtml"/>
</block>
</block>
<block class="MagentoCatalogBlockProductProductListUpsell" name="product.info.upsell" template="Magento_Catalog::product/list/items.phtml">
<arguments>
<argument name="type" xsi:type="string">upsell</argument>
</arguments>
<block class="MagentoCatalogBlockProductProductListItemContainer" name="upsell.product.addto" as="addto">
<block class="MagentoCatalogBlockProductProductListItemAddToCompare"
name="upsell.product.addto.compare" as="compare"
template="Magento_Catalog::product/list/addto/compare.phtml"/>
</block>
</block>
<block class="MagentoCatalogBlockProductViewAdditional" name="product.info.additional" as="product_additional_data"/>
</referenceContainer>
<referenceBlock name="product.info.addtocart">
<block class="MagentoCatalogBlockShortcutButtonsInCatalog" name="addtocart.shortcut.buttons"/>
</referenceBlock>
<referenceBlock name="product.info.addtocart.additional">
<block class="MagentoCatalogBlockShortcutButtonsInCatalog" name="addtocart.shortcut.buttons.additional"/>
</referenceBlock>
</body>
</page>
layout magento2.1.6 product-review
add a comment |
Review tab
is not shown when I change Catalog_Product_View from layout="1column" to layout="2columns-left".
Need help on how can I fix...
UPDATE:
This is my catalog_product_view.xml file
<?xml version="1.0"?>
<!--
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page layout="2columns-left" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="mage/gallery/gallery.css"/>
</head>
<update handle="catalog_product_opengraph" />
<update handle="page_calendar"/>
<body>
<attribute name="itemtype" value="http://schema.org/Product" />
<attribute name="itemscope" value="itemscope"/>
<referenceBlock name="head.components">
<block class="MagentoFrameworkViewElementJsComponents" name="checkout_page_head_components" template="Magento_Catalog::js/components.phtml"/>
</referenceBlock>
<referenceBlock name="page.main.title">
<arguments>
<argument name="css_class" xsi:type="string">product</argument>
<argument name="add_base_attribute" xsi:type="string">itemprop="name"</argument>
</arguments>
</referenceBlock>
<referenceBlock name="root">
<arguments>
<argument name="add_attribute" xsi:type="string">itemscope itemtype="http://schema.org/Product"</argument>
</arguments>
</referenceBlock>
<referenceContainer name="content">
<container name="product.info.main" htmlTag="div" htmlClass="product-info-main" before="-">
<container name="product.info.price" label="Product info auxiliary container" htmlTag="div" htmlClass="product-info-price" after="product.info.review">
<container name="product.info.stock.sku" label="Product auxiliary info" htmlTag="div" htmlClass="product-info-stock-sku">
<container name="product.info.type" before="-"/>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.sku" template="product/view/attribute.phtml" after="product.info.type">
<arguments>
<argument name="at_call" xsi:type="string">getSku</argument>
<argument name="at_code" xsi:type="string">sku</argument>
<argument name="css_class" xsi:type="string">sku</argument>
<argument name="at_label" xsi:type="string">default</argument>
<argument name="add_attribute" xsi:type="string">itemprop="sku"</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogBlockProductView" name="product.info.review" template="product/view/review.phtml" after="product.info.stock.sku" />
<block class="MagentoCatalogPricingRender" name="product.price.final" after="product.info.sku">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">final_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogPricingRender" name="product.price.tier" after="product.info.price">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">tier_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
<container name="alert.urls" as="alert_urls" label="Alert Urls" after="product.price.tier"/>
<block class="MagentoCatalogBlockProductView" name="product.info" template="product/view/form.phtml" after="alert.urls">
<container name="product.info.form.content" as="product_info_form_content">
<block class="MagentoCatalogBlockProductView" name="product.info.addtocart" as="addtocart" template="product/view/addtocart.phtml"/>
</container>
<block class="MagentoFrameworkViewElementTemplate" name="product.info.form.options" as="options_container">
<block class="MagentoCatalogBlockProductView" name="product.info.options.wrapper" as="product_options_wrapper" template="product/view/options/wrapper.phtml">
<block class="MagentoCatalogBlockProductViewOptions" name="product.info.options" as="product_options" template="product/view/options.phtml">
<block class="MagentoCatalogBlockProductViewOptionsTypeDefaultType" as="default" template="product/view/options/type/default.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeText" as="text" template="product/view/options/type/text.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeFile" as="file" template="product/view/options/type/file.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeSelect" as="select" template="product/view/options/type/select.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeDate" as="date" template="product/view/options/type/date.phtml"/>
</block>
<block class="MagentoFrameworkViewElementHtmlCalendar" name="html_calendar" as="html_calendar" template="Magento_Theme::js/calendar.phtml"/>
</block>
<block class="MagentoCatalogBlockProductView" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="product/view/options/wrapper/bottom.phtml">
<block class="MagentoCatalogBlockProductView" name="product.info.addtocart.additional" as="product.info.addtocart" template="product/view/addtocart.phtml"/>
</block>
</block>
</block>
<container name="product.info.extrahint" as="extrahint" label="Product View Extra Hint">
<container name="product.info.social" label="Product social links container" htmlTag="div" htmlClass="product-social-links" after="product.info.overview">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="product/view/addto.phtml">
<block class="MagentoCatalogBlockProductViewAddToCompare" name="view.addto.compare" after="view.addto.wishlist"
template="Magento_Catalog::product/view/addto/compare.phtml" />
</block>
<block class="MagentoCatalogBlockProductView" name="product.info.mailto" template="product/view/mailto.phtml"/>
</container>
</container>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.overview" template="product/view/attribute.phtml" group="detailed_info" after="product.info.extrahint">
<arguments>
<argument name="at_call" xsi:type="string">getShortDescription</argument>
<argument name="at_code" xsi:type="string">short_description</argument>
<argument name="css_class" xsi:type="string">overview</argument>
<argument name="at_label" translate="true" xsi:type="string">none</argument>
<argument name="title" translate="true" xsi:type="string">Overview</argument>
<argument name="add_attribute" xsi:type="string">itemprop="description"</argument>
</arguments>
</block>
</container>
<container name="product.info.media" htmlTag="div" htmlClass="product media" after="product.info.main">
<block class="MagentoCatalogBlockProductViewGallery" name="product.info.media.image" template="product/view/gallery.phtml"/>
</container>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.details" template="product/view/details.phtml" after="product.info.media">
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.description" template="product/view/attribute.phtml" group="detailed_info">
<arguments>
<argument name="at_call" xsi:type="string">getDescription</argument>
<argument name="at_code" xsi:type="string">description</argument>
<argument name="css_class" xsi:type="string">description</argument>
<argument name="at_label" xsi:type="string">none</argument>
<argument name="title" translate="true" xsi:type="string">Details</argument>
</arguments>
</block>
<block class="MagentoCatalogBlockProductViewAttributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">More Information</argument>
</arguments>
</block>
</block>
<block class="MagentoCookieBlockRequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
<arguments>
<argument name="triggers" xsi:type="array">
<item name="compareProductLink" xsi:type="string">.action.tocompare</item>
</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="content.aside">
<block class="MagentoCatalogBlockProductProductListRelated" name="catalog.product.related" template="Magento_Catalog::product/list/items.phtml">
<arguments>
<argument name="type" xsi:type="string">related</argument>
</arguments>
<block class="MagentoCatalogBlockProductProductListItemContainer" name="related.product.addto" as="addto">
<block class="MagentoCatalogBlockProductProductListItemAddToCompare"
name="related.product.addto.compare" as="compare"
template="Magento_Catalog::product/list/addto/compare.phtml"/>
</block>
</block>
<block class="MagentoCatalogBlockProductProductListUpsell" name="product.info.upsell" template="Magento_Catalog::product/list/items.phtml">
<arguments>
<argument name="type" xsi:type="string">upsell</argument>
</arguments>
<block class="MagentoCatalogBlockProductProductListItemContainer" name="upsell.product.addto" as="addto">
<block class="MagentoCatalogBlockProductProductListItemAddToCompare"
name="upsell.product.addto.compare" as="compare"
template="Magento_Catalog::product/list/addto/compare.phtml"/>
</block>
</block>
<block class="MagentoCatalogBlockProductViewAdditional" name="product.info.additional" as="product_additional_data"/>
</referenceContainer>
<referenceBlock name="product.info.addtocart">
<block class="MagentoCatalogBlockShortcutButtonsInCatalog" name="addtocart.shortcut.buttons"/>
</referenceBlock>
<referenceBlock name="product.info.addtocart.additional">
<block class="MagentoCatalogBlockShortcutButtonsInCatalog" name="addtocart.shortcut.buttons.additional"/>
</referenceBlock>
</body>
</page>
layout magento2.1.6 product-review
I set the layout to 1column. Reviews tab is still displayed. You might have removed the block with remove=true in your layout file.
– Sejal Shah
Jun 19 '17 at 12:19
NO im not remove any block..
– kamal
Jun 20 '17 at 4:33
Can you please post the code in catalog_product_view.xml?
– Sejal Shah
Jun 20 '17 at 5:31
Please see my Update..
– kamal
Jun 20 '17 at 5:52
add a comment |
Review tab
is not shown when I change Catalog_Product_View from layout="1column" to layout="2columns-left".
Need help on how can I fix...
UPDATE:
This is my catalog_product_view.xml file
<?xml version="1.0"?>
<!--
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page layout="2columns-left" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="mage/gallery/gallery.css"/>
</head>
<update handle="catalog_product_opengraph" />
<update handle="page_calendar"/>
<body>
<attribute name="itemtype" value="http://schema.org/Product" />
<attribute name="itemscope" value="itemscope"/>
<referenceBlock name="head.components">
<block class="MagentoFrameworkViewElementJsComponents" name="checkout_page_head_components" template="Magento_Catalog::js/components.phtml"/>
</referenceBlock>
<referenceBlock name="page.main.title">
<arguments>
<argument name="css_class" xsi:type="string">product</argument>
<argument name="add_base_attribute" xsi:type="string">itemprop="name"</argument>
</arguments>
</referenceBlock>
<referenceBlock name="root">
<arguments>
<argument name="add_attribute" xsi:type="string">itemscope itemtype="http://schema.org/Product"</argument>
</arguments>
</referenceBlock>
<referenceContainer name="content">
<container name="product.info.main" htmlTag="div" htmlClass="product-info-main" before="-">
<container name="product.info.price" label="Product info auxiliary container" htmlTag="div" htmlClass="product-info-price" after="product.info.review">
<container name="product.info.stock.sku" label="Product auxiliary info" htmlTag="div" htmlClass="product-info-stock-sku">
<container name="product.info.type" before="-"/>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.sku" template="product/view/attribute.phtml" after="product.info.type">
<arguments>
<argument name="at_call" xsi:type="string">getSku</argument>
<argument name="at_code" xsi:type="string">sku</argument>
<argument name="css_class" xsi:type="string">sku</argument>
<argument name="at_label" xsi:type="string">default</argument>
<argument name="add_attribute" xsi:type="string">itemprop="sku"</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogBlockProductView" name="product.info.review" template="product/view/review.phtml" after="product.info.stock.sku" />
<block class="MagentoCatalogPricingRender" name="product.price.final" after="product.info.sku">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">final_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogPricingRender" name="product.price.tier" after="product.info.price">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">tier_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
<container name="alert.urls" as="alert_urls" label="Alert Urls" after="product.price.tier"/>
<block class="MagentoCatalogBlockProductView" name="product.info" template="product/view/form.phtml" after="alert.urls">
<container name="product.info.form.content" as="product_info_form_content">
<block class="MagentoCatalogBlockProductView" name="product.info.addtocart" as="addtocart" template="product/view/addtocart.phtml"/>
</container>
<block class="MagentoFrameworkViewElementTemplate" name="product.info.form.options" as="options_container">
<block class="MagentoCatalogBlockProductView" name="product.info.options.wrapper" as="product_options_wrapper" template="product/view/options/wrapper.phtml">
<block class="MagentoCatalogBlockProductViewOptions" name="product.info.options" as="product_options" template="product/view/options.phtml">
<block class="MagentoCatalogBlockProductViewOptionsTypeDefaultType" as="default" template="product/view/options/type/default.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeText" as="text" template="product/view/options/type/text.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeFile" as="file" template="product/view/options/type/file.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeSelect" as="select" template="product/view/options/type/select.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeDate" as="date" template="product/view/options/type/date.phtml"/>
</block>
<block class="MagentoFrameworkViewElementHtmlCalendar" name="html_calendar" as="html_calendar" template="Magento_Theme::js/calendar.phtml"/>
</block>
<block class="MagentoCatalogBlockProductView" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="product/view/options/wrapper/bottom.phtml">
<block class="MagentoCatalogBlockProductView" name="product.info.addtocart.additional" as="product.info.addtocart" template="product/view/addtocart.phtml"/>
</block>
</block>
</block>
<container name="product.info.extrahint" as="extrahint" label="Product View Extra Hint">
<container name="product.info.social" label="Product social links container" htmlTag="div" htmlClass="product-social-links" after="product.info.overview">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="product/view/addto.phtml">
<block class="MagentoCatalogBlockProductViewAddToCompare" name="view.addto.compare" after="view.addto.wishlist"
template="Magento_Catalog::product/view/addto/compare.phtml" />
</block>
<block class="MagentoCatalogBlockProductView" name="product.info.mailto" template="product/view/mailto.phtml"/>
</container>
</container>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.overview" template="product/view/attribute.phtml" group="detailed_info" after="product.info.extrahint">
<arguments>
<argument name="at_call" xsi:type="string">getShortDescription</argument>
<argument name="at_code" xsi:type="string">short_description</argument>
<argument name="css_class" xsi:type="string">overview</argument>
<argument name="at_label" translate="true" xsi:type="string">none</argument>
<argument name="title" translate="true" xsi:type="string">Overview</argument>
<argument name="add_attribute" xsi:type="string">itemprop="description"</argument>
</arguments>
</block>
</container>
<container name="product.info.media" htmlTag="div" htmlClass="product media" after="product.info.main">
<block class="MagentoCatalogBlockProductViewGallery" name="product.info.media.image" template="product/view/gallery.phtml"/>
</container>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.details" template="product/view/details.phtml" after="product.info.media">
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.description" template="product/view/attribute.phtml" group="detailed_info">
<arguments>
<argument name="at_call" xsi:type="string">getDescription</argument>
<argument name="at_code" xsi:type="string">description</argument>
<argument name="css_class" xsi:type="string">description</argument>
<argument name="at_label" xsi:type="string">none</argument>
<argument name="title" translate="true" xsi:type="string">Details</argument>
</arguments>
</block>
<block class="MagentoCatalogBlockProductViewAttributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">More Information</argument>
</arguments>
</block>
</block>
<block class="MagentoCookieBlockRequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
<arguments>
<argument name="triggers" xsi:type="array">
<item name="compareProductLink" xsi:type="string">.action.tocompare</item>
</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="content.aside">
<block class="MagentoCatalogBlockProductProductListRelated" name="catalog.product.related" template="Magento_Catalog::product/list/items.phtml">
<arguments>
<argument name="type" xsi:type="string">related</argument>
</arguments>
<block class="MagentoCatalogBlockProductProductListItemContainer" name="related.product.addto" as="addto">
<block class="MagentoCatalogBlockProductProductListItemAddToCompare"
name="related.product.addto.compare" as="compare"
template="Magento_Catalog::product/list/addto/compare.phtml"/>
</block>
</block>
<block class="MagentoCatalogBlockProductProductListUpsell" name="product.info.upsell" template="Magento_Catalog::product/list/items.phtml">
<arguments>
<argument name="type" xsi:type="string">upsell</argument>
</arguments>
<block class="MagentoCatalogBlockProductProductListItemContainer" name="upsell.product.addto" as="addto">
<block class="MagentoCatalogBlockProductProductListItemAddToCompare"
name="upsell.product.addto.compare" as="compare"
template="Magento_Catalog::product/list/addto/compare.phtml"/>
</block>
</block>
<block class="MagentoCatalogBlockProductViewAdditional" name="product.info.additional" as="product_additional_data"/>
</referenceContainer>
<referenceBlock name="product.info.addtocart">
<block class="MagentoCatalogBlockShortcutButtonsInCatalog" name="addtocart.shortcut.buttons"/>
</referenceBlock>
<referenceBlock name="product.info.addtocart.additional">
<block class="MagentoCatalogBlockShortcutButtonsInCatalog" name="addtocart.shortcut.buttons.additional"/>
</referenceBlock>
</body>
</page>
layout magento2.1.6 product-review
Review tab
is not shown when I change Catalog_Product_View from layout="1column" to layout="2columns-left".
Need help on how can I fix...
UPDATE:
This is my catalog_product_view.xml file
<?xml version="1.0"?>
<!--
/**
* Copyright © 2013-2017 Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<page layout="2columns-left" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="mage/gallery/gallery.css"/>
</head>
<update handle="catalog_product_opengraph" />
<update handle="page_calendar"/>
<body>
<attribute name="itemtype" value="http://schema.org/Product" />
<attribute name="itemscope" value="itemscope"/>
<referenceBlock name="head.components">
<block class="MagentoFrameworkViewElementJsComponents" name="checkout_page_head_components" template="Magento_Catalog::js/components.phtml"/>
</referenceBlock>
<referenceBlock name="page.main.title">
<arguments>
<argument name="css_class" xsi:type="string">product</argument>
<argument name="add_base_attribute" xsi:type="string">itemprop="name"</argument>
</arguments>
</referenceBlock>
<referenceBlock name="root">
<arguments>
<argument name="add_attribute" xsi:type="string">itemscope itemtype="http://schema.org/Product"</argument>
</arguments>
</referenceBlock>
<referenceContainer name="content">
<container name="product.info.main" htmlTag="div" htmlClass="product-info-main" before="-">
<container name="product.info.price" label="Product info auxiliary container" htmlTag="div" htmlClass="product-info-price" after="product.info.review">
<container name="product.info.stock.sku" label="Product auxiliary info" htmlTag="div" htmlClass="product-info-stock-sku">
<container name="product.info.type" before="-"/>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.sku" template="product/view/attribute.phtml" after="product.info.type">
<arguments>
<argument name="at_call" xsi:type="string">getSku</argument>
<argument name="at_code" xsi:type="string">sku</argument>
<argument name="css_class" xsi:type="string">sku</argument>
<argument name="at_label" xsi:type="string">default</argument>
<argument name="add_attribute" xsi:type="string">itemprop="sku"</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogBlockProductView" name="product.info.review" template="product/view/review.phtml" after="product.info.stock.sku" />
<block class="MagentoCatalogPricingRender" name="product.price.final" after="product.info.sku">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">final_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
</container>
<block class="MagentoCatalogPricingRender" name="product.price.tier" after="product.info.price">
<arguments>
<argument name="price_render" xsi:type="string">product.price.render.default</argument>
<argument name="price_type_code" xsi:type="string">tier_price</argument>
<argument name="zone" xsi:type="string">item_view</argument>
</arguments>
</block>
<container name="alert.urls" as="alert_urls" label="Alert Urls" after="product.price.tier"/>
<block class="MagentoCatalogBlockProductView" name="product.info" template="product/view/form.phtml" after="alert.urls">
<container name="product.info.form.content" as="product_info_form_content">
<block class="MagentoCatalogBlockProductView" name="product.info.addtocart" as="addtocart" template="product/view/addtocart.phtml"/>
</container>
<block class="MagentoFrameworkViewElementTemplate" name="product.info.form.options" as="options_container">
<block class="MagentoCatalogBlockProductView" name="product.info.options.wrapper" as="product_options_wrapper" template="product/view/options/wrapper.phtml">
<block class="MagentoCatalogBlockProductViewOptions" name="product.info.options" as="product_options" template="product/view/options.phtml">
<block class="MagentoCatalogBlockProductViewOptionsTypeDefaultType" as="default" template="product/view/options/type/default.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeText" as="text" template="product/view/options/type/text.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeFile" as="file" template="product/view/options/type/file.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeSelect" as="select" template="product/view/options/type/select.phtml"/>
<block class="MagentoCatalogBlockProductViewOptionsTypeDate" as="date" template="product/view/options/type/date.phtml"/>
</block>
<block class="MagentoFrameworkViewElementHtmlCalendar" name="html_calendar" as="html_calendar" template="Magento_Theme::js/calendar.phtml"/>
</block>
<block class="MagentoCatalogBlockProductView" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="product/view/options/wrapper/bottom.phtml">
<block class="MagentoCatalogBlockProductView" name="product.info.addtocart.additional" as="product.info.addtocart" template="product/view/addtocart.phtml"/>
</block>
</block>
</block>
<container name="product.info.extrahint" as="extrahint" label="Product View Extra Hint">
<container name="product.info.social" label="Product social links container" htmlTag="div" htmlClass="product-social-links" after="product.info.overview">
<block class="MagentoCatalogBlockProductView" name="product.info.addto" as="addto" template="product/view/addto.phtml">
<block class="MagentoCatalogBlockProductViewAddToCompare" name="view.addto.compare" after="view.addto.wishlist"
template="Magento_Catalog::product/view/addto/compare.phtml" />
</block>
<block class="MagentoCatalogBlockProductView" name="product.info.mailto" template="product/view/mailto.phtml"/>
</container>
</container>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.overview" template="product/view/attribute.phtml" group="detailed_info" after="product.info.extrahint">
<arguments>
<argument name="at_call" xsi:type="string">getShortDescription</argument>
<argument name="at_code" xsi:type="string">short_description</argument>
<argument name="css_class" xsi:type="string">overview</argument>
<argument name="at_label" translate="true" xsi:type="string">none</argument>
<argument name="title" translate="true" xsi:type="string">Overview</argument>
<argument name="add_attribute" xsi:type="string">itemprop="description"</argument>
</arguments>
</block>
</container>
<container name="product.info.media" htmlTag="div" htmlClass="product media" after="product.info.main">
<block class="MagentoCatalogBlockProductViewGallery" name="product.info.media.image" template="product/view/gallery.phtml"/>
</container>
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.details" template="product/view/details.phtml" after="product.info.media">
<block class="MagentoCatalogBlockProductViewDescription" name="product.info.description" template="product/view/attribute.phtml" group="detailed_info">
<arguments>
<argument name="at_call" xsi:type="string">getDescription</argument>
<argument name="at_code" xsi:type="string">description</argument>
<argument name="css_class" xsi:type="string">description</argument>
<argument name="at_label" xsi:type="string">none</argument>
<argument name="title" translate="true" xsi:type="string">Details</argument>
</arguments>
</block>
<block class="MagentoCatalogBlockProductViewAttributes" name="product.attributes" as="additional" template="product/view/attributes.phtml" group="detailed_info">
<arguments>
<argument translate="true" name="title" xsi:type="string">More Information</argument>
</arguments>
</block>
</block>
<block class="MagentoCookieBlockRequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
<arguments>
<argument name="triggers" xsi:type="array">
<item name="compareProductLink" xsi:type="string">.action.tocompare</item>
</argument>
</arguments>
</block>
</referenceContainer>
<referenceContainer name="content.aside">
<block class="MagentoCatalogBlockProductProductListRelated" name="catalog.product.related" template="Magento_Catalog::product/list/items.phtml">
<arguments>
<argument name="type" xsi:type="string">related</argument>
</arguments>
<block class="MagentoCatalogBlockProductProductListItemContainer" name="related.product.addto" as="addto">
<block class="MagentoCatalogBlockProductProductListItemAddToCompare"
name="related.product.addto.compare" as="compare"
template="Magento_Catalog::product/list/addto/compare.phtml"/>
</block>
</block>
<block class="MagentoCatalogBlockProductProductListUpsell" name="product.info.upsell" template="Magento_Catalog::product/list/items.phtml">
<arguments>
<argument name="type" xsi:type="string">upsell</argument>
</arguments>
<block class="MagentoCatalogBlockProductProductListItemContainer" name="upsell.product.addto" as="addto">
<block class="MagentoCatalogBlockProductProductListItemAddToCompare"
name="upsell.product.addto.compare" as="compare"
template="Magento_Catalog::product/list/addto/compare.phtml"/>
</block>
</block>
<block class="MagentoCatalogBlockProductViewAdditional" name="product.info.additional" as="product_additional_data"/>
</referenceContainer>
<referenceBlock name="product.info.addtocart">
<block class="MagentoCatalogBlockShortcutButtonsInCatalog" name="addtocart.shortcut.buttons"/>
</referenceBlock>
<referenceBlock name="product.info.addtocart.additional">
<block class="MagentoCatalogBlockShortcutButtonsInCatalog" name="addtocart.shortcut.buttons.additional"/>
</referenceBlock>
</body>
</page>
layout magento2.1.6 product-review
layout magento2.1.6 product-review
edited Feb 18 at 10:33
Khushbu
9010
9010
asked Jun 19 '17 at 11:47
kamalkamal
116113
116113
I set the layout to 1column. Reviews tab is still displayed. You might have removed the block with remove=true in your layout file.
– Sejal Shah
Jun 19 '17 at 12:19
NO im not remove any block..
– kamal
Jun 20 '17 at 4:33
Can you please post the code in catalog_product_view.xml?
– Sejal Shah
Jun 20 '17 at 5:31
Please see my Update..
– kamal
Jun 20 '17 at 5:52
add a comment |
I set the layout to 1column. Reviews tab is still displayed. You might have removed the block with remove=true in your layout file.
– Sejal Shah
Jun 19 '17 at 12:19
NO im not remove any block..
– kamal
Jun 20 '17 at 4:33
Can you please post the code in catalog_product_view.xml?
– Sejal Shah
Jun 20 '17 at 5:31
Please see my Update..
– kamal
Jun 20 '17 at 5:52
I set the layout to 1column. Reviews tab is still displayed. You might have removed the block with remove=true in your layout file.
– Sejal Shah
Jun 19 '17 at 12:19
I set the layout to 1column. Reviews tab is still displayed. You might have removed the block with remove=true in your layout file.
– Sejal Shah
Jun 19 '17 at 12:19
NO im not remove any block..
– kamal
Jun 20 '17 at 4:33
NO im not remove any block..
– kamal
Jun 20 '17 at 4:33
Can you please post the code in catalog_product_view.xml?
– Sejal Shah
Jun 20 '17 at 5:31
Can you please post the code in catalog_product_view.xml?
– Sejal Shah
Jun 20 '17 at 5:31
Please see my Update..
– kamal
Jun 20 '17 at 5:52
Please see my Update..
– kamal
Jun 20 '17 at 5:52
add a comment |
1 Answer
1
active
oldest
votes
Did you put the overridden file in the correct folder structure?
[theme_dir]/[Namespace_Module]/layout/override/base/[layout].xml.
When extending put it in [theme_dir]/[Namespace_Module]/layout/.
http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/layout-override.html
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f179708%2fmagento2-review-tab-not-showing-in-product-view-page-2-column-layout%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Did you put the overridden file in the correct folder structure?
[theme_dir]/[Namespace_Module]/layout/override/base/[layout].xml.
When extending put it in [theme_dir]/[Namespace_Module]/layout/.
http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/layout-override.html
add a comment |
Did you put the overridden file in the correct folder structure?
[theme_dir]/[Namespace_Module]/layout/override/base/[layout].xml.
When extending put it in [theme_dir]/[Namespace_Module]/layout/.
http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/layout-override.html
add a comment |
Did you put the overridden file in the correct folder structure?
[theme_dir]/[Namespace_Module]/layout/override/base/[layout].xml.
When extending put it in [theme_dir]/[Namespace_Module]/layout/.
http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/layout-override.html
Did you put the overridden file in the correct folder structure?
[theme_dir]/[Namespace_Module]/layout/override/base/[layout].xml.
When extending put it in [theme_dir]/[Namespace_Module]/layout/.
http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/layout-override.html
edited Sep 29 '17 at 1:36
Manoj Deswal
4,40591744
4,40591744
answered Sep 29 '17 at 1:08
Orcam RetubOrcam Retub
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f179708%2fmagento2-review-tab-not-showing-in-product-view-page-2-column-layout%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I set the layout to 1column. Reviews tab is still displayed. You might have removed the block with remove=true in your layout file.
– Sejal Shah
Jun 19 '17 at 12:19
NO im not remove any block..
– kamal
Jun 20 '17 at 4:33
Can you please post the code in catalog_product_view.xml?
– Sejal Shah
Jun 20 '17 at 5:31
Please see my Update..
– kamal
Jun 20 '17 at 5:52