Change meta query type for on sale products to DECIMAL to match on 0.xx prices as NUMERIC only matches sale prices >= 1

This commit is contained in:
Gerhard 2013-01-28 08:21:50 +02:00
parent 10c8e8d501
commit 85aba3620b
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ function woocommerce_get_product_ids_on_sale() {
'key' => '_sale_price',
'value' => 0,
'compare' => '>',
'type' => 'NUMERIC',
'type' => 'DECIMAL',
) ),
'fields' => 'id=>parent',
) );