Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • In GetChild and SetData first letter must be in lowercase Commented Jun 17, 2016 at 9:41
  • $block->getChild('search')->setData('my_arg', $_code); $block->getChildHtml('search'); isn't working either, getting the error Call to a member function setData() on null Commented Jun 17, 2016 at 10:24
  • You dont have block with name "search". Try this $block->getChild('catalogsearch_advanced_search') Commented Jun 17, 2016 at 10:36
  • I tried that too, same error. Commented Jun 17, 2016 at 11:23
  • Maybe this answer will be usefull. Commented Jun 18, 2016 at 11:00