Format Woocommerce price in javascript according to the Woocommerce settings.
How to format the price in JS according to Woocommerce settings.
Tags: woocommerce, price, format, javascript