Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    The pro version does indeed allow you to implement this scenario, but unfortunately, we cannot provide support for this version on the WordPress forum. We are limited to the free version here. Please feel free to use our contact form or the support platform within the plugin itself.

    Sincerely,

    Hello,

    WooRewards/MyRewards doesn’t have an option to round down points. By default, it does round() in PHP, which means it goes up when you land at .5 or above (and your 9.95 gets lovingly inflated to 10).

    Luckily, the plugin is filter-happy. You can override how points are calculated using a hook. Instead of letting it round, you can force it to always floor the value:

    add_filter( 'wr_points_earned', 'force_round_down_points', 10, 3 );
    function force_round_down_points( $points, $event, $data ) {
    return floor( $points );
    }

    wr_points_earned: This filter lets you intercept the calculated points before they’re awarded.

    floor(): PHP’s merciless round-down function. 9.95 becomes 9, 9.01 becomes 9, and so on. No sympathy, no rounding up.

    Parameters: You still receive the $event and $data if you want to get fancy and only apply this rule to certain events (like purchases but not referrals).

    What you need to do :
    1. Drop the snippet in your child theme’s functions.php or a small custom plugin.
    2. Test with a purchase at something like 199 x 5% to confirm you’re now getting 9 points instead of 10.

    Best regards,

    jopelws

    (@jopelws)

    Hello,

    Yes, the premium version is able to manage this use-case.
    You can look at our website or contact us directly (we cannot promote paid plugin here)

    Best regards,

    Forum: Plugins
    In reply to: [MyRewards] Updates error

    Hello,
    are you using the free version (MyRewards) or WooRewards ?
    If you have a customer account on our website, you can download directly the .ZIP and update the plugin manualy.

    Best regards,

    jopelws

    (@jopelws)

    Hello,

    for sur ! We have a “Free Gift” type reward you can use for that
    Everything is explained in the documentation (you can also look at our tutorials, on our website to learn more)

    Best regards,

    jopelws

    (@jopelws)

    Hello,

    WooRewards is indeed able to meet your needs.
    Here’s a summary of the loyalty system to create:

    – Create a loyalty program with a program start date and a program end date.

    – Create a leveling system within it

    – In the actions, you add the action “Visit a URL”.

    – You repeat it for each URL concerned

    – The reward (level 1) for visiting the URL is points.

    – You create a “level 2” in this leveling system, which requires the number of points you want (and therefore the number of URLs visited).

    – If the visitor has enough points, they move up to level 2, which gives them the rewards you want.

    Hope it helps !

    Best regards,

    • This reply was modified 1 year ago by jopelws.

    Hello,

    when we try to login, after typing the 2FA password, the site works 10 sec and shows 2 types of errors, randomly (always mentioning “Fatal error: Allowed memory size of 671088640 bytes exhausted (tried to allocate 32768 bytes)”) :

    https://ibb.co/19zTLY6
    https://ibb.co/4tZNPYF

Viewing 7 replies - 1 through 7 (of 7 total)