PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

How to display Currency in Indian Numbering Format in PHP?

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
like this

1
10
100
1,000
10,000
1,00,000
10,00,000
1,00,00,000
10,00,00,000


how to modify this code?



add_action('tableon_profile_extend', function($profile, $action_name) {

if ($action_name === 'tableon_default_tables') {

if (isset($profile['priceacf'])) {
$profile['priceacf']['action'] = function($post_id) {
return number_format(get_post_meta($post_id, 'priceacf', true));
};
}

}

return $profile;
}, 10, 2);

 

note: priceacf is a ACF number field . renamed as RESERVE PRICE

my website link

https://chennaibankauction.com/test-tableon-filter/

 

 

 

 

 

 


Hello

to fix your custom code you should hire a developer

Please  read  this  - https://gist.github.com/SapneshNaik/94250492b8eaaf874773165782c9a3f5  and  https://kerneldev.com/how-to-format-a-number-to-indian-currency-format-in-php-laravel/

Hello

Try this hook please: https://posts-table.com/hook/tableon_meta_data_cell/

i resolved this by developer. thanks for support

Hello

Welcome;)