TOP 3 articles about currency

PHP Format Numbers to Nearest Thousands

Here comes a PHP function to format numbers to nearest thousands such as Kilos, Millions, Billions, and Trillions with comma. Function function thousandsCurrencyFormat($num) { if( $num > 1000 ) { $x = round($num); $x_number_format = number_format($x); $x_array = explode(',', $x_number_format); $x_parts = array('k', 'm', 'b', 't'); $x_count_parts = count($x_array) - 1; $x_display = $x; $x_display = $x_array . ((int) $x_array !== 0 ? '.' . $x_array : ''); $x_display .= $x_parts; return .

Setting up WooCommerce part – 2

Afer going through Setting up part – 1 we will learn about it in more detail about different tab. WooCommerce is usable straight out of the box. However, in this section, we’ll cover almost every setup that you may use to control your online store. Going through all settings might be quite overwhelming in the beginning, but it will help you in exploring the possibilities of WooCommerce. The General Settings Tab .

Installing WooCommerce

Installing a plugin is a fairly simple task: Click on in the menu on the left and click on Add New. Next, simply enter in the Search Plugins field and hit Enter. Verify if the correct plugin is shown on top and click Install Now. Over time results will vary, but the WooCommerce plugin itself should always appear on top. Click on Activate Plugin. Note that in the shown screenshot, we’re installing .