Crédito de la tienda por AffiliateWP
Enlace del complemento: https://affiliatewp.com/add-ons/official-free/store-credit/
- En archivo wp-content\plugins\afiliadowp-store-credit\integrations\class-woocommerce.php agregar el siguiente código:
if (class_exists('WOOCS') AND $saldo) { global $WOOCS; $saldo = $WOOCS->woocs_exchange_value(floatval($saldo)); }