In my site (I'm developing locally) I have changed the behavior of the WooCommerce single product page. The site is in English and Dutch. I removed the product summary from the product area and I show it in the sidebar. Here is the code of the sidebar:
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<div id="secondary" class="widget-area" role="complementary">
<?php if ( !is_product() )
{
}
else
{?>
<aside id="product-summary" class="product-summary-custom widget">
<?php if ( is_product() ) {?>
<h3 class="widget-title"><?php printf(__('buy this photo:')) ;?></h3>
<?php do_action( 'woocommerce_single_product_summary' );?>
</aside>
<?php }
}
dynamic_sidebar( 'sidebar-1' ); ?>
</div><!-- #secondary -->
<?php endif; ?>
The problem is that it shows only in the English site and when I change the language to Dutch it disappear. Changing back to English let it appear again. The site is translated with use of the WPML plugin.
The first screenshot is how it should looks, the second one shows the wrong result.
This strange behavior is occurring since the update of Woocommerce to 2.2.3. Updated today. Anyone an idea?
Found it! In the WPML settings the permalink settings for products was wrong. Why they were wrong after the WooCommerce update? Your guess is as good as mine.