thelia / guaranteed-opinion-module
GuaranteedOpinion module for Thelia
Installs: 153
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 2
Open Issues: 0
Type:thelia-module
Requires
- thelia/installer: ~1.1
README
This module allows you to import your opinion on your Thelia website and export your order using Avis-Garantis API
Installation
Composer
Add it in your main thelia composer.json file
composer require thelia/guaranteed-opinion-module:~1.0
Usage
Configure the module backoffice with your api keys
Then, add a cron :
To import your product opinion :
php Thelia module:GuaranteedOpinion:GetProductReview
To import your site opinion :
php Thelia module:GuaranteedOpinion:GetProductReview
(Note: If you are using Avis Garantis widget and widget iframe, you don't need to import your site opinion)
To export your order :
php Thelia module:GuaranteedOpinion:SendOrder
Now you can add these routes to your opinion page or use the loop
/site_reviews/offset/{offset}/limit/{limit}
/product_reviews/{id}/offset/{offset}/limit/{limit}
Loop
[guaranteed_site_loop]
Input arguments
Output arguments
[guaranteed_product_loop]
Input arguments
Output arguments
Documentations
Societe-des-avis-garantis API documentation is available at https://www.societe-des-avis-garantis.fr/configuration
API PUBLIC OPINIONS : https://www.societe-des-avis-garantis.fr/configuration/api-publique API PRIVATE ORDERS : https://www.societe-des-avis-garantis.fr/configuration/api-orders