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

WooCommerce Products page messed up after the update

    • 9 years, 6 months ago anton
      Participant

      Expired

      The products page now outputs all products in one-by-row (one long column), instead of four-by-row as it was before the update.

    • 9 years, 6 months ago anton
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 5 months ago Mirela
      Participant

      Hello,

      Please refer to this topic regarding this. We will check this up and fix if necessary.

      Best regards!

    • 9 years, 5 months ago anton
      Participant

      Expired

      Sorry, but it doesn’t seem like a WooCommerce that is referred in the other topic. The issue only appeared after the update to the Specular theme. (Woo Commerce wasn’t updated at that time).

      Furthermore: if I replace content-product.php from the previous version of the Specular theme it seems to be working fine (together with the visual glitches from the old version, which seems to be fixed in the new one). The new version screws it up to show all in one column.

      Again, after a quick inspect of the html on that page it seems that *all* products on the page have CSS class ‘first’ assigned to them (usually only first product should have it).

    • 9 years, 5 months ago Mirela
      Participant

      Hello,

      Please perform the edits in file woocommerce/content-product.php like stated in the topic i send you.
      It will fix the product order. It is a tested solution!

      Best regards!

    • 9 years, 5 months ago anton
      Participant

      Expired

      “Tested”, — seriously? :) — the lines 43-45 in the content-product.php that came with the latest update of the Specular theme are *exactly* the same as the “recommended fix” lines in the topic you sent. Here, check yourself:

       

      // Extra post classes
      $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’;
      }

    • 9 years, 5 months ago Mirela
      Participant

      Hello,

      This happened due to the latest woocommerce update. So we updated theme, including the fix for it. Supposing that you did not update theme, i gave the instructions to fix it. That is why the lines are the same.
      If you do have the latest version and still having the problem, then something else may be causing it.
      Please send us your wp credentials in a private reply. So we can give it a closer look.

      Best regards!

    • 9 years, 5 months ago anton
      Participant

      Expired

      And, I I wrote in my post:

      Sorry, but it doesn’t seem like a WooCommerce that is referred in the other topic. The issue only appeared after the update to the Specular theme. (Woo Commerce wasn’t updated at that time).

      Furthermore: if I replace content-product.php from the previous version of the Specular theme it seems to be working fine…

      Credentials are following in the next post

       

    • 9 years, 5 months ago anton
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 5 months ago anton
      Participant

      Expired

      This reply has been marked as private.
    • 9 years, 5 months ago Ruco
      Keymaster

      Hello,

      I need admin credentilas to access the theme’s files, or you can give me your ftp account.

      These are the lines to be replaced:

      // Increase loop count
      //$woocommerce_loop['loop']++;
      
      // Extra post classes
      $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';
      }

      Make sure this line

      //$woocommerce_loop[‘loop’]++;

      is commented.

      You can edit your topics. (https://support.codeless.co/forums/reply/16795/edit/)

      Best regards!

    • 9 years, 5 months ago anton
      Participant

      Expired

      The line is commented, as shown. The issue still persists. Using that file from the previous version removes the issue (but brings back visual glitches from the previous version). This is a live production site, and I would really appreciate an update fixing this as soon as possible.

    • 9 years, 5 months ago Kris
      Participant

      Hello,
      We need your admin wp or ftp credentials to see this issue further. Send them in a private reply (make sure you check the button –>Set as private reply before sending it to protect your information). Your information is safe with us.
      Regards!

Viewing 12 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