1

I want to get the wishlist collection for the customer.

$this->wishlist->create()->loadByCustomerId($this->session->create()->getCustomerId(), true)->getItemCollection();

How to add out of stock products with this collection whether the display out of stock product configuration is enabled or not.

  • If you can see your collection data it's already returned out of stock product. – Sweety Masmiya Jul 14 at 8:31
  • Its returns collection based upon the display out of stock admin configuration – Mano M Jul 15 at 4:06
  • No, I am not enable out stock product enable setting still above collection display out of stock product. – Sweety Masmiya Jul 15 at 4:08
  • No. ........... – Mano M Jul 15 at 4:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.