fixed record_product_sales
This commit is contained in:
parent
4bcc3d583f
commit
96ba64d90f
|
@ -683,7 +683,7 @@ class WC_Order {
|
|||
update_post_meta( $this->id, '_completed_date', current_time('mysql') );
|
||||
|
||||
// Sales
|
||||
if ($this->status == 'on-hold' && ($new_status->slug=='processing' || $new_status->slug=='completed'))
|
||||
if ($new_status->slug=='processing' || $new_status->slug=='completed')
|
||||
$this->record_product_sales();
|
||||
|
||||
}
|
||||
|
|
|
@ -167,6 +167,8 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
* is main query tweak
|
||||
* Filters for BACS fields
|
||||
* Polish translation by Maciej Swoboda
|
||||
* More reliable cache deletion
|
||||
* Fixed record_product_sales
|
||||
|
||||
= 1.4.4 - 18/02/2012 =
|
||||
* Fix for remove coupon links after ajax update of shipping
|
||||
|
|
Loading…
Reference in New Issue