Skip to content

ProductReviewsSettings

The ProductReviewsSettings object represents settings for product review in the storefront.

classDiagram
  direction LR
  class ProductReviewsSettings{
    bool isReviewingEnabled
    bool canAnyoneReview
  }

Properties

Attribute name Type Description
isReviewingEnabled bool Returns true if reviewing is enabled.
canAnyoneReview bool Returns true if non logged users are allowed to review a product.

Examples

isReviewingEnabled property

{{ productReviewsSettings.isReviewingEnabled }}
true

canAnyoneReview property

{{ productReviewsSettings.canAnyoneReview }}
true