Site logo

Archived topic

Woocommerce Blocks not showing on live page

3 replies · Started by Whites on April 29, 2021

Viewing posts 1–4 of 4

I am editing a page. I'm adding a new block for Woocommerce Reviews onto the page (www.whiteskitchen.co.uk).

The review block shows in my preview page on the back end of wordpress. Once I update the changes. The changes are not showing on the live website. I've tried changing theme to the 2021 theme and it seems to work ok.

Can this please be resolved?

Hi there,

i am seeing a bunch of red errors in the Developers Console ( Right Click > Inspect the site ) - their all javascript errors and one of them points to the autoptimized cached file. First try disabling autoptimize, and clear any browser caches to see if a. the errors clear and b. if the blocks are now displayed.

Thanks David. I've made an adjustment to the settings in autoptimize and it seems to be working ok now. However, the javascript files are no longer being aggregated. Are there any plans for these parts of GP to be compatible with autoptimize?

Re-enable the autoptimize plugin - and retest the site.
The issue may just have been the Javascripts got 'cached' incorrectly - sometimes all it takes is clearing the cache :)

If it still poses a problem then it will require further troubleshooting - but it won't be a theme compatibility issue ( we use Autoptimize on our own site ) but one of the scripts the plugin is using.

As a note - when developing a site its best to leave cache/optimization plugins disabled.

This archived topic is closed to new replies.