How do I add to wishlist programatically?
-
30-10-2019 - |
Question
I have scoured the web yet I am no nearer to understanding how I add a product to the wishlist in code.
I have a product ID and a customer object in my controller and I just want to be able to add that product to that customer's wishlist. It is not rocket science I am after, just something that should be doable.
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange