[v1.2.9] How to fix the issue cannot add the child products and quantity to wishlist?

Created by Rosa Truong, Modified on Wed, 19 May, 2021 at 10:48 AM by Rosa Truong


I have installed version 1.2.9 on M2.4.0. However, the child products and quantity do not add to the wishlist. It always adds configurable products only.


The issue happens with the configurable products dropdown type.

The function to add the wishlist does just work with swatch type, not swatch type at this time.

To fix it, we would like to give you a hot-fix solution to add the code to the theme on site.

For example, we have solved with the 3rd-party theme Rosemary


Please check and apply the solution with the current theme to your site.

If you need any further assistance, please feel free to contact us.

We're more than happy to support you.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article