Hey it’s work to, but it’s only remove “decimal price” on wp-ecommerce, in my theme the decimal still show up.
But your way guide me into another decimal sets for the theme, and I found this still on Function.php:
function boutique_price(){
global $post, $boutique_active_plugin_name, $wpdb;
$price = 0;
switch ($boutique_active_plugin_name){
...
...
...
...
case 'wp_ecommerce':
$price = get_post_meta( $post->ID, '_wpsc_special_price', true ) ? get_post_meta( $post->ID, '_wpsc_special_price', true ) : get_post_meta( $post->ID, '_wpsc_price', true );
$price = apply_filters( 'et_wp_ecommerce_price_format', number_format( $price, 0 ), $price );
break;
}
return $price;
}
sets the value on
number_format( $price, 0 ), $price );
from “2” to “0”
Thank Bro..