DRAFT TEST PAGE — not linked anywhere, noindex.
Tests A & B confirmed widget shell renders but returns 0 reviews.
Test C adds explicit
Tests A & B confirmed widget shell renders but returns 0 reviews.
Test C adds explicit
initWidgets() call on script load — testing whether missing initialisation is the cause.Free Mini Lesson ~ Counting Mental Exercises
Expected: 2 published reviews at 5.0 ★ (Rosemary M., Joanne L.). If Test C shows reviews, the fix is adding initWidgets() to the production YotpoReviews component. If still zero, the initialisation call is not the issue.
Test A — slug as product-id · RESULT: 0 reviews (no init call)
Test B — numeric ID as product-id · RESULT: 0 reviews (no init call)
Test C — numeric ID + explicit initWidgets() call · NEW
Same numeric ID as Test B. Difference: script.onload calls yotpoWidgetsContainer.initWidgets() (with refreshWidgets fallback). If this shows 2 reviews, missing init was the cause.