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

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

          Circuit construction for execution of conditional statements using least significant bitHow are two different registers being used as “control”?How exactly is the stated composite state of the two registers being produced using the $R_zz$ controlled rotations?Efficiently performing controlled rotations in HHLWould this quantum algorithm implementation work?How to prepare a superposed states of odd integers from $1$ to $sqrtN$?Why is this implementation of the order finding algorithm not working?Circuit construction for Hamiltonian simulationHow can I invert the least significant bit of a certain term of a superposed state?Implementing an oracleImplementing a controlled sum operation

          Magento 2 “No Payment Methods” in Admin New OrderHow to integrate Paypal Express Checkout with the Magento APIMagento 1.5 - Sales > Order > edit order and shipping methods disappearAuto Invoice Check/Money Order Payment methodAdd more simple payment methods?Shipping methods not showingWhat should I do to change payment methods if changing the configuration has no effects?1.9 - No Payment Methods showing upMy Payment Methods not Showing for downloadable/virtual product when checkout?Magento2 API to access internal payment methodHow to call an existing payment methods in the registration form?