What's up guys, i know this is some kind of basic question, but here's the thing, i can't change page layout from catalog_product_view.xml
to 1column.
I've try using new custom theme, and EVERY content in that custom them is worked perfectly, but not with the layout="1column"
in catalog_product_view.xml
Here is it:
C:\xampp\htdocs\my-project\app\design\frontend\Gssi\jewellery\Magento_Catalog\layout\catalog_product_view.xml
<?xml version="1.0"?>
<page layout="1column" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<!-- create new custom tab in product detail page -->
<referenceBlock name="product.info.details">
<block class="Magento\Catalog\Block\Product\View" name="custom.tab" as="custom_tab" template="product/view/custom_tab.phtml" group="detailed_info" >
<arguments>
<argument translate="true" name="title" xsi:type="string">Custom Tab</argument>
</arguments>
</block>
</referenceBlock>
<move element="product.info.details" destination="product.info.extrahint"></move>
</body>
</page>
You see, every content in this file is worked. the referenceBlock name="product.info.details"
work, the move element="product.info.details"
work. But not with the layout="1column"
.
Are there something in admin page that i need to check? I've searching everywhere but can't find anything ..
Any idea? Please help, thanks 🙂
Best Answer
Make sure you have registered and selected