Found a small bug – on WP Admin > Products > Edit Product page. When entering a Sale Price the product updates correctly, however when removing it (or resetting it back to zero) an error is thrown after ‘Update’ is clicked:
Warning: number_format() expects parameter 1 to be double, string given in /wp-content/plugins/foxyshop/customposttype.php on line 1009 Warning: Cannot modify header information - headers already sent by (output started at /wp-content/plugins/foxyshop/customposttype.php:1009) in /wp-includes/pluggable.php on line 897
I’ve tried putting 0, 0.0 and leaving the field blank but nothing works. (actually I think the field is wiped if a value equal to 0 is left in it)
The product does still update with the sale price removed despite the error.
Using WP 3.1.2 & FoxyShop 2.6.1
PS- great work on 2.6.1 release 🙂
- The topic ‘[Plugin: FoxyShop] Resetting Sale Price gives error on product update’ is closed to new replies.