I’m using Woocommerce with the Woostore theme, and everything was working great until I tried entering a product with a price tag of $10,000.00. For whatever reason, prices reaching the ten thousand mark suddenly round down to the tens. So, entering a price of $10,000.00 returns a price on the product page and checkout page of $10.00.
A majority of the packages the store offers are over $10,000.00 so I really need to figure this one out. I found some code in the woocommerce_core-functions.php file that when removed allowed the display price to show accurately, however, the total price in the cart still showed incorrectly. The code I pulled was:
$price = apply_filters( 'raw_woocommerce_price', (double) $price ); $price = number_format( $price, $num_decimals, stripslashes( get_option( 'woocommerce_price_decimal_sep' ) ), stripslashes( get_option( 'woocommerce_price_thousand_sep' ) ) );
Any help would be much appreciated!
- The topic ‘Prices Over $9999.00 Aren't Accepted’ is closed to new replies.