Skip Navigation

When using translated Content Templates for WooCommerce products, WooCommerce styling is not applied

Open

Reported for: Toolset WooCommerce Blocks 2.7.7

Symptoms

When you use a translated Content Template (separate Content Templates for each language) to display translations of WooCommerce Products on your website, and have chosen to “Add a container DIV around the post body for WooCommerce styling” on the Toolset -> WooCommerce Views Settings page, then those styles and HTML will be missing on the front-end for translated products.

Workaround

This is a compatibility issue, which exists since the creation of WooCommerce Views. Our developers will look into solving it in a future release.

For now, the only, not ideal workaround would be:

  • Do not use translated Content Templates
  • Or add the HTML manually to the translated Content Template

Another possible approach is to not load WooCommerce Wrapper DIV and add all styles manually. This can be helpful if you plan to change the styles significantly, compared to the native WooCommerce styles.

Leave
a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>