Membership price shortcode - remove "Membership Price" and 3 decimals


When I use the shortcode [ms-membership-price], the price has 3 decimal places - 23.988. How can I prevent this.
It also includes the words, Membership Price, at the beginning - why? This reduces the flexibility - if I want the words Membership Price, I can just put them in; this should just be a straight lookup of the price. For instance, I can't use a currency symbol before the price (for instance, I prefer £ to GBP which is what is returned by the shortcode if currency is set to yes).

Is there a way to remove these words?


  • Sajid
    • DEV MAN’s Sidekick

    Hi @devedge

    Hope you are doing good today :slight_smile:

    You can change the words Membership Price by using "label" parameter of shortcode. So the shortcode will be like this.
    [ms-membership-price label="Your custom text"]

    For price issue what is the actual price of membership ? Can you please grant support access by following steps mentioned in this manual so I can take a closer look.

    Take care and have a nice day :slight_smile:

    Cheers, Sajid

  • devedge
    • WPMU DEV Initiate

    Hi Sajid

    Thanks - that was really stupid of me to miss the label - sorry (having a tough day!)

    I am working on the site at the moment so I'd prefer to wait before granting access to avoid conflicts. However, the 3 decimals are occurring because of the application of VAT in Europe. I could get round this by using £20 as the price, but, as you know, a .99 price has pyschological impact.
    So I think it just needs a rounding function in the VAT calculation.

    thanks for your speedy help

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.