When a user clicks "Add to Wishlist" on a product that uses swatching, it saves the configurable product ID, not the simple product id. How can I get it to save the simple product id in the wish list tables?
I have looked at several other questions on Stack Exchange and none of them appear to address this issue:
I think most of these solutions are if the options are not set as swatches.
I would appreciate any suggestions. Thanks.
Question: What changes in the code do I need to make in order to save the simple product id to the wish list instead of the configurable product id?