You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for vendor reviews (written about a vendor).
Or it's ll better to have aggregated reviews, which will calculate the vendor review based on the reviews of its products. The list of reviews will be displayed on the vendor page, which will be created by aggregating the reviews from all the vendor products sorted by date.
Hey @AndreiMaz , can we discuss about it a bit more. I am a .NET full stack dev and interested to collaborate to this open source project. If its ok for you, I request you to arrange a call and give some knowledge transfer about this project (a 30 min call will be really great). If you are interested, just say hi to this message and I will share my zoom Id or something to connect. Thanks
nirzaf
added a commit
to nirzaf/nopCommerce
that referenced
this issue
Aug 13, 2024
FixesnopSolutions#7244
Add support for vendor reviews, both written about a vendor and aggregated from product reviews.
* **VendorReview Class**: Add `VendorReview` class in `src/Libraries/Nop.Core/Domain/Vendors/VendorReview.cs` to handle vendor reviews with properties for `VendorId`, `CustomerId`, `Rating`, `ReviewText`, `IsApproved`, and `CreatedOnUtc`.
* **Vendor Class**: Update `Vendor` class in `src/Libraries/Nop.Core/Domain/Vendors/Vendor.cs` to include a list of `VendorReview` and a method to calculate the average rating from the reviews.
* **VendorController**: Update `VendorController` in `src/Presentation/Nop.Web/Areas/Admin/Controllers/VendorController.cs` to handle vendor reviews.
- Add actions to handle vendor reviews, such as `VendorReviewsSelect`, `VendorReviewAdd`, and `VendorReviewDelete`.
- Update the `Edit` action to include vendor reviews in the model.
* **Caching**: Add `VendorReviewCacheEventConsumer` class in `src/Libraries/Nop.Services/Catalog/Caching/VendorReviewCacheEventConsumer.cs` to handle caching for vendor reviews.
Add support for vendor reviews (written about a vendor).
Or it's ll better to have aggregated reviews, which will calculate the vendor review based on the reviews of its products. The list of reviews will be displayed on the vendor page, which will be created by aggregating the reviews from all the vendor products sorted by date.
Also see https://www.nopcommerce.com/en/boards/topic/38639/vendor-reviews
The text was updated successfully, but these errors were encountered: