schafferer/product-review-bundle
Requires
- chameleon-system/pkgshoparticlereview: ~6.1.0
- schafferer/comment-bundle: ~1.1.0
README
Bundle includes custom changes for review and comment module.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require "product-review-bundle": "~6.0"
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation. Be sure to adjust the version information "~6.0" to the actual version you need.
Step 2: Enable the Bundle
Then, enable the bundle by adding the following line in the app/AppKernel.php
file of your project:
<?php
// app/AppKernel.php
// ...
public function registerBundles()
{
$bundles = array(
// ...
new \Schafferer\ProductReviewBundle\SchaffererProductReviewBundle()
);
}
Step 3: Snippet Chain
The bundle has its own snippets. To use them add following directory to your theme snippet chain after the shop standard theme in CMS
../../../../vendor/schafferer/product-review-bundle/Resources/views
Step 4: Change/Add Review Module Extension
Change the extension for the customer MTPkgShopArticleReview module to MTPkgShopProductReview. If no customer module exists create a new one.