• Resolved pgrafix

    (@pgrafix)


    With the official Yotpo reviews plugin disabled I am getting some weird behavior of the star ratings on the shop page (product archive). They don’t seem to load/display consistently. If I scroll the page back and forth the ratings will disappear from some products and only to reappear on others. I think I have it resolved by excluding the class for the yotpo stars from lazy loading – I am still testing to be sure.

    However, I am not sure if this is related, but I am getting 2 identical error messages in the console: “The resource https://staticw2.yotpo.com/accountidhere/widget.css?widget_version= was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate as value and it is preloaded intentionally.”

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author hxii

    (@hxii)

    Hey @pgrafix, if you’re using AJAX to load information I guess this is something that could happen.
    This plugin relies on simple hooks to output the various widgets, so I guess with AJAX this can be broken.

    As for the second question, I might switch preload to prefetch to avoid this console warning.

    Plugin Author hxii

    (@hxii)

    Hey @pgrafix were you able to resolve your first issue?

    Plugin Author hxii

    (@hxii)

    I found that when using Yotpo with Immediate Update (instead of Better Performace) option enabled, the CSS file is loaded from a different domain and thus you get the warning.

    Thread Starter pgrafix

    (@pgrafix)

    Yes, I was able to solve the problem by excluding the star class from lazy loading.

    As for the second “issue”, is that a setting in the actual Yotpo account? I do not see that in the plugin settings.

    Plugin Author hxii

    (@hxii)

    @pgrafix it’s in the Yotpo dashboard, under the Reviews Widget settings.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Star Ratings on Shop Page’ is closed to new replies.