SyliusWishlistPlugin
SyliusWishlistPlugin copied to clipboard
Fix: Implement and optimize wishlist product selection functionality
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
AddProductToSelectedWishlistAPI endpoint - 🛠️ Fixed parameter handling for
productIdin 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:
- Create multiple wishlists
- Try to add the same product to different wishlists
- Verify that proper error messages are shown when attempting to add duplicates
- Test the API endpoints with both path and body parameters