scandipwa / reviews-graphql

scandipwa/reviews-graphql

N/A

magento2-module 2.4.6-2.4.9 Compatible Based on composer requirements only QA: failed OSL-3.0

ScandiPWA_ReviewsGraphQl

ReviewsGraphQl provides basic types and resolvers for adding and displaying customer reviews.

Module also adds new fields to ProductInterface:

  • review_summary which includes information about product review summary:

    • rating_summary,

    • review_count.

  • reviews - a list of product reviews containing following review information:

    • review_id,

    • entity_id,

    • entity_code,

    • entity_pk_value,

    • status_id,

    • store_id,

    • customer_id,

    • nickname,

    • title,

    • detail_id,

    • detail,

    • created_at,

    • rating_votes.

addProductReview

mutation AddProductReview($productReviewItem: ProductReviewInput!) {
    addProductReview(productReviewItem: $productReviewItem) {
        review_id
        entity_id
        entity_pk_value
        status_id
        store_id
        customer_id
        nickname
        title
        detail
        created_at
    }
}
{
    "productReviewItem": {
        "nickname": "John",
        "title": "Review Title",
        "detail": "Review Detail",
        "product_sku": "n31191497",
        "rating_data":[
            {
              "rating_id": 1,
              "option_id": 4
            },{
              "rating_id": 2,
              "option_id": 8
            }
        ]
    }
}

getRatings

query GetRatings {
    getRatings {
        rating_id
        rating_code
        rating_options {
            option_id
            value
        }
    }
}

No changelog yet

The vendor hasn't published a changelog. Tagged releases appear in the Versions tab.

Versions
Version Stability QA Status Released
1.6.0 stable Fail 2020-10-06 10:27:59
1.5.0 stable Not tested 2020-09-07 11:07:31
1.4.2 stable Not tested 2020-03-13 13:51:24
1.4.1 stable Not tested 2020-01-23 12:19:34
1.4.0 stable Not tested 2020-01-07 10:11:24
1.3.0 stable Not tested 2019-11-11 14:20:35
1.2.0 stable Not tested 2019-10-23 05:32:58
1.1.0 stable Not tested 2019-07-29 12:16:07
1.0.0 stable Not tested 2019-07-05 10:54:04

Requires 6

Package Constraint
magento/framework *
magento/module-customer *
magento/module-catalog *
magento/module-store *
magento/module-review ^100.3
scandipwa/performance ^1.0
QA results
Tool Status Findings Summary
PHPCS Pass 0
PHPStan Fail 11 11 errors (level 4, ruleset: phpstan + bitexpert/phpstan-magento)
Cpd Pass 0
Security Pass 0
License
OSL-3.0
Make it pay

Turn an existing module into recurring revenue.

If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.