Question

I have used

$block->getChildBlock("")->setData("");
echo $block->getChildHtml('productlist', false);

in my phtml file in a for each loop but it only initializa once in a loop and remaining same in whole loop execution. how to setData differently with each loop call? Thank you.

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top