Crédit en magasin par AffiliateWP
Lien du plugin: https://affiliatewp.com/add-ons/official-free/store-credit/
- Dans le fichier wp-content\plugins\affiliatewp-store-credit\integrations\class-woocommerce.php ajouter le code suivant:
if (class_exists('WOOCS') AND $balance) { global $WOOCS ; $balance = $WOOCS->woocs_exchange_value(floatval($balance)); }