hello, this is an obvious error. Please see this document to understand how to get rid of this banner
https://wcpricehistory.com/tuorials-howtos/tutorials/how-does-first-product-scan-works/
I am sorry for troubles. In the next release I will add an option to hide this banner.
I’m seeing this as well. I tried the workaround, got 3 unscanned products. No further progress. Tried setting first_history_scan to 0, but it keeps resetting to 1.
If you need any more info, let me know.
Hello, sorry to hear you have problems.
if you are willing to help me to troubleshoot this problem, could you:
in the snippet which you used, before the line:
echo count( $non_scanned );
add:
var_dump( $non_scanned );
this should output those products IDs. Then please check what kind of products those are.
The easiest will be if you go to wp-admin > products and type there each number separately in “Search products” field. then please share the info with me (the type of product and anything relevant)
To fix the issue: I am not sure without data, but please consider disabling other plugins except woocommerce and see if it helps. Also deactivate wc-price-history and activate again and see it this helps.
I did check the affected products yesterday, and 2 of the 3 were Composite Products. I guess the plugin just couldn’t get a price for those, because only the contained products have prices set. The main Composite product has a zero price.
Unfortunately I already decided to use a different solution for my needs, but I hope this helps to further track the issue down.
hello, this is important info, thank you. how did you create composite products? have you used this plugin https://wordpress.org/plugins/wpc-composite-products/ or some other one?
I was testing using the official Composite Products plugin: https://woocommerce.com/de/products/composite-products/
thanks, I think I’ve fixed this problem and released a new version
https://github.com/kkarpieszuk/wc-price-history/discussions/151