• Resolved Stardessert

    (@stardessert)


    Hi there πŸ™‚

    In the breadcrumbs is only showed the “Home”-Link but not the starting-point of the shop itself.

    I display 3 categories on http://www.stardessert.ch/angebot/shop and after one of the 3 categories got selected, all the customer sees in the breadcrumbs is “Startseite / category” and not “Startseite / Shop / category” as it should be.

    I used this Code:
    function my_woo_custom_breadcrumb_home_url() {
    return ‘http://www.stardessert.ch/angebot/shop’;
    }

    add_filter( ‘woocommerce_breadcrumb_defaults’, ‘jk_change_breadcrumb_home_text’ );
    function jk_change_breadcrumb_home_text( $defaults ) {
    // Change the breadcrumb home text from ‘Home’ to ‘Shop’
    $defaults[‘home’] = ‘Shop’;
    return $defaults;
    }

    https://wordpress.org/plugins/woocommerce/

    I’d appreciate any hint to solve it.
    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    If you set the shop page to be included in the shop base, then it will show up in the breadcrumbs: http://cld.wthms.co/17ygb/3LtwSOdF

    Thread Starter Stardessert

    (@stardessert)

    Thank you Caleb πŸ™‚

    That was a typical Error 55 (the problem sits 55cm away from the screen)… I filled in all the permalinks but did not realize, that I had to choose one of the options for the breadcrumbs. I thought that this would set the shop like that.

    Solved my problem πŸ™‚
    Michelle

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘breadcrumbs not showing starting-point "Shop"’ is closed to new replies.