Sovrn (Viglink) module
Last updated
Last updated
To find your API key and Secret key for a site:
Log into the Sovrn Platform.
Go to Commerce > Settings > Site.
Under Actions, click on the Key to view the API keys for that site.
If no secret key has been created, click on "Generate Secret Key".
The module allows you to search for a specific product in the Sovrn database and obtain all offers for that product. You simply need to provide a product URL from any supported retailer.
Sovrn API provides a simple search function that returns all products with keywords in the product title. To find the desired product, it is recommended to add a filter by price.
Unfortunately, the Sovrn API does not return direct product URLs or merchant domains. As a result, some merchant domains may not be detected correctly. To resolve this, add the following code to your functions.php
file with merchant-to-domain pairs like this: