-
-
Hi,
after updating to latest WooCommerce plugin version my featured products and shop doesn’t follow the column order. Before I had set in visual composer that 6 products get in 3 columns, now the order is messed up. Tried to change columns and product counts, but it doesn’t help. Using the newest tower version. -
Found out this on woocommerce support forum:
<p style=”margin: 0px 0px 11px; padding: 0px; font-family: sans-serif; line-height: 22px;”>If you see product on your archives shown in an incorrect number of columns, e.g. 2 instead of 3, or randomly, your theme is not 2.6 compatible.</p>
<p style=”margin: 0px 0px 11px; padding: 0px; font-family: sans-serif; line-height: 22px;”>…</p>
<p style=”margin: 0px 0px 11px; padding: 0px; font-family: sans-serif; line-height: 22px;”>Ultimately, this needs resolving by the theme author so please notify them if no updates exist.</p> -
Sorry for the code above, no idea why it shows that way. Anyway on the woocommerce support forum it’s stated that if somethings wrong with displaying columns of products it means that theme is not compatible with the latest woocommerce version – 2.6.
Update coming very soon? -
Updated Tower to 1.8.1, the problem is still there.
-
Hello,
Can i please see a link where you have this? We are making the necessary tests and will fix if needed.
Best regards!
-
-
-
Hello,
Please go to file woocommerce/content-product.php and find these lines:
if ( 0 === ( $woocommerce_loop['loop'] - 1 ) % $woocommerce_loop['columns'] || 1 === $woocommerce_loop['columns'] ) { $classes[] = 'first'; } if ( 0 === ($woocommerce_loop['loop'] ) % $woocommerce_loop['columns'] ) { $classes[] = 'last'; }
Edit them to:
$classes = array(); if ( 0 === ( $woocommerce_loop['loop'] ) % $woocommerce_loop['columns'] || 1 === $woocommerce_loop['columns'] ) { $classes[] = 'first'; } if ( 0 === ($woocommerce_loop['loop'] + 1) % $woocommerce_loop['columns'] ) { $classes[] = 'last'; }
Let us know.
Best regards!
- This reply was modified 8 years, 5 months ago by Mirela.
-
Hi, this worked only partly, some rows became normal, but some elements are out of order. It’s still messy.
-
Hello,
Sorry for the late reply.
We have tested this and it does fix the product alignment. Can you please send us your ftp credentials? So we can give a closer look to what is wrong.Best regards!
-
-
Hello,
This is a Woocommerce issue. We are working on it with the Woocommerce support. We will include the fix in the next theme update. In the mean time please use 4 column instead on 3. The issue does not happen with 4 columns.
Thank you for understanding.Best regards!
-
Problem Fixed in your website.
We will push a new Update for Tower Theme these days :)
Thanks
-
Great! Thank you guys!
Will wait for the update as well.
-
You must be logged in to reply to this topic.