I'm having issues as some of my pages (Mainly product pages) are not being indexed by Google. When I run the Google Search Console tool it first says it's not available on Google, then when I run a live test it says it's available with issues. I have searched around but couldn't find any solutions.
How can I fix this?
The second screenshot is telling you that there is a duplicate page of that somewhere that google sees as the canonical page, so it won't index both of them
The issue is this
Can you expand it and show what the error is?
You Have Crawl Errors
In some cases, Google will not index some pages on your site because it can't crawl them.
Even though it can't crawl them, it can still see them.
To identify these crawl errors, go to Google Webmaster Tools → Select your site, → Click on “Crawl” → Click on “Crawl Errors”.
It seems to me that the warnings were all related to your Rich Snippet result settings.
Paste your link and see which particular element is causing the warning - then fix it.
Once you fix all the warnings, you need to wait for a while since the warnings will only fade once the affected URLs are recrawled.
In which case, your page won't get indexed. To check for a canonical, use Google's URL inspection tool. You'll see an “Alternate page with canonical tag” warning if the canonical points to another page. If this shouldn't be there, and you want to index the page, remove the canonical tag.
Thanks and Best Regards: