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

WooCommerce API - "type": "variable" and "type": "grouped", the "regular_price" become "0.00"

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.

WooCommerce API

No problem for"type":"simple" product

But the"type":"variable", regular_price become"0.00"

 

And the"type":"grouped", regular_price become"0.00"

Or can it be"null" value for the"type":"variable" and"type":"grouped" as well?

Many thanks!

 

May I know how to be set the

"regular_price":"",

"null" value for the"type":"variable" and"type":"grouped"?

It is due to I am using WooCommerce Multilingual - Multi-currency, it is"null" value.

 

Many thanks!

Hello

Please renew your  support

Try  to  use:

add_filter('woocs_raw_woocommerce_price', function($price) {

if (0 == $price){

$price = '';

}

return $price;

});