Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Visual Composer and WooCommerce products

column ordercolumnsfeatured productsrow orderRowsshop columnsvcvisual composerwoocommerce
    • 8 years, 11 months ago Dr_MorozFrukt
      Participant

      Expired

      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.

    • 8 years, 11 months ago Dr_MorozFrukt
      Participant

      Expired

      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>

    • 8 years, 11 months ago Dr_MorozFrukt
      Participant

      Expired

      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?

    • 8 years, 11 months ago Dr_MorozFrukt
      Participant

      Expired

      Updated Tower to 1.8.1, the problem is still there.

    • 8 years, 11 months ago Mirela
      Participant

      Hello,

      Can i please see a link where you have this? We are making the necessary tests and will fix if needed.

      Best regards!

    • 8 years, 11 months ago Dr_MorozFrukt
      Participant

      Expired

      This reply has been marked as private.
    • 8 years, 11 months ago Dr_MorozFrukt
      Participant

      Expired

      This reply has been marked as private.
    • 8 years, 11 months ago Mirela
      Participant

      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, 11 months ago by Mirela.
    • 8 years, 11 months ago Dr_MorozFrukt
      Participant

      Expired

      Hi, this worked only partly, some rows became normal, but some elements are out of order. It’s still messy.

    • 8 years, 11 months ago Mirela
      Participant

      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!

    • 8 years, 11 months ago Dr_MorozFrukt
      Participant

      Expired

      This reply has been marked as private.
    • 8 years, 11 months ago Mirela
      Participant

      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!

    • 8 years, 11 months ago Ruco
      Keymaster

      Problem Fixed in your website.

      We will push a new Update for Tower Theme these days :)

      Thanks

    • 8 years, 11 months ago Dr_MorozFrukt
      Participant

      Expired

      Great! Thank you guys!
      Will wait for the update as well.

Viewing 13 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password