Add custom block under long description (product.info.description)Add a child block to product.info.tabs description tabAdd custom block to admin order viewAdding custom block to catalog product viewHow to extend layout in Custom moduleMagento 2: Is there a way to add a child block when the parent isn't defined in a layout?Magento2, placing the custom block in header of order creation page in admin panelCustom attribute - Product pageMagento2 Override Block - Invalid template file problemHow add div after image block in Magento 2?Magento 2 Add block before another block using XML

Why should password hash verification be time constant?

Can 'sudo apt-get remove [write]' destroy my Ubuntu?

Company stopped paying my salary. What are my options?

Further factorisation of a difference of cubes?

How are one-time password generators like Google Authenticator different from having two passwords?

Succinct and gender-neutral Russian word for "writer"

Is every story set in the future "science fiction"?

What does formal training in a field mean?

Can more than one creature benefit from multiple Hunter's Mark spells cast on the same target?

Extending Kan fibrations, without using minimal fibrations

How to evaluate sum with one million summands?

We are two immediate neighbors who forged our own powers to form concatenated relationship. Who are we?

What does this quote in Small Gods refer to?

Are there variations of the regular runtimes of the Big-O-Notation?

Is there an application which does HTTP PUT?

When do you stop "pushing" a book?

Was there a contingency plan in place if Little Boy failed to detonate?

Why did they go to Dragonstone?

Two researchers want to work on the same extension to my paper. Who to help?

Why is it wrong to *implement* myself a known, published, widely believed to be secure crypto algorithm?

How to handle DM constantly stealing everything from sleeping characters?

Removing all characters except digits from clipboard

Pre-1993 comic in which Wolverine's claws were turned to rubber?

Should I pay on student loans in deferment or continue to snowball other debts?



Add custom block under long description (product.info.description)


Add a child block to product.info.tabs description tabAdd custom block to admin order viewAdding custom block to catalog product viewHow to extend layout in Custom moduleMagento 2: Is there a way to add a child block when the parent isn't defined in a layout?Magento2, placing the custom block in header of order creation page in admin panelCustom attribute - Product pageMagento2 Override Block - Invalid template file problemHow add div after image block in Magento 2?Magento 2 Add block before another block using XML






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I'd like to add a custom block in description tab just after long description field.



I Tried



<referenceBlock name="product.info.description">
<block class="MagentoCatalogBlockProductViewDescription" name="product.subdescription" template="product/view/subdescription.phtml" />
</referenceBlock>


but it did not work.










share|improve this question




























    1















    I'd like to add a custom block in description tab just after long description field.



    I Tried



    <referenceBlock name="product.info.description">
    <block class="MagentoCatalogBlockProductViewDescription" name="product.subdescription" template="product/view/subdescription.phtml" />
    </referenceBlock>


    but it did not work.










    share|improve this question
























      1












      1








      1








      I'd like to add a custom block in description tab just after long description field.



      I Tried



      <referenceBlock name="product.info.description">
      <block class="MagentoCatalogBlockProductViewDescription" name="product.subdescription" template="product/view/subdescription.phtml" />
      </referenceBlock>


      but it did not work.










      share|improve this question














      I'd like to add a custom block in description tab just after long description field.



      I Tried



      <referenceBlock name="product.info.description">
      <block class="MagentoCatalogBlockProductViewDescription" name="product.subdescription" template="product/view/subdescription.phtml" />
      </referenceBlock>


      but it did not work.







      layout xml magento2.3.1






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked May 6 at 21:04









      domfittydomfitty

      62111




      62111




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Try to change template name like below: (change Vendor_Module according to your custom module)



          <referenceBlock name="product.info.details">
          <block class="MagentoCatalogBlockProductView" name="product.subdescription" template="Vendor_Module::product/view/subdescription.phtml" group="detailed_info"/>
          </referenceBlock>





          share|improve this answer























          • Tried this, but there's an exception 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Catalog::product/view/subdescription.phtml' in module: 'Magento_Catalog' block's name: 'product.subdescription'

            – domfitty
            2 days ago












          • This is subdescription.phtml content <?php $_helper = $this->helper('MagentoCatalogHelperOutput'); $_product = $block->getProduct(); ?> <h1>SUBDESCRIZIONE</h1> <?php if ($_product->getData('downloadable')): ?> <div class="product-collateral-itunes" id="downloadable" > <div class="innerdownloadable"><?php echo $_product->getData('downloadable') ?></div> </div> <?php endif; ?>

            – domfitty
            2 days ago











          • @domfitty is your template stored like this app/code/Vendor/Module/view/frontend/templates/product/view/subdescription.phtml ?

            – magefms
            2 days ago












          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
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f273577%2fadd-custom-block-under-long-description-product-info-description%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









          0














          Try to change template name like below: (change Vendor_Module according to your custom module)



          <referenceBlock name="product.info.details">
          <block class="MagentoCatalogBlockProductView" name="product.subdescription" template="Vendor_Module::product/view/subdescription.phtml" group="detailed_info"/>
          </referenceBlock>





          share|improve this answer























          • Tried this, but there's an exception 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Catalog::product/view/subdescription.phtml' in module: 'Magento_Catalog' block's name: 'product.subdescription'

            – domfitty
            2 days ago












          • This is subdescription.phtml content <?php $_helper = $this->helper('MagentoCatalogHelperOutput'); $_product = $block->getProduct(); ?> <h1>SUBDESCRIZIONE</h1> <?php if ($_product->getData('downloadable')): ?> <div class="product-collateral-itunes" id="downloadable" > <div class="innerdownloadable"><?php echo $_product->getData('downloadable') ?></div> </div> <?php endif; ?>

            – domfitty
            2 days ago











          • @domfitty is your template stored like this app/code/Vendor/Module/view/frontend/templates/product/view/subdescription.phtml ?

            – magefms
            2 days ago
















          0














          Try to change template name like below: (change Vendor_Module according to your custom module)



          <referenceBlock name="product.info.details">
          <block class="MagentoCatalogBlockProductView" name="product.subdescription" template="Vendor_Module::product/view/subdescription.phtml" group="detailed_info"/>
          </referenceBlock>





          share|improve this answer























          • Tried this, but there's an exception 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Catalog::product/view/subdescription.phtml' in module: 'Magento_Catalog' block's name: 'product.subdescription'

            – domfitty
            2 days ago












          • This is subdescription.phtml content <?php $_helper = $this->helper('MagentoCatalogHelperOutput'); $_product = $block->getProduct(); ?> <h1>SUBDESCRIZIONE</h1> <?php if ($_product->getData('downloadable')): ?> <div class="product-collateral-itunes" id="downloadable" > <div class="innerdownloadable"><?php echo $_product->getData('downloadable') ?></div> </div> <?php endif; ?>

            – domfitty
            2 days ago











          • @domfitty is your template stored like this app/code/Vendor/Module/view/frontend/templates/product/view/subdescription.phtml ?

            – magefms
            2 days ago














          0












          0








          0







          Try to change template name like below: (change Vendor_Module according to your custom module)



          <referenceBlock name="product.info.details">
          <block class="MagentoCatalogBlockProductView" name="product.subdescription" template="Vendor_Module::product/view/subdescription.phtml" group="detailed_info"/>
          </referenceBlock>





          share|improve this answer













          Try to change template name like below: (change Vendor_Module according to your custom module)



          <referenceBlock name="product.info.details">
          <block class="MagentoCatalogBlockProductView" name="product.subdescription" template="Vendor_Module::product/view/subdescription.phtml" group="detailed_info"/>
          </referenceBlock>






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered May 6 at 22:02









          magefmsmagefms

          3,0402630




          3,0402630












          • Tried this, but there's an exception 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Catalog::product/view/subdescription.phtml' in module: 'Magento_Catalog' block's name: 'product.subdescription'

            – domfitty
            2 days ago












          • This is subdescription.phtml content <?php $_helper = $this->helper('MagentoCatalogHelperOutput'); $_product = $block->getProduct(); ?> <h1>SUBDESCRIZIONE</h1> <?php if ($_product->getData('downloadable')): ?> <div class="product-collateral-itunes" id="downloadable" > <div class="innerdownloadable"><?php echo $_product->getData('downloadable') ?></div> </div> <?php endif; ?>

            – domfitty
            2 days ago











          • @domfitty is your template stored like this app/code/Vendor/Module/view/frontend/templates/product/view/subdescription.phtml ?

            – magefms
            2 days ago


















          • Tried this, but there's an exception 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Catalog::product/view/subdescription.phtml' in module: 'Magento_Catalog' block's name: 'product.subdescription'

            – domfitty
            2 days ago












          • This is subdescription.phtml content <?php $_helper = $this->helper('MagentoCatalogHelperOutput'); $_product = $block->getProduct(); ?> <h1>SUBDESCRIZIONE</h1> <?php if ($_product->getData('downloadable')): ?> <div class="product-collateral-itunes" id="downloadable" > <div class="innerdownloadable"><?php echo $_product->getData('downloadable') ?></div> </div> <?php endif; ?>

            – domfitty
            2 days ago











          • @domfitty is your template stored like this app/code/Vendor/Module/view/frontend/templates/product/view/subdescription.phtml ?

            – magefms
            2 days ago

















          Tried this, but there's an exception 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Catalog::product/view/subdescription.phtml' in module: 'Magento_Catalog' block's name: 'product.subdescription'

          – domfitty
          2 days ago






          Tried this, but there's an exception 1 exception(s): Exception #0 (MagentoFrameworkExceptionValidatorException): Invalid template file: 'Magento_Catalog::product/view/subdescription.phtml' in module: 'Magento_Catalog' block's name: 'product.subdescription'

          – domfitty
          2 days ago














          This is subdescription.phtml content <?php $_helper = $this->helper('MagentoCatalogHelperOutput'); $_product = $block->getProduct(); ?> <h1>SUBDESCRIZIONE</h1> <?php if ($_product->getData('downloadable')): ?> <div class="product-collateral-itunes" id="downloadable" > <div class="innerdownloadable"><?php echo $_product->getData('downloadable') ?></div> </div> <?php endif; ?>

          – domfitty
          2 days ago





          This is subdescription.phtml content <?php $_helper = $this->helper('MagentoCatalogHelperOutput'); $_product = $block->getProduct(); ?> <h1>SUBDESCRIZIONE</h1> <?php if ($_product->getData('downloadable')): ?> <div class="product-collateral-itunes" id="downloadable" > <div class="innerdownloadable"><?php echo $_product->getData('downloadable') ?></div> </div> <?php endif; ?>

          – domfitty
          2 days ago













          @domfitty is your template stored like this app/code/Vendor/Module/view/frontend/templates/product/view/subdescription.phtml ?

          – magefms
          2 days ago






          @domfitty is your template stored like this app/code/Vendor/Module/view/frontend/templates/product/view/subdescription.phtml ?

          – magefms
          2 days ago


















          draft saved

          draft discarded
















































          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f273577%2fadd-custom-block-under-long-description-product-info-description%23new-answer', 'question_page');

          );

          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







          Popular posts from this blog

          Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

          Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

          Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form