SyliusWishlistPlugin icon indicating copy to clipboard operation
SyliusWishlistPlugin copied to clipboard

Fix: Implement and optimize wishlist product selection functionality

Open ahmedazizabbassi opened this issue 1 year ago • 0 comments

Wishlist Product Selection Improvements

This PR addresses issue #280 by enhancing the wishlist selection functionality and fixing various API implementation issues.

Key Changes:

  • ✅ Added support for specifying the selected wishlist when bookmarking products
  • 🐛 Fixed duplicate product addition to wishlists
  • 🔄 Resolved multiple issues with the AddProductToSelectedWishlist API endpoint
  • 🛠️ Fixed parameter handling for productId in both path and request body
  • 📝 Updated API documentation and Swagger configuration
  • ⚠️ Improved error handling for product conflicts

All commits focus on stabilizing the wishlist selection functionality while ensuring proper API documentation. The most recent changes update the API documentation and clean up configuration files.

Testing Instructions:

  1. Create multiple wishlists
  2. Try to add the same product to different wishlists
  3. Verify that proper error messages are shown when attempting to add duplicates
  4. Test the API endpoints with both path and body parameters

ahmedazizabbassi avatar Mar 19 '25 13:03 ahmedazizabbassi