• Resolved alistairgd

    (@alistairgd)


    Upgrading woocommerce to 2.1 led to php errors on my installation.

    Warning: include(/home4/mqhost/public_html/91stscouts.org.uk/shop/wp-content/plugins/woocommerce/templates/shop/breadcrumb.php) [function.include]: failed to open stream: No such file or directory in /home4/mqhost/public_html/91stscouts.org.uk/shop/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 100

    It seems plugins/woocommerce/templates/shop is not included in the upgrade, or even in a new installation…?

    https://www.ads-software.com/plugins/woocommerce/

Viewing 7 replies - 16 through 22 (of 22 total)
  • Found my problem :

    woocommerce_get_template('shop/breadcrumb.php', $args);

    changed to :

    woocommerce_get_template('global/breadcrumb.php', $args);

    Good luck to all other theme developers !

    Er… wait I’m confused, it’s wc-core-functions.php you edited, right?

    @cockpitseeker: in a shell on the server, I made a “symbolic link”, like a shortcut, to “Global” so that both “Global” and “Shop” exist and point to the same thing.

    Seems to have solved this problem for me.

    Thread Starter alistairgd

    (@alistairgd)

    @ Cockpitseeker, no it is functions.php in the elegant theme folder that needs the “shop” changed to “global”. They answered my support query last night and I confirm it worked. They are updating their theme now.

    Thanks for you help up to that point though.

    And thanks to elegant themes for acting on my support request so quickly, as always.

    Hi
    I made a duplicate copy of the /template/global folder and renamed it shop, so there is both a global and shop folder with the same items in it, all seems to be working fine now

    toleanu showed the right solution:
    go to /wp-content/themes/eStore/functions.php
    at line 82 change:
    woocommerce_get_template( ‘shop/breadcrumb.php’, $args );
    in
    woocommerce_get_template( ‘global/breadcrumb.php’, $args );
    work fine

    Thanks toleanu

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘template/shop missing in 2.1 upgrade’ is closed to new replies.