I want to add Enable/disable functionality for a referenceBlock
. <referenceBlock name="product_recommendations_pdp" remove="false" />
The referenceBlock
can be remove="true"
or remove="false"
directly form admin-panel for just selecting.
referenceBlock
is located at app/design/frontend/ProjectName/store/Magento_ProductRecommendationsLayout/layout/catalog_product_view.xml