Skip Navigation

WooCommerce Views should enforce its PHP templates as late as possible

Resolved

Reported for: Toolset WooCommerce Blocks 2.7.5

Resolved in: Toolset WooCommerce Views 2.7.6

Symptoms

When WooCommerce is set to us its own PHP templates for the single and archive product pages, it should enforce those templates as late as possible. Otherwise, third party plugins that use the template_redirect action might not be able to execute their own code.

This problem is known to cause problems with the following third party products:

  • Yoast SEO, by preventing its header meta tags.
  • CalendarizeIt!, by disabling its calendar styles and other assets.
  • The Pro theme by theme.co.

Workaround

This problem will be properly addressed in the next version of WooCommerce Views. In the meantime, this patch can be used by unzipping it and uploading the file it contains, replacing the one with the same name, located in the plugin root directory.

Comments are closed