title | issue | author | author_email | author_github |
---|---|---|---|---|
Product review loader core |
NEXT-00000 |
Benjamin Wittwer |
dev@a-k-f.de |
akf-bw |
- Changed
ProductDescriptionReviewsCmsElementResolver
to use theAbstractProductReviewLoader
and removed the duplicate functions - Changed
ProductDescriptionReviewsCmsElementResolver
to now execute the CoreProductReviewsWidgetLoadedHook
hook - Added
AbstractProductReviewLoader
to allow overwriting product review load logic - Added
ProductReviewLoader
based on the StorefrontProductReviewLoader
- Changed
ProductReviewResult
to include thetotalNativeReviews
field - Added
ProductReviewsWidgetLoadedHook
based on the StorefrontProductReviewsWidgetLoadedHook
- Added
ProductReviewsLoadedEvent
based on the StorefrontProductReviewsLoadedEvent
- Added
Migration1711461585AddDefaultSettingConfigValueForReviewListingPerPage
to include the new config option - Added
core.listing.reviewsPerPage
to configlisting
with default value10
- Changed
ProductDescriptionReviewsTypeDataResolverTest
to match Core changes - Added
ProductReviewLoaderTest
to match core changes
- Changed
CmsController
to useAbstractProductReviewLoader
- Changed
ProductController
to useAbstractProductReviewLoader
- Changed
ProductReviewLoader
to@deprecated
and copy logic from CoreProductReviewLoader
- Changed
ProductReviewsLoadedEvent
to@deprecated
- Changed
ProductReviewsWidgetLoadedHook
to@deprecated
- Changed
ReviewLoaderResult
to@deprecated
- Changed
review.html.twig
template to include the newcore.listing.reviewsPerPage
to config - Changed
review.html.twig
template to include missingnativeReviewsCount
andforeignReviewsCount
variables - Changed
review.html.twig
by including additionalcomponent_review_list_action_filters
andcomponent_review_list_counter
blocks - Changed
CmsControllerTest
to match Storefront changes - Changed
ProductControllerTest
to match Storefront changes - Changed
ProductReviewLoaderTest
to match Storefront changes