Support » Plugin: YITH WooCommerce Points and Rewards » Redeem points and get rounded amount

  • mpally

    (@mpally)


    Hi,
    How can I let redeem points and get only rounded amounts.
    Like 10.05, 10.10
    Thanks a lot for help and kind regards
    Martin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Armando

    (@geckod22)

    Hi 🙂
    I am sorry but can you be more clear?
    can you explain better what you would accomplish?

    Thread Starter mpally

    (@mpally)

    The user sees this message at checkout:
    “Verwenden Sie 1477 Punkte für einen Treue-Rabatt von CHF 14.77 auf diese Bestellung!”
    The points should be 1475 to make the amount rounded CHF 14.75
    I can of course round the subtotal of the order, but that would not be a good solution.

    Plugin Support Alberto Ruggiero

    (@witcher83)

    Hello @mpally,
    I’m sorry but it’s not possible. It’s necessary to customize the plugin code in order to tho this.

    Thread Starter mpally

    (@mpally)

    Could you please tell me, what file/function is responsable for this?
    Thanks a lot for help and kind regards
    Martin

    Plugin Support Alberto Martin

    (@albertomrtn)

    Hi @mpally,

    You could try looking in this file yith-woocommerce-points-and-rewards/includes/class.yith-wc-points-rewards-redemption.php

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.