Skip to content

Conversation

@Shreyansh284
Copy link

🧩 Summary

This PR adds backend support for renaming custom wishlists in nopCommerce, addressing issue #7907

⚙️ Details

Added new service method EditCustomWishlistAsync(int itemId, CustomWishlist wishlist) in CustomWishlistService.

Fetches the wishlist by ID and updates its details.

Added new controller action RenameWishlist in ShoppingCartController.

Handles AJAX requests for wishlist rename operations.

Returns standardized JSON response.

Added route mapping:

endpointRouteBuilder.MapControllerRoute(
name: NopRouteNames.Ajax.RENAME_CUSTOM_WISHLIST,
pattern: "renamecustomwishlist",
defaults: new { controller = "ShoppingCart", action = "RenameWishlist" }
);

Logic and flow align with the existing AddWishlist feature.

@Shreyansh284
Copy link
Author

@AndreiMaz
Hi, thanks for reviewing!
Just checking if I can adjust this PR or move this logic
Please let me know the recommended direction — happy to make changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants