Avantlink Products module
How to get Affiliate ID
Login to your account, go to Account
→ API Authorization Key
and find your Affiliate ID
.

How to get Website ID
Login to your account, go to Account
→ Edit Websites
and find your Website ID
.

Merchant domains
The Avantlink API doesn't always provide direct product links or merchant domains. To address this, you need to manually add merchant-to-domain matching pairs. You can do this by adding the following code to your functions.php
file:
function my_avantlink_merchant2domain($m2d) {
$m2d['Amazon'] = 'amazon.com';
$m2d['GritrSports'] = 'gritrsports.com';
return $m2d;
}
add_filter('cegg_avantlink_merchant2domain', 'my_avantlink_merchant2domain', 10, 1);
Last updated