I found a solution. I don’t know if it’s right. But it works.
function wp_all_export_convert_stock($stock) {
$stock = str_replace(".000", " ", $stock);
$stock = str_replace("000", "", $stock);
return $stock;
}
-
This reply was modified 3 years, 3 months ago by seo4444.