I’m having trouble with
Couple of days ago the Product page started showing the error
“Failed to render OOI component in SSR with error: useProductContext must be used within a product context implementation”
The console logs 1 instance of the error for every native Wix Store Element.
Nothing has been changed, I asked support but I dont have 100 months to wait for a reply 
So, the page used to render on the server so any crawler which does not run JS can still see the full details. Now it sends a default Product page with blank title and no data, then renders the page client side. So, while it works any crawler not using Javascript will just see an empty page!
Working in
Wix Studio Two
Site link
What I’m trying to do
Basic product page!
What I’ve tried so far
I removed all the elements and just tried with a single element just showing the product title, and it sill does the error, just shows the error 1 time for the product title element. If you add say quantity picker, it shows 2 errors, 1 for each wix store native element added to the page.
I loaded three of your product pages without running JavaScript (the avian demon miniature, the gold glitter boss dice and Awaiting Execution). All three show what you describe: the server HTML has the title “Product Page | Mystic Pigeon Gaming” and carries the useProductContext error. So it isn’t one product’s data.
Since it still fails with a single native element and you haven’t changed anything, I’d stop rebuilding the layout. My reading is that the product context isn’t being provided during server rendering, which would be on the platform side, though only Wix can confirm that.
What I’d do next:
First, make a throwaway Studio Two site with Wix Stores and one product, publish it, and open view-source on the product page. The same error there would show it isn’t specific to your site.
Second, add this to your support ticket: the exact error line, the three URLs, the date it started, your single element test, and that you get one error per native Stores element. A reproducible report like that is much easier to escalate.
Third, in Google Search Console run URL Inspection and Test live URL on one product, then check the rendered HTML. Google runs JavaScript, so you can see whether it still picks up the title and description. Crawlers and link previews that only read the server HTML will get the default page.
If anyone else on Studio Two with Stores sees this, posting your start date here would help narrow it down.
Nice reply, I did create a throw away site. Stock set up with 1 test product, no custom code at all, no sit settings changed, noting but wix store app added. Using just the basic native wix elements on the product page. and … same!
“avian-themed-spawns-of-chaos-demon-miniatures?rc=test-site:1084 Failed to render OOI component in SSR with error: useProductContext must be used within a product context implementation”
1 error per native wix element, soooooooo has Wix really broken something in the last few days!
Hello Kent,
A clean site with one product and only native elements throwing the same error takes your layout, settings and code out of the picture.
I just re-fetched your avian demon miniature page without JavaScript and it’s still happening: default title, the same default in og:title, and I found no JSON-LD in the server HTML.
For a support ticket I’d keep it short and hard to bounce:
- the product page link on your throwaway site
-
- the exact error line, and that you get one per native Stores element
-
- roughly the date it started on your live site
-
- “server HTML ships with a default title and no product data”, plus a link to this thread
Meanwhile, run URL Inspection in Search Console on one product and open the crawled page. Google runs JavaScript, so it may still be seeing the full content, but link previews and crawlers that skip JavaScript get the blank version.
If Wix replies, post what they say here. It would help anyone else running Stores on Studio Two.