...
This module adds improvements to the built-in Magento 2 reviews functionality.
Table of Contents |
---|
Installation
Info |
---|
This module is optional |
...
Settings:
Configurable Products
OptionField | ValueOptions | Comment |
---|---|---|
Allow attaching reviews to simple product | Yes/No | When enabled it will be possible to add review to a child product of a configurable. |
Show variant on configurable product review | Yes/No | When enabled it will show from which specific variant (simple product) review comes from on configurable product view reviews list. |
Allow reviewing simple products from configurable product view | Yes/No | When enabled it will add swatches in configurable product review form, allowing to review specific product variant directly from configurable product view. |
Grouped Products
OptionField | ValueOptions | Comment |
---|---|---|
Show Reviews From Assigned Products | Yes/No | When enabled reviews from Assigned products will be visible on a grouped. |
Share Between Stores
OptionField | ValueOptions | Comment |
---|---|---|
Is Enabled | Yes/No | When enabled reviews added on the different store view will be visible together with reviews from current store. |
Show reviews from additional stores | Select stores | Select stores from which reviews will be visible together with reviews from current store |
...
swatch-renderer-mixin.js takes care that swatches are properly displayed in the review form and do not interfere with other swatches (on tiles or buybox). It add adds an additional optional isInReviewForm
. which is set to true when if (!!this.element.parents('.cs-reviews__form').length)
The mixin prevents default swatches actions (except self and input update) if _OnClick
or _OnChange
methods are triggered by swatches in review-form.