Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1065414
    Gunivortus
    Participant

    After Updating my WordPress site (including Woocommerce) to the latest version, I get this notice:

    “Your theme (X) contains outdated copies of some WooCommerce template files”

    And the products display in Woocommerce has become wrong. My versions are:
    Wordpress: 4.5.3
    WooCommerce: 2.6.1
    X: 4.5.2

    Is the solution at this site OK, or is there another way without writing in php files (I hate that)?
    LINK

    #1065560
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Could you please head over to WooCommerce -> System Status and let us know the exact file names, so that we can assist you.

    Thanks!

    #1066319
    Gunivortus
    Participant

    These thee files are mentioned there under the header ‘Templates’:

    x/woocommerce/content-product.php version 2.4.0 is out of date. The core version is 2.6.1

    x/woocommerce/myaccount/form-edit-address.php version 2.1.0 is out of date. The core version is 2.6.0

    x/woocommerce/order/order-details.php version 2.4.0 is out of date. The core version is 2.6.0

    #1066384
    Rue Nel
    Moderator

    Hello There,

    Thanks for the updates! You may have been using an older copy of X. In our latest release, these are only the WooCommerce template override present in X (http://prntscr.com/bmxtks).

    x/woocommerce/cart/cart-empty.php, 
    x/woocommerce/cart/cross-sells.php, 
    x/woocommerce/loop/loop-end.php, 
    x/woocommerce/loop/loop-start.php, 
    x/woocommerce/loop/pagination.php, 
    x/woocommerce/notices/error.php, 
    x/woocommerce/notices/notice.php, 
    x/woocommerce/notices/success.php, 
    x/woocommerce/single-product/product-image.php, 
    x/woocommerce/single-product/product-thumbnails.php, 
    x/woocommerce/single-product/related.php, 
    x/woocommerce/single-product/tabs/tabs.php, 
    x/woocommerce/single-product/up-sells.php, 
    x/woocommerce/single-product-reviews.php

    You may have inherited these files from the later version. You may edit this files or even removed it.

    Hope this helps. Kindly let us know.

    #1066396
    Gunivortus
    Participant

    Thank you for the reply.
    But how can this be?
    The same system status in Woocommerce says:

    Theme: X
    Version: 4.5.2
    Author URL: http://theme.co/
    (I don’t use a child theme).

    As I updated to this version, after downloading the package, I simply overwrite the directory X at the server with the newer X from my local computer, using ftp.

    What else should I do then?

    #1066414
    Gunivortus
    Participant

    Aaaaaaaaaaaaahhhhh….

    I just deleted the whole /X/woocommerce directory at the server and then uploaded that directory from the latest version at my local computer.
    Now it is OK again.
    Obviously, older files weren’t overwritten.

    #1066491
    Lely
    Moderator

    Glad you were able to figure this out.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1065414 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>