Top WooCommerce & WordPress Plugins › Forums › Crowdfunding for WooCommerce › I can’t get the numbers to update
- Support forum for the Crowdfunding for WooCommerce.
- This topic has 3 replies, 2 voices, and was last updated 5 years, 7 months ago by
Uqi.
- AuthorPosts
- October 13, 2017 at 5:17 pm #98856
Wen
GuestI couldn’t get the numbers to update on the front-end unless I turned the setting “Products Data Update Options” to “Realtime”. Which, I didn’t really want to do that. I confirmed that cron jobs were working properly on my site as well.
Examples numbers that weren’t updating:
[product_total_orders_sum before="Total Sum: " after=""] [product_crowdfunding_goal before="Goal: " after=""]
Then I went to the code and dug around and found that in the “clas-wc-crowdfunding.php” file in the “update_products_data” function that the WP_Query is looking for the “_alg_crowdfunding_products_data_updated_time’ meta key and when I went to look for that meta key in the post meta table it wasn’t there. That’s why none of the numbers were being updated in the database because it was looking for a non-existent meta key.
I changed the meta key that the wp_query was looking for to just “_alg_crowdfunding_enabled” and then it started working. Now, from now on it’s creating the “_alg_crowdfunding_products_data_updated_time” meta key so it’s working like normal now.
November 20, 2017 at 8:47 am #98857Bryan
GuestI had the same problem. Thanks for this comment!
November 26, 2017 at 5:38 pm #98858Hi,
Sorry for not replying earlier. We’ve released new v2.6.0 today – data update should now be working fine.
Best regards,
TomFebruary 20, 2018 at 6:43 am #98859Uqi
GuestHi, Tom..
Does this plugin gather a custom report that shows all the customers who purchased/crowdfunded as well as the different variables they purchased, etc? - AuthorPosts
- You must be logged in to reply to this topic.