I'm trying to remove page title added from Magento\Downloadable\Controller\Customer\Products::Execute

public function execute()
        if ($block = $this->_view->getLayout()->getBlock('downloadable_customer_products_list')) {
        $this->_view->getPage()->getConfig()->getTitle()->set(__('My Downloadable Products'));

I've tried to add below piece of code into catalog_product_view_type_downlodable.xml but nothing seems to be working.

<referenceBlock name="page.main.title" remove="true" />

Any ideas ?!


put that code in downloadable_customer_products.xml and it will work, please find attached screenshot i have tested in my local.frontend


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.