0

I want to get my wishlist product list block actually available in wishlist landing page,

enter image description here

How to get this wishlist block in my custom phtml file?

1 Answer 1

0

You can try for this link

Or

also try for this

4
  • I created module using this rakeshjesadiya.com/… how to get the block into my phtml file
    – zus
    Mar 10, 2021 at 10:16
  • <?php echo $this->getLayout()->createBlock("Magento\Framework\View\Element\Template")->setTemplate("My_Vendor::wishlistitems.phtml")->toHtml(); ?>
    – zus
    Mar 10, 2021 at 10:17
  • The responce not return
    – zus
    Mar 10, 2021 at 10:19
  • magento.stackexchange.com/questions/121364/… Check this link . I hope it helps you.
    – smruti
    Mar 10, 2021 at 13:07

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.