Page 1 of 1

You are adding a child node to the product.info block using the XML: How will this block be rendered?

Posted: Sat Aug 20, 2022 7:54 am
by answerhappygod
You are adding a child node to the product.info block using the XML:

How will this block be rendered?
You Are Adding  1
You Are Adding 1 (12.15 KiB) Viewed 149 times
A. Child block nodes are automatically rendered as HTML
B. By calling $block->getChildHtml('mynewblock') in the parent block's template
C. The layout is invalid since block elements cannot be nested
D. Automatically if the block class Custom implements the _toHtml method