' .
'
' . __( 'Referral timeout', 'affiliates' ) . '
' .
'
' .
'' .
'
' .
'
' .
__( 'This is the number of days since a visitor accessed your site via an affiliate link, for which a suggested referral will be valid.', 'affiliates' ) .
'
' .
'
' .
__( 'If you enter 0, referrals will only be valid until the visitor closes the browser (session).', 'affiliates' ) .
'
' .
'
' .
sprintf(
__( 'The default value is %d. In this case, if a visitor comes to your site via an affiliate link, a suggested referral will be valid until %d days after she or he clicked that affiliate link.', 'affiliates' ),
AFFILIATES_COOKIE_TIMEOUT_DAYS,
AFFILIATES_COOKIE_TIMEOUT_DAYS
) .
'
';
echo
'
' . __( 'Direct referrals', 'affiliates' ) . '
' .
'
' .
'' .
'
' .
'
' .
__( 'If this option is enabled, whenever a referral is suggested and no affiliate is attributable to it, the referral will be attributed to Direct.', 'affiliates' ) .
'
';
echo
'
' . __( 'Default referral status', 'affiliates' ) . '
' .
'
' .
$status_select .
'
';
echo
'
' . __( 'Duplicate referrals', 'affiliates' ) . '
' .
'
' .
'' .
'
' .
'
' .
__( 'Allow to record duplicate referrals for the same affiliate (based on amount, currency, internal type and reference).', 'affiliates' ) .
'
';
echo
'
' . __( 'Auto-referrals', 'affiliates' ) . '
' .
'
' .
'' .
'
' .
'
' .
__( 'If this option is enabled, affiliates are allowed to refer themselves.', 'affiliates' ) .
' ' .
__( 'This option allows an affiliate to earn a commission on a transaction that involves the affiliate as a customer or lead.', 'affiliates' ) .
' ' .
__( 'Auto-referrals are identified as such, when a transaction is processed for the same user or user email as the affiliate’s, or when it involves the use of a coupon assigned to the affiliate.', 'affiliates' ) .
'
' .
'
' .
'' .
'
' .
'
' .
__( 'Allow affiliates to apply coupons that are assigned to them.', 'affiliates' ) .
' ' .
__( 'Verification is supported for coupons managed through WooCommerce.', 'affiliates' ) .
'
';
echo
'
' .
wp_nonce_field( 'admin', AFFILIATES_ADMIN_SETTINGS_NONCE, true, false ) .
'' .
'
' .
'
' .
'