2

I am trying to insert a Catalog Category Link widget in my Home Page. But it is not working. I am sharing the code below.

{{widget type="Magento\Catalog\Block\Category\Widget\Link" template="category/widget/link/link_block.phtml" id_path="category/9"}}
3
  • How is it not working? You get an error? You don't see anything? Commented Dec 24, 2016 at 12:44
  • Thanks @Echron for your reply. It is displaying nothing.
    – abu abu
    Commented Dec 24, 2016 at 12:49
  • Can you add the property anchor_text: {{widget type="Magento\Catalog\Block\Category\Widget\Link" anchor_text="Some text here" template="category/widget/link/link_block.phtml" id_path="category/9"}} I guess it needs some text to render Commented Dec 24, 2016 at 12:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.