Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Minor documentation changes for product reviews #9315

Merged
merged 1 commit into from
Apr 10, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/book/products/product_reviews.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Product Reviews
===============

Product Reviews are a marketing tool that let your customers to give opinions about the products they buy in your shop.
Product Reviews are a marketing tool that let your customers give opinions about the products they buy in your shop.
They have a ``rating`` and ``comment``.

Rating
Expand Down Expand Up @@ -36,7 +36,7 @@ How is the average rating calculated?
The average rating is updated by
the `AverageRatingUpdater <https://github.com/Sylius/Sylius/blob/master/src/Sylius/Bundle/ReviewBundle/Updater/AverageRatingUpdater.php>`_ service.

It has inside the `AverageRatingCalculator <https://github.com/Sylius/Sylius/blob/master/src/Sylius/Component/Review/Calculator/AverageRatingCalculator.php>`_,
It wraps the `AverageRatingCalculator <https://github.com/Sylius/Sylius/blob/master/src/Sylius/Component/Review/Calculator/AverageRatingCalculator.php>`_,
and uses it inside the ``updateFromReview`` method.

How to add a ProductReview programmatically?
Expand Down