Overriding Templates Problem - by Fabio Curtolo

This topic has 2 replies, 2 voices, and was last updated 8 years ago ago by Jack Richardson

  • Avatar: Fabio Curtolo
    Fabio Curtolo
    Participant
    March 7, 2016 at 17:28

    Hello,

    I have problem in my Child Theme, after installing woocommerce my WP accused an error in the core version.

    Legend / woocommerce / content-product_cat.php version 2.5.0 this outdated. The version of the core is 2.5. 2.

    I made the correction as https://docs.woothemes.com/document/template-structure/.

    Leaving the whole structure the theme loses CSS being thus:

    So I left the folder only woocommerce the file “content-product_cat.php” which apparently solved the problem.

    Consequently appeared another problem, the presentation of the product icons are gone

    Onde se eu tiver com meu tema original ativado eu não tenho esse problema, eles não desaparecem

    How can I fix this? Or am I doing wrong Overriding?

    Thank you so much,
    Fabio

    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 9, 2016 at 19:15

    Hello,

    You must never overwrite the file in wp-content/themes/legenda/woocommerce with default Woocommerce plugin files, because we edited some woocommerce templates to fit our theme design. So please reupload back previous “woocommerce” folder in the directory wp-content/themes/legenda from the theme package of the latest version.
    Regarding the outdated files notice, you shouldn’t worry about it. It won’t affect your site at all. As we edited Woocommerce files in wp-content/themes/legenda/woocommerce directory, old version may be written in those files. But, please don’t worry, as the original version is written in wp-content/plugins/woocommerce/templates directory.
    So you can hide this message or you can fix it by editing the files in wp-content/themes/legenda/woocommerce directory and just change the version to the current Woocommerce version that you’re using.

    Best regards,
    Jack Richardson.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.