I can’t get the numbers to update

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #98856
    Wen
    Guest

    I 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.

    #98857
    Bryan
    Guest

    I had the same problem. Thanks for this comment!

    #98858
    Tom Anbinder
    Moderator
    Plugin Support

    Hi,

    Sorry for not replying earlier. We’ve released new v2.6.0 today – data update should now be working fine.

    Best regards,
    Tom

    #98859
    Uqi
    Guest

    Hi, 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?

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Crowdfunding for WooCommerce’ is closed to new topics and replies.