YITH Points and Rewards Currency Symbol not appearing correctly

This topic has 4 replies, 2 voices, and was last updated 1 week, 2 days ago ago by Andrew Mitchell

  • Avatar: Greg
    Greg
    Participant
    April 8, 2026 at 11:42

    Hello,

    Please assist me.

    I use the YITH Themes Points and Rewards plugin on my website, however on the product page, the points value in Rands is not showing correctly, it is putting the R for Rands after the amount, instead of before. All setting on WooCommerce and the YITH plugins are correct.

    How can I fix this?

    Many thanks
    Greg

    Files is visible for topic creator and
    support staff only.
    3 Answers
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 8, 2026 at 17:27

    Hello Greg,

    Based on your description, this issue does not appear to be directly related to the WooCommerce currency settings or XStore functionality. The currency position (before or after the amount) in WooCommerce is applied only when values are formatted using native WooCommerce functions such as wc_price().

    In this case, the YITH Points and Rewards plugin outputs the points value independently and most likely does not use the standard WooCommerce price formatting. This is why the Rand symbol (R) appears after the amount instead of before it.

    To confirm this, we recommend performing the following checks:
    1. Temporarily switch to the default WooCommerce single product layout (disable the XStore Single Product Builder) and verify whether the issue persists.
    2. Switch to a default theme (e.g., Storefront) to see if the output changes.
    3. Inspect the HTML output of the points value. If the currency symbol is hardcoded or appended manually, it confirms that the formatting is controlled by the YITH plugin.

    If the issue persists across different themes, it indicates that the output originates from the YITH plugin rather than the theme.

    As a workaround, this can be adjusted through a small customization, for example, by using a filter or string replacement to reposition the currency symbol:

    add_filter('yith_ywpar_points_currency_format', function($formatted){
        return preg_replace('/(\d+)\s?R/', 'R $1', $formatted);
    });

    Alternatively, it may be necessary to override the YITH template responsible for rendering the points value, depending on how the plugin structures its output.

    At the theme level, there is no control over this specific output since it does not use WooCommerce price formatting functions.

    If needed, we recommend contacting the YITH plugin support team to check whether they provide a filter or setting for adjusting the currency position in their points display.

    Best regards,
    8Theme Team

    Avatar: Greg
    Greg
    Participant
    April 9, 2026 at 11:01

    Hello,

    Thank you very much for your detailed reply, this is much appreciated.

    Unfortunately the snippet you have provided didnt work :(, however upon inspecting the code on the page, the YITH points value uses the following class to bring in the value. “woocommerce-price-amount amount”, which is correct, however the symbol and the amount seem to be in the wrong order in the coding, which would be an error on their side. See attached.

    Many thanks
    Greg

    Files is visible for topic creator and
    support staff only.
    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 9, 2026 at 16:08

    Hi,

    Thank you very much for your detailed feedback and for sharing your observations. We appreciate the time you have taken to investigate the issue.

    We understand that the snippet did not work as expected and that the YITH points value appears to have the symbol and amount in the wrong order. This does seem to be related to the way the YITH plugin outputs the price structure. We recommend reaching out to the YITH support team to confirm whether this is a known issue or if they can provide a fix for the output format.

    If you receive any additional information from them or need further assistance from our side, please let us know, and we will be happy to help.

    Warm Regards,
    The 8Theme Team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.