Your cart is currently empty!
Attributes of affiliates_earnings shortcode
—
by
Hi there,
Please let me know detailed information of affiliates_earnings shortcode.
This shortcode showing affiliate earnings per month of status of “ACCEPTED”.
I would like to show status of “CLOSED”
I tried affiliates_earnings status=”closed” in guesswork, but it is not take effect.
Thank you.
Posted in Affiliates Pro
Comments
7 responses to “Attributes of affiliates_earnings shortcode”
Hi
I have one more question.
How to eliminate the decimal point of the amount of money that is displayed in shortcode below.(example JPY1000.00 —> JPY1000)
– affiliates_referrals show=”total”
– affiliates_earnings
– affiliates_affiliate_stats /
Thank you
Hi,
you can set the decimals in affiliates-pro/lib/core/constants.php (AFFILIATES_REFERRAL_AMOUNT_DECIMALS), but this also affects the commissions.
Or a better solution is create your own shortcodes (for example: affiliates_referrals_decimals, …). You can see the code in affiliates-pro/core/class-affiliates-shortcode.php.
cheers
Could you give me attribute information of this shortcorde ?
\[affiliates_earnings\] is works but accepted status.
\[affiliates_earnings status="closed"\] is not work.
\[affiliates_earnings status="pending"\] is not work.
\[affiliates_earnings status="regected"\] is not work.
Ofcourse it is in text mode and affiliate has several closed referrals.
Sorry,
my test was wrong. [affiliates_earnings] doesn’t accept attributes. Maybe [affiliates_referrals] shortcode can help you.
cheers
Hi Antonio,
Thanks. I understand.
Regards
Hi,
I have tried this shortcode (copy-paste) and works fine.
Be sure you are using the texteditor in “Text” mode and that the affiliate has some referral closed.
cheers