February 4, 2016 at 2:59 am
Hi
When I was in Pinnacle 1.5.7, I created my shop page as categories only by woocommerce definitions and I inserted some shortcodes into the editor:
[kt_box opacity="1" padding_top="10" padding_bottom="5" padding_left="20" padding_right="20" background="#ffffff"]
<h2>Produtos em destaque</h2>
[/kt_box]
[product id="47"]
[featured_products per_page="8" columns="4"]
[kt_box opacity="1" padding_top="10" padding_bottom="5" padding_left="20" padding_right="20" background="#ffffff"]
<h2>Categorias de Productos</h2>
[/kt_box]
[space size="10px"]
This kind of setup allows for a lot of flexibility.
Since I updated to 1.5.8 this is broke, I just updated to 1.5.9 and it continues to be broken.
The first part (the shortcodes) displays correctly, when it comes to display the categories, it displays a message ‘Warning: Division by zero in /Applications/XAMPP/xamppfiles/htdocs/wp07/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 237’ and ‘Warning: Division by zero in /Applications/XAMPP/xamppfiles/htdocs/wp07/wp-content/plugins/woocommerce/includes/wc-template-functions.php on line 241
class=”product-category postclass grid_item product”>’ just before each of the category images, the images are still clickable.
If I remove the shortcodes from the page everything returns to normal.
Thanks