In vendor\magento\module-catalog\view\frontend\templates\product\list.phtml, there is a code line <?php echo $block->getAdditionalHtml() ?>. From where did get this data?


You can set an additional html for a block with the $block->setAdditionalHtml("<div>test</div>") call.
For now, the core never uses this possibility.

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.