Skip to content

astrogoat/yotpo

Repository files navigation

A Yotpo app for Stratum

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads


Installation

You can install the package via composer:

composer require astrogoat/yotpo

Usage

Include the component that you need in your Blade file:

<x-yotpo::reviews-widget
    instance-id="[THE INSTANCE ID FROM YOTPO'S WIDGET]"
    product-id="[THE SHOPIFY PRODUCT ID]"
/>

<x-yotpo::star-rating
    instance-id="[THE INSTANCE ID FROM YOTPO'S WIDGET]"
    product-id="[THE SHOPIFY PRODUCT ID]"
/>

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

This yotpo package is forked from the awesome Spatie yotpo package. Please go support them if you can.

License

The MIT License (MIT). Please see License File for more information.