Skip to content

Return rating title in ProductReviews service #464

@magento-engcom-team

Description

@magento-engcom-team

In the current implementation, we return rating_id and rating_value. 

It's necessary to return the rating title as well to be used on the storefront. 

repo: https://github.com/magento/storefront-product-reviews-ce/

Extend Rating message with "name" value and use in \Magento\ReviewsStorefront\Model\ProductReviewsServer::getProductReviews method

message Rating {
  string rating_id = 1;
  string value = 2; 
  string name = 3; // new field
}

 

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions