Answer the question
In order to leave comments, you need to log in
How to make a thousands separator in the output of the sum of all items in the basket?
Hello.
I display the sum of all the goods in the basket using , so the question is: how to make a thousand separator (for example, in a basket of goods worth 20,000 rubles, you need to display "20,000")? echo WC()->cart->cart_contents_total;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question