Totals_Sales of Variation always zero
-
Hi,
we try to implement a functionality like stock quantity update and in this case we need to receive the total_sales values of each product (simple, variable and variations). But if we retrieve the products with the php function, the function $product->get_total_sales() deliver for variations every time a ZERO (0).
We do not know if there is a relation to the database table wp_wc_product_meta_lookup: all total_sales values of variations are there also zero.
Hope we a solution,
Joerg
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Totals_Sales of Variation always zero’ is closed to new replies.