forked from vuestorefront/vue-storefront
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@NataliaTepluhina please take a look - I’ve added the Reviews docs
- Loading branch information
Showing
3 changed files
with
54 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Product Reviews | ||
|
||
Starting with 1.4.0 release Vue Storefront is supporting Magento2 product reviews. Unfortunatelly Magento2 REST API doesn't contain any Reviews-related endpoints, so to make it work You need to install [additional Magento2 module](https://github.com/DivanteLtd/magento2-review-api). | ||
|
||
Installation steps (in Your Magento2 directory): | ||
|
||
```bash | ||
config repositories.divante vcs https://github.com/DivanteLtd/magento2-review-api.git | ||
composer require divante/magento2-review-api:dev-master | ||
php bin/magento setup:upgrade | ||
``` | ||
|
||
You should be aware that Reviews are stored in the Elastic Search. To display Reviews correctly You need to update Your [mage2vuestorefront](https://github.com/DivanteLtd/mage2vuestorefront/) and run the Reviews sync: | ||
|
||
```bash | ||
node --harmony cli.js reviews | ||
``` |