i need put three decimals in setup / referral rates

hello
i need put three decimals in setup / “referral rates” (for example 0.125).
But, when i write three decimals and click “save” and refresh, it only saves two decimals, but i need save three, what can i do?, can i modify any code to get save three decimals?
Thank you very much
Ricardo

6 Responses to i need put three decimals in setup / referral rates

  1. kento February 1, 2014 at 12:37 pm #

    Closing this topic. For those seeking a solution, please use the approach indicated or wait until the filter has been added to a new release.

  2. Masayuki January 31, 2014 at 2:16 am #

    Hello,

    I would like to ask about this change.
    Is this customization effective in child theme?

    Thank you.

    • antonio January 31, 2014 at 9:28 am #

      Hi,
      there should be no problem.
      cheers

      • Masayuki January 31, 2014 at 10:17 am #

        I ask again, since the contents of a question were unclear.

        I made new folder in child theme folder and copy. Then I edited file.
        (wp-content/themes/child theme folder/affiliates-enterprise/lib/core/contants.php)
        But it does not active.

        • kento February 1, 2014 at 12:36 pm #

          That’s not the correct approach. This is a plugin, not a theme 🙂

          The file Antonio refers to is located in .../wp-content/plugins/affiliates-enterprise/lib/core/contants.php

          Actually we should add a filter that allows to set the decimals. Hacking core plugin files is not a good idea at all. I’ve added this to the required features to be added in a coming release.

  3. antonio November 21, 2013 at 9:29 am #

    Hi,
    you must change AFFILIATES_REFERRAL_AMOUNT_DECIMALS (line 138) in affiliates-enterprise/lib/core/contants.php
    cheers

We use cookies to optimize your experience on our site and assume you're OK with that if you stay.
OK, hide this message.

Affiliates · Contact · Jobs · Terms & Conditions · Privacy Policy · Documentation · Downloads · Useful Plugins · My Account

Share