Soo.. I've created CRON script, that each 1 minute retrieves an actual stock systems data, converts it for Wordpress/Woocommerce database table and updates stock.
On database side everything looks right and works (see 1st screenshot), but in WP Admin Panel only parent/main variable product inventory data shows as updated - it SUMS all variation STOCK quantities (see 2nd screenshot). However he STOCK quantity data in Variations section for different sizes doesn't seem to be updated (see 3rd screenshot).
Soo I was wondering.. is there some kind of Caching that WooCommerce is using? And if so.. how can I clear it? Because so far I've cleared all the cache there is, but Variation stock still stays 0.
Screenshots & Descriptions
I've double checked everything. CRON script is fine - as you can see from screenshots it does update data in database. The issue here is only that it doesn't show it in front for Variations of products.
A help would be much apreciated! :) Thanks in advance.