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

WOOCS / plugin barn2’s product table / custom(meta) field

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.
Hello,
I use plugin barn2’s product table and I have 3 different prices for one product. WOOCS can convert woocommerce's default price, but cannot convert currency value of these 2 customs (named price1 and price2).
Those fields are both numeric, and located in wp_postmeta table.
Since my regular price is converting well, I belive this isn’t hard to acomplish.
Thanks BRGDS
Petar
PS I send you the picture, maybe it is easier to understand.
WOOCS converter works on woocommerce price column, but I don't know how to turn it on to convert the custom fields (see on picture I send).

Hello

Read  this  - https://currency-switcher.com/function/woocs-woocs_exchange_value/  OR  use  shortcode - https://currency-switcher.com/shortcode/woocs_show_custom_price/

Thanks Pablo,

I think I need to use function.

Can you more specific ... which file I need to change to have this funcionality?

BRGDS

P

I managed to solve it...in theme function.php I add these lines:

add_filter('wc_product_table_data_custom_field_vpc', function($field_value) {
return apply_filters('woocs_exchange_value', $field_value);
});
add_filter('wc_product_table_data_custom_field_mpc', function($field_value) {
return apply_filters('woocs_exchange_value', $field_value);
});

Hello

OK. Great!