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
You are adding a child node to the product.info block using the XML:
How will this block be rendered?
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
How will this block be rendered?
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