Thousand separator for shortcodes

4 weeks agocompleted3


I think it would be great if there was an option to let the LF shortcodes use the Woocommerce settings for the Thousand & Decimal separator.

Now when using a shortcode like:

it results in : $1000

With the option to use the Woocommerce settings it could look something like $1,000,00

ps. if I overlooked something… sorry 🙂

3 thoughts on “Thousand separator for shortcodes”

  1. Hi Kasper,
    I’m not sure I understand the request.
    The LF shortcode (or Elementor widget) does not change the format of any WC number output. It literally just “moves” it with jQuery….
    So please do consider using a filter or function or plugin for WC if you wish to change that format, such as these:

  2. Hi Spence!

    I noticed some part of my previous comment is not shown, probably because it were shortcodes:)

    No, what I mean is:
    – You can handle the Thousand & Decimal separator for Woocommerce within the Woocommerce Settings. This works perfectly.
    So if I (in Europe) want to have the amount to be like $1.000,00 instead of you use in the US $1,000.00, that all works fine using the “normal” Woocommerce shop.

    However when I use LF shortcodes for Sales Price, Regular Price etc. the amount shown on the website has no Thousand & Decimal separator at all.
    The amount is shown as $1000

    You see what I mean?

Leave a Reply