• Resolved verityr

    (@verityr)


    Hi,

    I just got a notice that Woocommerce has a major update and I needed to backup all files and database before updating the plugin.

    Here’s the message I got: Your theme (Zerif Lite Child) contains outdated copies of some WooCommerce template files. These files may need updating to ensure they are compatible with the current version of WooCommerce. You can see which files are affected from the system status page. If in doubt, check with the author of the theme.

    I went to system status and apparently I have a ton of child templates that need to be updated. I don’t want to change the child theme after changing everything to my liking obviously, is there an easy way to do this? What do the pros do?

Viewing 15 replies - 1 through 15 (of 16 total)
  • Hello,

    Could you please give me more details, as which version of Zerif Lite are you using, Woocoomerce current version and what changes have you done with the child theme?

    Regards,
    Rodica

    Thread Starter verityr

    (@verityr)

    The Zerif Lite theme is version 1.8.2.3. WooCommerce version 2.4.5 and WP version is 4.3. Below is what my system status area is saying under Templates:

    Overrides (WooCommerce):
    zerif-child/woocommerce/archive-product.php,
    zerif-child/woocommerce/cart/cart-empty.php,
    zerif-child/woocommerce/cart/cart-item-data.php version 2.1.0 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/cart/cart-shipping.php,
    zerif-child/woocommerce/cart/cart-totals.php,
    zerif-child/woocommerce/cart/cart.php,
    zerif-child/woocommerce/cart/cross-sells.php,
    zerif-child/woocommerce/cart/mini-cart.php,
    zerif-child/woocommerce/cart/shipping-calculator.php,
    zerif-child/woocommerce/checkout/cart-errors.php version 1.6.4 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/checkout/form-billing.php,
    zerif-child/woocommerce/checkout/form-checkout.php,
    zerif-child/woocommerce/checkout/form-coupon.php,
    zerif-child/woocommerce/checkout/form-login.php,
    zerif-child/woocommerce/checkout/form-pay.php,
    zerif-child/woocommerce/checkout/form-shipping.php,
    zerif-child/woocommerce/checkout/payment-method.php,
    zerif-child/woocommerce/checkout/payment.php,
    zerif-child/woocommerce/checkout/review-order.php,
    zerif-child/woocommerce/checkout/thankyou.php,
    zerif-child/woocommerce/content-product.php version 1.6.4 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/content-product_cat.php version 1.6.4 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/content-single-product.php,
    zerif-child/woocommerce/content-widget-product.php,
    zerif-child/woocommerce/emails/admin-cancelled-order.php version 2.3.0 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/emails/admin-new-order.php version 2.0.0 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/emails/customer-completed-order.php version 1.6.4 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/emails/customer-invoice.php version 2.2.0 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/emails/customer-new-account.php,
    zerif-child/woocommerce/emails/customer-note.php version 1.6.4 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/emails/customer-processing-order.php version 1.6.4 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/emails/customer-reset-password.php,
    zerif-child/woocommerce/emails/email-addresses.php version 2.2.0 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/emails/email-footer.php,
    zerif-child/woocommerce/emails/email-header.php version 2.3.0 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/emails/email-order-items.php,
    zerif-child/woocommerce/emails/email-styles.php,
    zerif-child/woocommerce/emails/plain/admin-cancelled-order.php,
    zerif-child/woocommerce/emails/plain/admin-new-order.php version 2.0.0 is out of date. The core version is 2.3.0,
    zerif-child/woocommerce/emails/plain/customer-completed-order.php version 2.0.0 is out of date. The core version is 2.3.0,
    zerif-child/woocommerce/emails/plain/customer-invoice.php,
    zerif-child/woocommerce/emails/plain/customer-new-account.php,
    zerif-child/woocommerce/emails/plain/customer-note.php version 2.0.0 is out of date. The core version is 2.3.0,
    zerif-child/woocommerce/emails/plain/customer-processing-order.php version 2.2.0 is out of date. The core version is 2.3.0,
    zerif-child/woocommerce/emails/plain/customer-reset-password.php,
    zerif-child/woocommerce/emails/plain/email-addresses.php,
    zerif-child/woocommerce/emails/plain/email-order-items.php,
    zerif-child/woocommerce/global/breadcrumb.php,
    zerif-child/woocommerce/global/form-login.php,
    zerif-child/woocommerce/global/quantity-input.php,
    zerif-child/woocommerce/global/sidebar.php,
    zerif-child/woocommerce/global/wrapper-end.php,
    zerif-child/woocommerce/global/wrapper-start.php,
    zerif-child/woocommerce/loop/add-to-cart.php,
    zerif-child/woocommerce/loop/loop-end.php,
    zerif-child/woocommerce/loop/loop-start.php,
    zerif-child/woocommerce/loop/no-products-found.php,
    zerif-child/woocommerce/loop/orderby.php,
    zerif-child/woocommerce/loop/pagination.php,
    zerif-child/woocommerce/loop/price.php,
    zerif-child/woocommerce/loop/rating.php,
    zerif-child/woocommerce/loop/result-count.php,
    zerif-child/woocommerce/loop/sale-flash.php,
    zerif-child/woocommerce/myaccount/form-add-payment-method.php,
    zerif-child/woocommerce/myaccount/form-edit-account.php,
    zerif-child/woocommerce/myaccount/form-edit-address.php,
    zerif-child/woocommerce/myaccount/form-login.php,
    zerif-child/woocommerce/myaccount/form-lost-password.php,
    zerif-child/woocommerce/myaccount/my-account.php,
    zerif-child/woocommerce/myaccount/my-address.php,
    zerif-child/woocommerce/myaccount/my-downloads.php,
    zerif-child/woocommerce/myaccount/my-orders.php,
    zerif-child/woocommerce/myaccount/view-order.php,
    zerif-child/woocommerce/notices/error.php,
    zerif-child/woocommerce/notices/notice.php,
    zerif-child/woocommerce/notices/success.php,
    zerif-child/woocommerce/order/form-tracking.php,
    zerif-child/woocommerce/order/order-again.php,
    zerif-child/woocommerce/order/order-details.php version 2.3.0 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/order/tracking.php,
    zerif-child/woocommerce/product-searchform.php,
    zerif-child/woocommerce/single-product/add-to-cart/external.php,
    zerif-child/woocommerce/single-product/add-to-cart/grouped.php,
    zerif-child/woocommerce/single-product/add-to-cart/simple.php,
    zerif-child/woocommerce/single-product/add-to-cart/variable.php version 2.3.0 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/single-product/meta.php,
    zerif-child/woocommerce/single-product/price.php,
    zerif-child/woocommerce/single-product/product-attributes.php,
    zerif-child/woocommerce/single-product/product-image.php,
    zerif-child/woocommerce/single-product/product-thumbnails.php,
    zerif-child/woocommerce/single-product/rating.php,
    zerif-child/woocommerce/single-product/related.php,
    zerif-child/woocommerce/single-product/review.php,
    zerif-child/woocommerce/single-product/sale-flash.php,
    zerif-child/woocommerce/single-product/share.php,
    zerif-child/woocommerce/single-product/short-description.php,
    zerif-child/woocommerce/single-product/tabs/additional-information.php,
    zerif-child/woocommerce/single-product/tabs/description.php,
    zerif-child/woocommerce/single-product/tabs/tabs.php version 2.0.0 is out of date. The core version is 2.4.0,
    zerif-child/woocommerce/single-product/title.php,
    zerif-child/woocommerce/single-product/up-sells.php,
    zerif-child/woocommerce/single-product-reviews.php,
    zerif-child/woocommerce/single-product.php,
    zerif-child/woocommerce/taxonomy-product_cat.php,
    zerif-child/woocommerce/taxonomy-product_tag.php

    Thread Starter verityr

    (@verityr)

    Thread Starter verityr

    (@verityr)

    Hello @verityr,

    I am not able to replicate the issue on our side. What changes have you done to the child theme? It includes some override of the woocommerce part?

    Regards,
    Rodica

    @codeinwp: FYI, placing these woocommerce files in child theme folder is the official way to override default woocommerce templates

    @verityr: You have woocommerce custom files in your child theme which are based on an outdated woocommerce version. You should contact the person who created these custom files to get updated versions of them.

    Hi @ov3rfly,

    Thanks for the answer!
    Yes, I know that is the way to override templates in woocommerce. That’s why I was asking, to make sure, that he overrided templates, and let him know that he should update those files ??

    Best regards,
    Rodica

    Thread Starter verityr

    (@verityr)

    I edited them because the zerif footer background color, for some reason, was taking over the entire woocommerce cart page and you couldn’t see anything. I added a question to the zerif lite forum over a month ago to get some help with it and it never got answered so I took things into my own hands, which I don’t know php at all, but managed to figure out how to delete the footer on the cart page, which got rid of the black background.

    As for all the other files that say they’re out of date, I’ve never touched them.

    Thread Starter verityr

    (@verityr)

    When I was looking in the directory just now, I realize that someone had told me to upload the whole woocommerce folder into the child theme. Was I not supposed to do this?

    Only woocommerce files with your changes should be copied/uploaded into the child theme.

    After a major woocommerce release, get the new version of the files, apply your changes to these new files and copy/upload them into the child theme.

    Thread Starter verityr

    (@verityr)

    I’m confused now. If we edit a plugin template, they need to be copied to the child theme first? Also, I would need to upload it in the directory with the rest of the child theme templates?

    Instructions how to edit/override woocommerce plugin templates can be found here.

    If you have further questions about woocommerce, I would recommend to contact their support.

    Thread Starter verityr

    (@verityr)

    I was hoping there would be a miraculous way to do this instead of manually having to edit and fix the templates I messed with. ?? Thank you for very much for your diligent help.

    Hello, about the update of the theme Zerif Lite to 1.8.2.3 the only diference between that version with the 1.8.2.2 is 2 simple lines in the styles.css. For more informations go to the documentation of the Zerif Lite and there you can see the difference and other things you want to know

    Thread Starter verityr

    (@verityr)

    I’m using the newest version, Jessica. Unless there’s something you’re seeing that I’m not.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Woocommerce Major Update, Child Theme Has Outdated Copies’ is closed to new replies.