2 added 104 characters in body
source | link

Correct What is the correct way to modify Product Page

I have a 3rd Party theme (Ves-Fasony) installed and I need to remove the following in Product Page:

  • Breadcrumps
  • Review
  • Add to Wish List
  • Add to Compare
  • Email

enter image description here

I removed the 「Add to Wish List」and「Review」by disabling it in Admin Panel.But I am not sure about others, I tried to remove the breadcrumps by doing the following:

  1. I created a layout folder under the following directory

    [magento_dir]/app/design/frontend/[vendor_name]/[theme_name]/

  2. Then I under layout folder, I created default.xml which has the following code

    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    /**
     * Copyright © 2016 Magento. All rights reserved.
     * See COPYING.txt for license details.
     */
    -->
    
        <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="page.top" remove="true" />
    </body>
    

I am certainly wrong because it is not working. I am a newbie and I am really having a hard time understanding Magento. Please tell me where I went wrong and what should I do to remove those.

Correct way to modify Product Page

I have a 3rd Party theme (Ves-Fasony) installed and I need to remove the following in Product Page:

  • Breadcrumps
  • Review
  • Add to Wish List
  • Add to Compare
  • Email

enter image description here

I tried to remove the breadcrumps by doing the following:

  1. I created a layout folder under the following directory

    [magento_dir]/app/design/frontend/[vendor_name]/[theme_name]/

  2. Then I under layout folder, I created default.xml which has the following code

    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    /**
     * Copyright © 2016 Magento. All rights reserved.
     * See COPYING.txt for license details.
     */
    -->
    
        <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="page.top" remove="true" />
    </body>
    

I am certainly wrong because it is not working. I am a newbie and I am really having a hard time understanding Magento. Please tell me where I went wrong and what should I do to remove those.

What is the correct way to modify Product Page

I have a 3rd Party theme (Ves-Fasony) installed and I need to remove the following in Product Page:

  • Breadcrumps
  • Review
  • Add to Wish List
  • Add to Compare
  • Email

enter image description here

I removed the 「Add to Wish List」and「Review」by disabling it in Admin Panel.But I am not sure about others, I tried to remove the breadcrumps by doing the following:

  1. I created a layout folder under the following directory

    [magento_dir]/app/design/frontend/[vendor_name]/[theme_name]/

  2. Then under layout folder, I created default.xml which has the following code

    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    /**
     * Copyright © 2016 Magento. All rights reserved.
     * See COPYING.txt for license details.
     */
    -->
    
        <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="page.top" remove="true" />
    </body>
    

I am certainly wrong because it is not working. I am a newbie and I am really having a hard time understanding Magento. Please tell me where I went wrong and what should I do to remove those.

1
source | link

Correct way to modify Product Page

I have a 3rd Party theme (Ves-Fasony) installed and I need to remove the following in Product Page:

  • Breadcrumps
  • Review
  • Add to Wish List
  • Add to Compare
  • Email

enter image description here

I tried to remove the breadcrumps by doing the following:

  1. I created a layout folder under the following directory

    [magento_dir]/app/design/frontend/[vendor_name]/[theme_name]/

  2. Then I under layout folder, I created default.xml which has the following code

    <?xml version="1.0" encoding="UTF-8"?>
    <!--
    /**
     * Copyright © 2016 Magento. All rights reserved.
     * See COPYING.txt for license details.
     */
    -->
    
        <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="page.top" remove="true" />
    </body>
    

I am certainly wrong because it is not working. I am a newbie and I am really having a hard time understanding Magento. Please tell me where I went wrong and what should I do to remove those.